Re: about isStored method

2013-01-26 Thread Andrew Gilmartin
I seems that you would benefit from reading at least one of the great books on Lucene. Lucene in Action is a good place to start. Until the, perhaps the following will be helpful Lin Ma wrote: - For stored field, it means its original information/structure is kept for search results (

Re: about isStored method

2013-01-26 Thread Lin Ma
chindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Lin Ma [mailto:lin...@gmail.com] > > Sent: Saturday, January 26, 2013 6:01 AM > > To: java-user@lucene.apache.org; ian@gma

Re: about isStored method

2013-01-25 Thread Apostolis Xekoukoulotakis
we Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Lin Ma [mailto:lin...@gmail.com] > > Sent: Saturday, January 26, 2013 6:01 AM > > To: java-user@lucene.apache.org; i

RE: about isStored method

2013-01-25 Thread Uwe Schindler
ier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Lin Ma [mailto:lin...@gmail.com] > Sent: Saturday, January 26, 2013 6:01 AM > To: java-user@lucene.apache.org; ian@gmail.com > Subject: Re: about isStored method > >

Re: about isStored method

2013-01-25 Thread Lin Ma
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 wrote: > If you're new to lucene wh

Re: about isStored method

2013-01-25 Thread Ian Lea
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

about isStored method

2013-01-25 Thread Lin Ma
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 tutorial