RE: Occurence (freq) and ordering

2006-05-02 Thread Chris Hostetter
: 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.

RE: Occurence (freq) and ordering

2006-05-02 Thread Philippe Deslauriers
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

Re: Occurence (freq) and ordering

2006-04-27 Thread Chris Hostetter
: 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

Occurence (freq) and ordering

2006-04-27 Thread Philippe Deslauriers (Beetext)
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