Hi,
I'm trying to implement Explicit semantic analysis(ESA) via Lucene.

How do I take a term TFIDF in a query into consideration when matching
documents?

For example:
Query:"a b c a d a"
Doc1:"a b a"
Doc2:"a b c"

The query should match Doc1 better than 2.
I'd like this to work without impacting performance.
I'm doing this through query boosting. Is there a better way?

Thanks,
Diaa

Reply via email to