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).
-
Field Summary
Fields inherited from class org.apache.maven.search.api.support.SearchResponseSupport
page, searchRequest, totalHits -
Constructor Summary
ConstructorsConstructorDescriptionIndexerCoreSearchResponseImpl(SearchRequest searchRequest, int totalHits, List<Record> page, org.apache.lucene.search.Query query, List<ArtifactInfo> artifactInfos) -
Method Summary
Modifier and TypeMethodDescriptionReturns the "raw" list ofArtifactInfos used to create this response, nevernull.org.apache.lucene.search.QuerygetQuery()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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:IndexerCoreSearchResponseReturns the Lucene query used to create this response, nevernull.- Specified by:
getQueryin interfaceIndexerCoreSearchResponse
-
getArtifactInfos
Description copied from interface:IndexerCoreSearchResponseReturns the "raw" list ofArtifactInfos used to create this response, nevernull.- Specified by:
getArtifactInfosin interfaceIndexerCoreSearchResponse
-