do you mean get tf of the hited documents when doing search?
it's a difficult problem because only TermScorer has TermDocs and using tf
in score() function.
but this we can't know whether these doc is selected because we use a
priorityQueue in TopScoreDocCollector
public void collect(int doc) th
Hi,
Merry Christmas!!
In case of Boolean query like 'sql AND server' .
I am using parser to get correct document containing both sql and server.
Inside for loop in below code I get correct documented and to get frequency I
need to sum frequency of 'sql' and 'server' individually with the hel