https://wiki.apache.org/lucene-java/LuceneFAQ#Can_I_filter_by_score.3F
https://wiki.apache.org/lucene-java/ScoresAsPercentages

The fundemental problem of attempting to compare scores for different 
searches is the same in your situation as in the goal of trying to 
"normalize" scores to a fixed range, But the subtle difference between 
your question and that FAQ is that if i'm understanding your goal 
correctly, you could modify your similarity to eliminate the "queryNorm" 
factor and get a ... i'm not sure what to call it ... "more raw" score 
back, which *might* be suitable for your purposes. (i'm not sure)


: Is there anything in Lucene 4.0 that provides 'absolute' scoring so that i can
: compare the scoring results of different searches ?
: 
: To explain if I do a search for two values fred OR jane and there is a
: document that contains both those words exaclty then that document will score
: 100, documents that contain only one word will score less. But if there is no
: document contain both words but there is one document that contains fred then
: that document will score 100 even though it didnt match jane at all. (Im
: clearly ignoring all the complexties but you get my gist)
: 
: So all documents returned from a search are scored relative to each other, but
: I cannot perform a second score and sensibly compare the score of the first
: search with the second whihc is what I would like to do.
: 
: Why would I want to this ?
: 
: In a music database  have an index of releases and a separate indexes of
: artists, usually the user just searches artists or releases. But sometimes
: they want to search all and interleave the results from the two indexes, but
: its not sensible for me to interleave them based on their score at the moment.
: 
: thanks Paul
: 
: 
: 
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
: For additional commands, e-mail: java-user-h...@lucene.apache.org
: 
: 

-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to