Re: combine query score with external score

2010-02-01 Thread Ian Lea
Have you considered the function query stuff? oal.search.function.CustomScoreQuery and friends. If you provide your own CustomScoreQuery implementation you can do scoring however you like. -- Ian. On Mon, Feb 1, 2010 at 7:08 AM, Dennis Hendriksen wrote: > Hi Steve, > > Thank you for your sugg

RE: combine query score with external score

2010-01-31 Thread Dennis Hendriksen
Hi Steve, Thank you for your suggestions. Payloads might indeed help me to overcome the precision loss problem that I am experiencing right now. I don't think it will help me with the combining of Lucene scores with external scores however. Is there anyone who has a suggestion how to deal with th

RE: combine query score with external score

2010-01-28 Thread Steven A Rowe
Hi Dennis, You should check out payloads (arbitrary per-index-term byte[] arrays), which can be used to encode values which are then incorporated into documents' scores, by overriding Similarity.scorePayload():

combine query score with external score

2010-01-28 Thread Dennis Hendriksen
Hi, I'm struggling to create a performant query in Lucene 3.0.0 in which I want to combine 'regular' scoring with scores derived from external sources. For each document a fixed set of scores is calculated in the range [0.0, 1.0>. These scores represent the confidences that a document falls into