public final class QueryMatchers
extends java.lang.Object
| Constructor and Description |
|---|
QueryMatchers() |
| Modifier and Type | Method and Description |
|---|---|
LineMatcher[] |
getMatchers(org.apache.lucene.search.Query query,
java.util.Map<java.lang.String,java.lang.Boolean> fields)
Get the terms from a query and returs a list of DFAs which match
a stream of tokens
|
public LineMatcher[] getMatchers(org.apache.lucene.search.Query query, java.util.Map<java.lang.String,java.lang.Boolean> fields)
query - the query to generate matchers forfields - a map whose keys tell which fields to create matchers for,
and whose values tell if the field is case insensitive (true) or
case sensitive (false)