Lukes document hitlist display

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Lukes document hitlist display

spring
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Lukes document hitlist display

Andrzej Białecki-2
[hidden email] 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Lukes document hitlist display

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

> -----Original Message-----
> From: Andrzej Bialecki [mailto:[hidden email]]
> Sent: Dienstag, 12. Februar 2008 19:13
> To: [hidden email]
> Subject: Re: Lukes document hitlist display
>
> [hidden email] 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]