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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description FlatSearchResponse
forceSearchFlatPaged(FlatSearchRequest request, java.util.Collection<IndexingContext> indexingContexts)
Do the search in all contexts, no matter if the context is searchable or notGroupedSearchResponse
forceSearchGrouped(GroupedSearchRequest request, java.util.Collection<IndexingContext> indexingContexts)
Do the search in all contexts, no matter if the context is searchable or notIteratorSearchResponse
forceSearchIteratorPaged(IteratorSearchRequest request, java.util.Collection<IndexingContext> indexingContexts)
Do the search in all contexts, no matter if the context is searchable or notjava.util.Set<ArtifactInfo>
searchFlat(java.util.Comparator<ArtifactInfo> artifactInfoComparator, java.util.Collection<IndexingContext> indexingContexts, org.apache.lucene.search.Query query)
Deprecated.java.util.Set<ArtifactInfo>
searchFlat(java.util.Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext indexingContext, org.apache.lucene.search.Query query)
Deprecated.FlatSearchResponse
searchFlatPaged(FlatSearchRequest request, java.util.Collection<IndexingContext> indexingContexts)
Do the search only on searchable contextsGroupedSearchResponse
searchGrouped(GroupedSearchRequest request, java.util.Collection<IndexingContext> indexingContexts)
Do the search only on searchable contextsIteratorSearchResponse
searchIteratorPaged(IteratorSearchRequest request, java.util.Collection<IndexingContext> indexingContexts)
Do the search only on searchable contexts
-
-
-
Method Detail
-
searchFlat
@Deprecated java.util.Set<ArtifactInfo> searchFlat(java.util.Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext indexingContext, org.apache.lucene.search.Query query) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
searchFlat
@Deprecated java.util.Set<ArtifactInfo> searchFlat(java.util.Comparator<ArtifactInfo> artifactInfoComparator, java.util.Collection<IndexingContext> indexingContexts, org.apache.lucene.search.Query query) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
searchFlatPaged
FlatSearchResponse searchFlatPaged(FlatSearchRequest request, java.util.Collection<IndexingContext> indexingContexts) throws java.io.IOException
Do the search only on searchable contexts- Throws:
java.io.IOException
-
searchIteratorPaged
IteratorSearchResponse searchIteratorPaged(IteratorSearchRequest request, java.util.Collection<IndexingContext> indexingContexts) throws java.io.IOException
Do the search only on searchable contexts- Throws:
java.io.IOException
-
searchGrouped
GroupedSearchResponse searchGrouped(GroupedSearchRequest request, java.util.Collection<IndexingContext> indexingContexts) throws java.io.IOException
Do the search only on searchable contexts- Throws:
java.io.IOException
-
forceSearchFlatPaged
FlatSearchResponse forceSearchFlatPaged(FlatSearchRequest request, java.util.Collection<IndexingContext> indexingContexts) throws java.io.IOException
Do the search in all contexts, no matter if the context is searchable or not- Throws:
java.io.IOException
-
forceSearchIteratorPaged
IteratorSearchResponse forceSearchIteratorPaged(IteratorSearchRequest request, java.util.Collection<IndexingContext> indexingContexts) throws java.io.IOException
Do the search in all contexts, no matter if the context is searchable or not- Throws:
java.io.IOException
-
forceSearchGrouped
GroupedSearchResponse forceSearchGrouped(GroupedSearchRequest request, java.util.Collection<IndexingContext> indexingContexts) throws java.io.IOException
Do the search in all contexts, no matter if the context is searchable or not- Throws:
java.io.IOException
-
-