Interface SearchEngine

  • All Known Implementing Classes:
    DefaultSearchEngine

    public interface SearchEngine
    A search engine used to perform searches trough repository indexes.
    • 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
      • 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