Hi Erick,
Why not combine the indexes? That would be the lucene way...
I combined them by joining tables but it gets very very large and ResaltSet
failed to retrieve the fields!!!
On 3/26/07, Erick Erickson [EMAIL PROTECTED] wrote:
The short form is no. Lucene is emphatically NOT a
Steven,
what this means:
Each index added must have the same number of documents, but typically each
contains different fields. Each document contains the union of the fields of
all documents with the same document number. When searching, matches for a
query term are from the first index added
Mohammad Norouzi wrote:
Steven,
what this means:
Each index added must have the same number of documents, but
typically each contains different fields. Each document contains the
union of the fields of all documents with the same document number.
When searching, matches for a query term are
sorry I cant comprehend, so why we should use two separate index? we can
merge it in one index file?
On 3/27/07, Steven Rowe [EMAIL PROTECTED] wrote:
Mohammad Norouzi wrote:
Steven,
what this means:
Each index added must have the same number of documents, but
typically each contains
what do you mean by applying the result to the second one?
On 3/26/07, Mohammad Norouzi [EMAIL PROTECTED] wrote:
hi
I have two separated index but there are some fields that are common
between
them. now I want to search from one index and then apply the result to the
second one. what solution
I mean when I get result from the first index, find the common records from
the second index depending on first result.
something like relation between two database tables, relation by primary key
index1:
id name somefield1
1 jack value1
2
Hi Mohammad,
Have you looked at MultiSearcher?
http://lucene.apache.org/java/docs/api/org/apache/lucene/search/MultiSearcher.html
Section 5.6 of Lucene in Action covers its use.
Steve
Mohammad Norouzi wrote:
hi
I have two separated index but there are some fields that are common
between
Oops, sorry for the confusion, I was thinking of ParallelReader, first
available in Lucene-Java release 1.9:
http://lucene.apache.org/java/docs/api/org/apache/lucene/index/ParallelReader.html
-
An IndexReader which reads multiple, parallel indexes. Each index added
must have the same number
hi
I have two separated index but there are some fields that are common between
them. now I want to search from one index and then apply the result to the
second one. what solution do you suggest?
what happens on fields? I mean the first document has some fields that are
not present in the second