Class IndexerCoreSearchResponseImpl
java.lang.Object
org.apache.maven.search.api.support.SearchResponseSupport
org.apache.maven.search.backend.indexer.internal.IndexerCoreSearchResponseImpl
- All Implemented Interfaces:
SearchResponse
,IndexerCoreSearchResponse
public class IndexerCoreSearchResponseImpl
extends SearchResponseSupport
implements IndexerCoreSearchResponse
An engine to perform search trough single repository index (endpoint).
-
Constructor Summary
ConstructorDescriptionIndexerCoreSearchResponseImpl
(SearchRequest searchRequest, int totalHits, List<Record> page, org.apache.lucene.search.Query query, List<ArtifactInfo> artifactInfos) -
Method Summary
Modifier and TypeMethodDescriptionReturns the "raw" list ofArtifactInfo
s used to create this response, nevernull
.org.apache.lucene.search.Query
getQuery()
Returns the Lucene query used to create this response, nevernull
.Methods inherited from class org.apache.maven.search.api.support.SearchResponseSupport
getCurrentHits, getPage, getSearchRequest, getTotalHits, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.maven.search.api.SearchResponse
getCurrentHits, getPage, getSearchRequest, getTotalHits
-
Constructor Details
-
IndexerCoreSearchResponseImpl
public IndexerCoreSearchResponseImpl(SearchRequest searchRequest, int totalHits, List<Record> page, org.apache.lucene.search.Query query, List<ArtifactInfo> artifactInfos)
-
-
Method Details
-
getQuery
public org.apache.lucene.search.Query getQuery()Description copied from interface:IndexerCoreSearchResponse
Returns the Lucene query used to create this response, nevernull
.- Specified by:
getQuery
in interfaceIndexerCoreSearchResponse
-
getArtifactInfos
Description copied from interface:IndexerCoreSearchResponse
Returns the "raw" list ofArtifactInfo
s used to create this response, nevernull
.- Specified by:
getArtifactInfos
in interfaceIndexerCoreSearchResponse
-