I forgot to mention that I never have to search in the old_name alone.
I either search in current_name alone or current_name OR old_name.
Realizing that, lead me to the simple solution of duplicating whatever
I put into a current field into the old fields too. So the info in the
fields with old_ p
On 11 Nov 2005, at 20:32, Yonik Seeley wrote:
It doesn't seem like a custom Similarity would work. Always returning
1.0 for coord would still rank a doc higher if both current_name and
old_name matched.
Oops - you're right. I was merely considering the coordination
factor as the issue, ne
It doesn't seem like a custom Similarity would work. Always returning
1.0 for coord would still rank a doc higher if both current_name and
old_name matched.
-Yonik
Now hiring -- http://forms.cnet.com/slink?231706
On 11/11/05, Erik Hatcher <[EMAIL PROTECTED]> wrote:
> I believe if you create a cu
On 11 Nov 2005, at 13:27, Lasse L wrote:
I am indexing persons that has the usual fields name, address etc.
I need to keep track of which name and addresses are active now and
which ones are old.
I do that by having a two sets of fields e.g.: current_name and
old_name
When I search for a per
: There is no way around using a separate Scorer for this.
: You can make (could have made) the scorer by starting from
: DisjunctionSumScorer.java here:
:
http://svn.apache.org/viewcvs.cgi/lucene/java/trunk/src/java/org/apache/lucene/search/
: and rewrite it into a DisjunctionMaxScorer.
Coincid
Lasse,
On Friday 11 November 2005 19:27, Lasse L wrote:
> I am indexing persons that has the usual fields name, address etc.
> I need to keep track of which name and addresses are active now and
> which ones are old.
> I do that by having a two sets of fields e.g.: current_name and old_name
>
> W
I am indexing persons that has the usual fields name, address etc.
I need to keep track of which name and addresses are active now and
which ones are old.
I do that by having a two sets of fields e.g.: current_name and old_name
When I search for a person and I search in just the current fields
ran