: By example doc contains 3 times the word "test", and 1 time the word
: "example", and the query was looking for both words, the score for the doc
: should be 4.
:
: But whatever I do, score is 1.
1) this is where Searcher.explain really comes in handy ... it will help
you seewhat is going on.
Sent: Thursday, April 27, 2006 2:21 PM
To: java-user@lucene.apache.org
Subject: Re: Occurence (freq) and ordering
: Upgrading from lucene 1.3 to 1.9.
: We need to order the result in order of occurrences (score of a doc = sum
of
: occurrences of all Query).
: I am just starting to read o
: Upgrading from lucene 1.3 to 1.9.
: We need to order the result in order of occurrences (score of a doc = sum of
: occurrences of all Query).
: I am just starting to read on Similarity, weights etc.
You are definitely on the right track with Similarity. What you want is a
Similarity implimen
Hi again,
Upgrading from lucene 1.3 to 1.9.
We need to order the result in order of occurrences (score of a doc = sum of
occurrences of all Query).
In lucene 1.3 we did rewrite all the Query classes (BooleanQuery,
PhraseQuery, etc..) to reach our goals, but is there an easier way to do it