Hi,
I only use BooleanQuery with TermQuery clauses.
I found following methods that seems relevant to my need.
There is a variable named maxOverlap, which is the total number of terms in the
query.
BooleanScorer's constructor has maxCoord variable
Similarity#coord
BooleanWeight#coord
How can I
Hi,
How can I access length of the query (number of words in the query) inside a
SimilarityBase implementation?
P.S. I am implementing multi-aspect TF [1] for an experimental study.
So it does not have to be fast/optimized as production code.
[1] http://dl.acm.org/citation.cfm?doid=2484028.2484