|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.search.Filter
org.apache.lucene.search.MultiTermQueryWrapperFilter
org.apache.lucene.search.PrefixFilter
public class PrefixFilter
A Filter that restricts search results to values that have a matching prefix in a given field.
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.search.MultiTermQueryWrapperFilter |
|---|
query |
| Constructor Summary | |
|---|---|
PrefixFilter(Term prefix)
|
|
| Method Summary | |
|---|---|
Term |
getPrefix()
|
java.lang.String |
toString()
Prints a user-readable version of this query. |
| Methods inherited from class org.apache.lucene.search.MultiTermQueryWrapperFilter |
|---|
bits, clearTotalNumberOfTerms, equals, getDocIdSet, getTotalNumberOfTerms, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PrefixFilter(Term prefix)
| Method Detail |
|---|
public Term getPrefix()
public java.lang.String toString()
toString in class MultiTermQueryWrapperFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||