|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.index.AbstractSearchResponse
public class AbstractSearchResponse
Constructor Summary | |
---|---|
AbstractSearchResponse(org.apache.lucene.search.Query query,
int totalHitsCount,
int returnedHitsCount)
|
Method Summary | |
---|---|
void |
close()
Frees any resource associated with this response. |
org.apache.lucene.search.Query |
getQuery()
|
int |
getReturnedHitsCount()
Returns the number of hits returned by this search response. |
int |
getTotalHits()
Deprecated. use getTotalHitsCount() instead. |
int |
getTotalHitsCount()
Returns the number of total hits found by this query (total number of potential hits as reported by Lucene index). |
boolean |
isHitLimitExceeded()
Deprecated. always returns false, since 4.1.0 there is no notion of hit limit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSearchResponse(org.apache.lucene.search.Query query, int totalHitsCount, int returnedHitsCount)
Method Detail |
---|
public org.apache.lucene.search.Query getQuery()
public int getTotalHits()
getTotalHitsCount()
instead.
public int getTotalHitsCount()
getReturnedHitsCount()
.
public int getReturnedHitsCount()
IteratorSearchResponse
).
public boolean isHitLimitExceeded()
http://jira.codehaus.org/browse/MINDEXER-14
public void close() throws IOException
close
in interface Closeable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |