lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Burlison <alan.burli...@gmail.com>
Subject Re: Multiple field instances and Field.Store.NO
Date Mon, 16 Sep 2013 13:52:18 GMT
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

---------------------------------------------------------------------
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