Thanks Ian, If the value is not stored in index, it cannot be retrieved on search results? My confusion is, if a field will not be in search result (isStored == false), why we need such field in Document?
regards, Lin On Sat, Jan 26, 2013 at 4:37 AM, Ian Lea <ian....@gmail.com> wrote: > If you're new to lucene why are you using such an old version? Stored > means the value is stored in the index and can be retrieved later e.g. > for displaying on a search results page. Not stored means it isn't and > can't be. > > There was a similar question not long ago on this list - check the > archives. > > And read Lucene In Action. > > > -- > Ian. > > > On Fri, Jan 25, 2013 at 4:58 PM, Lin Ma <lin...@gmail.com> wrote: > > Hi guys, > > > > I am new to Lucene and for isStored method for interface Fieldable ( > > > http://lucene.apache.org/core/old_versioned_docs/versions/3_0_3/api/core/index.html > ), > > what are the logical meanings for stored and not stored? It is appreciate > > if anyone could show me an example. I searched many tutorials but not > found > > description for what means stored and what means not stored. > > > > thanks in advance, > > Lin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >