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
 FlatSearchResponse forceSearchFlatPaged(FlatSearchRequest request, Collection<IndexingContext> indexingContexts)
          Do the search in all contexts, no matter if the context is searchable or not
 GroupedSearchResponse forceSearchGrouped(GroupedSearchRequest request, Collection<IndexingContext> indexingContexts)
          Do the search in all contexts, no matter if the context is searchable or not
 IteratorSearchResponse forceSearchIteratorPaged(IteratorSearchRequest request, Collection<IndexingContext> indexingContexts)
          Do the search in all contexts, no matter if the context is searchable or not
 Set<ArtifactInfo> searchFlat(Comparator<ArtifactInfo> artifactInfoComparator, Collection<IndexingContext> indexingContexts, org.apache.lucene.search.Query query)
          Deprecated. 
 Set<ArtifactInfo> searchFlat(Comparator<ArtifactInfo> artifactInfoComparator, IndexingContext indexingContext, org.apache.lucene.search.Query query)
          Deprecated. 
 FlatSearchResponse searchFlatPaged(FlatSearchRequest request, Collection<IndexingContext> indexingContexts)
          Do the search only on searchable contexts
 GroupedSearchResponse searchGrouped(GroupedSearchRequest request, Collection<IndexingContext> indexingContexts)
          Do the search only on searchable contexts
 IteratorSearchResponse searchIteratorPaged(IteratorSearchRequest request, Collection<IndexingContext> indexingContexts)
          Do the search only on searchable contexts
 

Method Detail

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


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.