org.elasticsearch.common.lucene.search
Class MatchAllDocsFilter
java.lang.Object
org.apache.lucene.search.Filter
org.elasticsearch.common.lucene.search.MatchAllDocsFilter
- All Implemented Interfaces:
- java.io.Serializable
public class MatchAllDocsFilter
- extends org.apache.lucene.search.Filter
A filter that matches on all docs.
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(java.lang.Object obj)
|
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.IndexReader reader)
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MatchAllDocsFilter
public MatchAllDocsFilter()
getDocIdSet
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
throws java.io.IOException
- Specified by:
getDocIdSet
in class org.apache.lucene.search.Filter
- Throws:
java.io.IOException
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object