Greetings,
I have a question regarding the script-expert-scoring plugin example.
Is there a way to get the total number of hits in this part of the code:
@Override
public ScoreScript newInstance(LeafReaderContext context)
throws IOException {
PostingsEnum postings = context.reader().postings( new Term(field, term));
Thank you