1LucyX::Search::MockMatcUhseerr(3C)ontributed Perl DocumeLnutcaytXi:o:nSearch::MockMatcher(3)
2
3
4
6 LucyX::Search::MockMatcher - Matcher with arbitrary docs and scores.
7
9 Used for testing combining Matchers such as ANDMatcher, MockMatcher
10 allows arbitrary match criteria to be supplied, obviating the need for
11 clever index construction to cover corner cases.
12
13 MockMatcher is a testing and demonstration class; it is unsupported.
14
16 new( [labeled params] )
17 · doc_ids - A sorted array of doc_ids.
18
19 · scores - An array of scores, one for each doc_id.
20
21
22
23perl v5.28.0 2018-07-14 LucyX::Search::MockMatcher(3)