You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Troy Gardner <th...@yahoo.com> on 2004/07/12 18:41:16 UTC

return scoring for multiple query terms

I'm wondering if there's a simpler approach to getting the explanation of a
multiple term query than calling explanation (which is supposedly very
expensive) e.g.

query "bad" + "apples" 


bool query
   bool query term= "bad" AND
   bool query term "apples"

where the hitlist results would be like:


doc1 (100%)
   "bad"  (90%)
   "apples" (40%)


doc2 (40%)
   "bad"  (40%)
   "apples" (100%)

except as potentially deep as the query complexity.  I don't need a full
explanation just the query term and it's score, the explanation seems to carry
more info than this.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org