On 07/11/2013 10:59, Manuel Amoabeng wrote:
Is there are a way to aggregate the scores for logically connected ScoreDocs so that the result would be similar to the score a single document containing all matched content would have gotten?
I did something similar by just post-processing the query results, grouping by the upper-level construct and adding up all the scores for the sub-documents, then sorting by aggregated score. Crude, but gives good relevancy in the results.
-- Alan Burlison -- --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org