org.elasticsearch.common.lucene.search
Class MatchAllDocsFilter

java.lang.Object
  extended by org.apache.lucene.search.Filter
      extended by org.elasticsearch.common.lucene.search.MatchAllDocsFilter
All Implemented Interfaces:
Serializable

public class MatchAllDocsFilter
extends org.apache.lucene.search.Filter

A filter that matches on all docs.

See Also:
Serialized Form

Constructor Summary
MatchAllDocsFilter()
           
 
Method Summary
 boolean equals(Object obj)
           
 org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MatchAllDocsFilter

public MatchAllDocsFilter()
Method Detail

getDocIdSet

public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
                                              throws IOException
Specified by:
getDocIdSet in class org.apache.lucene.search.Filter
Throws:
IOException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012. All Rights Reserved.