Global Field question (thread-safe)?

2008-11-06 Thread Glen Newton
I have a use case where I want all of my documents to have - in addition to their other fields - a single field=value. An example use is where I have multiple Lucene indexes that I search in parallel, but still need to distinguish them. Index 1: All documents have: source=a1 Index 2: All

Re: Global Field question (thread-safe)?

2008-11-06 Thread Glen Newton
Thanks! :-) 2008/11/6 Michael McCandless [EMAIL PROTECTED]: The field never changes across all docs? If so, this will work fine. Mike Glen Newton wrote: I have a use case where I want all of my documents to have - in addition to their other fields - a single field=value. An example

Re: Field Question

2008-08-25 Thread Michael McCandless
@lucene.apache.org Subject: Field Question I am new to lucene. Here is my question. The document has fields. When I add a field to the document I can specify that field is Indexed, Tokenized, etc.. So the same field can be Tokenized in one document and be not-tokenized in another document

RE: Field Question

2008-08-24 Thread DimitriD
- From: DimitriD [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2008 9:14 AM To: java-user@lucene.apache.org Subject: Field Question I am new to lucene. Here is my question. The document has fields. When I add a field to the document I can specify that field is Indexed, Tokenized

Re: RE: Field Question

2008-08-24 Thread tom
AUTOMATIC REPLY Tom Roberts is out of the office till 2nd September 2008. LUX reopens on 1st September 2008 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: RE: Field Question

2008-08-24 Thread tom
AUTOMATIC REPLY Tom Roberts is out of the office till 2nd September 2008. LUX reopens on 1st September 2008 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Field Question

2008-08-23 Thread John Griffin
Thanks Mike. I stand corrected. John G. -Original Message- From: Michael McCandless [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2008 5:40 PM To: java-user@lucene.apache.org Subject: Re: Field Question Actually, Field.NO_NORMS means Field.UN_TOKENIZED plus Field.setOmitNorms

Field Question

2008-08-22 Thread DimitriD
(IndexReader.FieldOption.INDEXED) that returns all index fields in the index. It seems like it assumes that FIELD should have the same attributes across all documents. Can anyoen explain it? -- View this message in context: http://www.nabble.com/Field-Question-tp19108787p19108787.html Sent from

RE: Field Question

2008-08-22 Thread John Griffin
: DimitriD [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2008 9:14 AM To: java-user@lucene.apache.org Subject: Field Question I am new to lucene. Here is my question. The document has fields. When I add a field to the document I can specify that field is Indexed, Tokenized, etc.. So the same field

Re: Field Question

2008-08-22 Thread Michael McCandless
or not the contents are indexed. As long as it's not Field.NO, they are. John G. -Original Message- From: DimitriD [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2008 9:14 AM To: java-user@lucene.apache.org Subject: Field Question I am new to lucene. Here is my question