Class BaseExplanationTestCase


  • public abstract class BaseExplanationTestCase
    extends LuceneTestCase
    Tests primitive queries (ie: that rewrite to themselves) to insure they match the expected set of docs, and that the score of each match is equal to the value of the scores explanation.

    The assumption is that if all of the "primitive" queries work well, then anything that rewrites to a primitive will work well also.