lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Multiple field instances and Field.Store.NO
Date Mon, 16 Sep 2013 14:43:23 GMT
On Mon, Sep 16, 2013 at 9:52 AM, Alan Burlison <alan.burlison@gmail.com> wrote:
> On 16 September 2013 12:40, Michael McCandless
> <lucene@mikemccandless.com> wrote:
>
>> If you use Field.Store.NO for all fields for a given document then no
>> field should have been stored.  Can you boil this down to a small test
>> case?
>
> repeated calls to
>
> doc.add(new TextField("content", c, Field.Store.NO)))
>
> result in a single instance of the field showing up in Luke whereas
>
> doc.add(new TextField("content", c, Field.Store.YES)))
>
> results in multiple instances

Is Luke showing you stored fields?  If so, this makes no sense ...
Field.Store.NO (single or multiple calls) should have resulted in no
stored fields.

Mike McCandless

http://blog.mikemccandless.com

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


Mime
View raw message