That's right. For example, file is uploaded with keyword "picture" and you are searching "keyword:picture keyword:music" (music OR picture). This file will be returned by search, but your will not be able to tell if it's music or picture.
The Lucene index itself is inverted index, so all fields are searchable. Searchable means that you are able to find all document ids containing some particular term (term = field name + field value). But forward index (get field values for some particular document) is available only for stored fields. On Jan 11, 2013, at 2:41 PM, saisantoshi <saisantosh...@gmail.com> wrote: > > Not sure what does the following below mean? > >>> using Field.Store.NO the field itself is definitely searchable. You will > not be able to retrieve the field value itself > > For example, if we have a file that we upload using some keywords and if the > keyword (is of type Field.Store.NO but is analyzed) > > Does the above mean that the value (keyword) will not be retrieved from the > search result? but the file will be retrieved from the search. Please let me > know if my understanding is correct? > > Thanks, > Sai. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Field-Store-YES-vs-Field-Store-NO-tp4032374p4032419.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