Re: newbie seeking explanation of semantics of "Field" class

2009-02-18 Thread Otis Gospodnetic
lr - Nutch From: "rolaren...@earthlink.net" To: java-user@lucene.apache.org Sent: Thursday, February 19, 2009 10:40:52 AM Subject: Re: newbie seeking explanation of semantics of "Field" class Thanks to Erick, Matthew, and Uwe -- that does help, a lot. E.g., one bit of

Re: newbie seeking explanation of semantics of "Field" class

2009-02-18 Thread rolarenfan
Thanks to Erick, Matthew, and Uwe -- that does help, a lot. E.g., one bit of code I had (mostly copied) now makes more sense: // add this field, to allow retrieving the full-text: myDocument.add(new Field("contents", theFullDocumetText, Field.Store.COMPRESS, Field.Index.NO)); // add this fiel

Re: newbie seeking explanation of semantics of "Field" class

2009-02-17 Thread Erick Erickson
This confused me on my first encounter, but it all makes sense after a while The first thing to understand is that Store and Index are orthogonal.That is, when you index a field that data is placed in the inverted index and is searchable, whether or not you store it. But it is not retrievable

RE: newbie seeking explanation of semantics of "Field" class

2009-02-17 Thread Uwe Schindler
Hi Paul, > I have copied some code and it is working for me, but I am a little > uncertain how to decide what value of Field.Index and Field.Store to > choose in order to get the behavior I'd like. If I read the javadocs, and > decide to ignore all the "expert" items, it looks like this: > > Fiel

Re: newbie seeking explanation of semantics of "Field" class

2009-02-17 Thread Matthew Hall
Comments inline: rolaren...@earthlink.net wrote: R2.4 I have been looking through the soon-to-be-superseded (by its 2nd ed.) book "Lucene In Action" (hope it's ok on this newsgroup to say I like that book); also at these two tutorials: http://darksleep.com/lucene/ and http://www.informit.com/ar

newbie seeking explanation of semantics of "Field" class

2009-02-17 Thread rolarenfan
R2.4 I have been looking through the soon-to-be-superseded (by its 2nd ed.) book "Lucene In Action" (hope it's ok on this newsgroup to say I like that book); also at these two tutorials: http://darksleep.com/lucene/ and http://www.informit.com/articles/article.aspx?p=461633&seqNum=3 and also a