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
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
@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
-
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
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]
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]
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
(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
: 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
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
10 matches
Mail list logo