Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Lukes document hitlist display

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


spring at gmx

Feb 12, 2008, 10:01 AM

Post #1 of 3 (238 views)
Permalink
Lukes document hitlist display

Hi,

using Luke 0.7.1.

The document hitlist has a column header ITSVop0LBC.

When I add a field like this:

new Field("CONTENT", contentReader, TermVector.WITH_OFFSETS)

Luke shows only "----------". Why?

Shouldn't it be "IT-Vo-----"?

Thank you


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-user-help[at]lucene.apache.org


ab at getopt

Feb 12, 2008, 10:13 AM

Post #2 of 3 (213 views)
Permalink
Re: Lukes document hitlist display [In reply to]

spring[at]gmx.eu wrote:
> Hi,
>
> using Luke 0.7.1.
>
> The document hitlist has a column header ITSVop0LBC.
>
> When I add a field like this:
>
> new Field("CONTENT", contentReader, TermVector.WITH_OFFSETS)
>
> Luke shows only "----------". Why?
>
> Shouldn't it be "IT-Vo-----"?

It should, but this information is not available ... Luke populates this
screen using Document.getFields(). If a field is unstored then it's not
returned in this list, so it's not possible to get its flags.

--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-user-help[at]lucene.apache.org


spring at gmx

Feb 12, 2008, 10:23 AM

Post #3 of 3 (215 views)
Permalink
RE: Lukes document hitlist display [In reply to]

OK, understood.
Maybe a little hint in the legend, like "Only for stored fields".

> -----Original Message-----
> From: Andrzej Bialecki [mailto:ab[at]getopt.org]
> Sent: Dienstag, 12. Februar 2008 19:13
> To: java-user[at]lucene.apache.org
> Subject: Re: Lukes document hitlist display
>
> spring[at]gmx.eu wrote:
> > Hi,
> >
> > using Luke 0.7.1.
> >
> > The document hitlist has a column header ITSVop0LBC.
> >
> > When I add a field like this:
> >
> > new Field("CONTENT", contentReader, TermVector.WITH_OFFSETS)
> >
> > Luke shows only "----------". Why?
> >
> > Shouldn't it be "IT-Vo-----"?
>
> It should, but this information is not available ... Luke
> populates this
> screen using Document.getFields(). If a field is unstored
> then it's not
> returned in this list, so it's not possible to get its flags.
>
> --
> Best regards,
> Andrzej Bialecki <><
> ___. ___ ___ ___ _ _ __________________________________
> [__ || __|__/|__||\/| Information Retrieval, Semantic Web
> ___|||__|| \| || | Embedded Unix, System Integration
> http://www.sigram.com Contact: info at sigram dot com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org
> For additional commands, e-mail: java-user-help[at]lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-user-help[at]lucene.apache.org

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.