|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensolaris.opengrok.search.context.QueryMatchers
public final class QueryMatchers
Utility class used to extract the terms used in a query This class will not find terms for MultiTermQuery, RangeQuery and PrefixQuery classes so the caller must pass a rewritten query (see query.rewrite) to obtain a list of expanded terms.
| Constructor Summary | |
|---|---|
QueryMatchers()
|
|
| Method Summary | |
|---|---|
LineMatcher[] |
getMatchers(org.apache.lucene.search.Query query,
java.util.Set fields)
Get the terms from a query and returs a list of DFAs which match a stream of tokens |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryMatchers()
| Method Detail |
|---|
public LineMatcher[] getMatchers(org.apache.lucene.search.Query query,
java.util.Set fields)
query -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||