If you are using Field.Store.NO the field itself is definitely searchable. You 
will not be able to retrieve the field value itself, though. But consequences 
of using Field.Store.YES is dependent on context. If you have a lot of 
documents in index and storable field is relatively large, this could possibly 
penalty search performance.

On Jan 11, 2013, at 10:16 AM, saisantoshi <saisantosh...@gmail.com> wrote:

> I am new to lucene and am trying to understand what is the impact on the
> search in using Field.Store.NO vs Field.Store.YES. I know the earlier does
> not store the value in the index and later stores it in the index.  Would
> that mean that the one that uses Field.Store.NO is not searchable?
> 
> new Field("keyword", value, Field.Store.NO, Field.Index.ANALYZED)
> 
> vs
> 
> new Field("keyword", value, Field.Store.YES, Field.Index.ANALYZED)
> 
> Thanks,
> Sai.
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Field-Store-YES-vs-Field-Store-NO-tp4032374.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
> 

---
Denis Bazhenov <dot...@gmail.com>






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

Reply via email to