Lines Matching refs:matchers
50 private List<LineMatcher> matchers;
56 * @param query the query to generate matchers for
57 * @param fields a map whose keys tell which fields to create matchers for,
65 matchers = new ArrayList<LineMatcher>();
69 matchers.add(0, new TokenSetMatcher(caseSensitiveTerms, false));
72 matchers.add(0, new TokenSetMatcher(caseInsensitiveTerms, true));
74 if (matchers.isEmpty()) {
77 LineMatcher[] m = matchers.toArray(new LineMatcher[matchers.size()]);
112 matchers.add(new PhraseMatcher(termsArray, caseInsensitive));
131 matchers.add(
139 matchers.add(