Package org.apache.maven.index
Interface SearchEngine
- All Known Implementing Classes:
DefaultSearchEngine
public interface SearchEngine
A search engine used to perform searches trough repository indexes.
- Author:
- Eugene Kuleshov, Jason van Zyl, Tamas Cservenak
-
Method Summary
Modifier and TypeMethodDescriptionforceSearchFlatPaged
(FlatSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search in all contexts, no matter if the context is searchable or notforceSearchGrouped
(GroupedSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search in all contexts, no matter if the context is searchable or notforceSearchIteratorPaged
(IteratorSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search in all contexts, no matter if the context is searchable or notsearchFlat
(Comparator<ArtifactInfo> artifactInfoComparator, Collection<IndexingContext> indexingContexts, org.apache.lucene.search.Query query) Deprecated.searchFlat
(Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext indexingContext, org.apache.lucene.search.Query query) Deprecated.searchFlatPaged
(FlatSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search only on searchable contextssearchGrouped
(GroupedSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search only on searchable contextssearchIteratorPaged
(IteratorSearchRequest request, Collection<IndexingContext> indexingContexts) Do the search only on searchable contexts
-
Method Details
-
searchFlat
@Deprecated Set<ArtifactInfo> searchFlat(Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext indexingContext, org.apache.lucene.search.Query query) throws IOException Deprecated.- Throws:
IOException
-
searchFlat
@Deprecated Set<ArtifactInfo> searchFlat(Comparator<ArtifactInfo> artifactInfoComparator, Collection<IndexingContext> indexingContexts, org.apache.lucene.search.Query query) throws IOException Deprecated.- Throws:
IOException
-
searchFlatPaged
FlatSearchResponse searchFlatPaged(FlatSearchRequest request, Collection<IndexingContext> indexingContexts) throws IOException Do the search only on searchable contexts- Throws:
IOException
-
searchIteratorPaged
IteratorSearchResponse searchIteratorPaged(IteratorSearchRequest request, Collection<IndexingContext> indexingContexts) throws IOException Do the search only on searchable contexts- Throws:
IOException
-
searchGrouped
GroupedSearchResponse searchGrouped(GroupedSearchRequest request, Collection<IndexingContext> indexingContexts) throws IOException Do the search only on searchable contexts- Throws:
IOException
-
forceSearchFlatPaged
FlatSearchResponse forceSearchFlatPaged(FlatSearchRequest request, Collection<IndexingContext> indexingContexts) throws IOException Do the search in all contexts, no matter if the context is searchable or not- Throws:
IOException
-
forceSearchIteratorPaged
IteratorSearchResponse forceSearchIteratorPaged(IteratorSearchRequest request, Collection<IndexingContext> indexingContexts) throws IOException Do the search in all contexts, no matter if the context is searchable or not- Throws:
IOException
-
forceSearchGrouped
GroupedSearchResponse forceSearchGrouped(GroupedSearchRequest request, Collection<IndexingContext> indexingContexts) throws IOException Do the search in all contexts, no matter if the context is searchable or not- Throws:
IOException
-