質問


I am new to lucene (using lucene jar with a java university project) and I wanted to know,
Does lucene supply out of the box mean average precision?
Assuming it does the indexing and do supply some other functionalities (which are sadly
poorley documented...).
Any help will be appreciated.


Just to be clear -
It is for a university project BUT I am allowed to use ANY functionality lucene
supplys...

役に立ちましたか?

解決

You do have org.apache.lucene.benchmark.quality.QualityStats.getAvp() to get average precision.

This returns the Average precision for a single query when running a quality benchmark.

Getting the mean from the set of query should be fairly easy from this point.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top