|
|||||||||
| 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)
Deprecated. Use getDocIdSet(IndexReader) instead. |
DocIdSet |
getDocIdSet(IndexReader reader)
|
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
getDocIdSet(IndexReader) instead.
bits in class Filterjava.io.IOException
public DocIdSet getDocIdSet(IndexReader reader)
throws java.io.IOException
getDocIdSet in class Filterjava.io.IOExceptionDocIdBitSetpublic 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 | ||||||||