|
||||||||||
| 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.PrefixFilter
public class PrefixFilter
| Field Summary | |
|---|---|
protected Term |
prefix
|
| Constructor Summary | |
|---|---|
PrefixFilter(Term prefix)
|
|
| Method Summary | |
|---|---|
java.util.BitSet |
bits(IndexReader reader)
Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not. |
Term |
getPrefix()
|
java.lang.String |
toString()
Prints a user-readable version of this query. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Term prefix
| Constructor Detail |
|---|
public PrefixFilter(Term prefix)
| Method Detail |
|---|
public Term getPrefix()
public java.util.BitSet bits(IndexReader reader)
throws java.io.IOException
Filter
bits in class Filterjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||