|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.index.AbstractSearchRequest
public class AbstractSearchRequest
Field Summary | |
---|---|
static int |
UNDEFINED
Constant for denoting undefined value for result count. |
Constructor Summary | |
---|---|
AbstractSearchRequest(org.apache.lucene.search.Query query)
|
|
AbstractSearchRequest(org.apache.lucene.search.Query query,
List<IndexingContext> contexts)
|
Method Summary | |
---|---|
ArtifactInfoFilter |
getArtifactInfoFilter()
|
ArtifactInfoPostprocessor |
getArtifactInfoPostprocessor()
|
List<IndexingContext> |
getContexts()
|
int |
getCount()
Returns the "count" of wanted results. |
List<MatchHighlightRequest> |
getMatchHighlightRequests()
|
org.apache.lucene.search.Query |
getQuery()
|
int |
getResultHitLimit()
Deprecated. always returns -1 (no hit limit), since 4.1.0 there is no notion of hit limit |
boolean |
isHitLimited()
Deprecated. always returns false, since 4.1.0 there is no notion of hit limit |
boolean |
isLuceneExplain()
|
void |
setArtifactInfoFilter(ArtifactInfoFilter artifactInfoFilter)
|
void |
setArtifactInfoPostprocessor(ArtifactInfoPostprocessor artifactInfoPostprocessor)
|
void |
setContexts(List<IndexingContext> contexts)
|
void |
setCount(int count)
Sets the "count" of wanted results. |
void |
setLuceneExplain(boolean luceneExplain)
|
void |
setMatchHighlightRequests(List<MatchHighlightRequest> matchHighlightRequests)
|
void |
setQuery(org.apache.lucene.search.Query query)
|
void |
setResultHitLimit(int resultHitLimit)
Deprecated. does nothing, 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 |
Field Detail |
---|
public static final int UNDEFINED
Constructor Detail |
---|
public AbstractSearchRequest(org.apache.lucene.search.Query query)
public AbstractSearchRequest(org.apache.lucene.search.Query query, List<IndexingContext> contexts)
Method Detail |
---|
public org.apache.lucene.search.Query getQuery()
public void setQuery(org.apache.lucene.search.Query query)
public List<IndexingContext> getContexts()
public void setContexts(List<IndexingContext> contexts)
public int getCount()
UNDEFINED
and count
.
public void setCount(int count)
UNDEFINED
and count
.
count
- public boolean isHitLimited()
http://jira.codehaus.org/browse/MINDEXER-14
public int getResultHitLimit()
http://jira.codehaus.org/browse/MINDEXER-14
public void setResultHitLimit(int resultHitLimit)
resultHitLimit
- http://jira.codehaus.org/browse/MINDEXER-14
public ArtifactInfoFilter getArtifactInfoFilter()
public void setArtifactInfoFilter(ArtifactInfoFilter artifactInfoFilter)
public ArtifactInfoPostprocessor getArtifactInfoPostprocessor()
public void setArtifactInfoPostprocessor(ArtifactInfoPostprocessor artifactInfoPostprocessor)
public List<MatchHighlightRequest> getMatchHighlightRequests()
public void setMatchHighlightRequests(List<MatchHighlightRequest> matchHighlightRequests)
public boolean isLuceneExplain()
public void setLuceneExplain(boolean luceneExplain)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |