Interface SearchBackend

All Superinterfaces:
AutoCloseable, Closeable, SearchEngine
All Known Subinterfaces:
IndexerCoreSearchBackend, SmoSearchBackend
All Known Implementing Classes:
IndexerCoreSearchBackendImpl, SearchBackendSupport, SmoSearchBackendImpl

public interface SearchBackend extends SearchEngine, Closeable
An engine to perform search trough single repository index (backend).
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the ID of this backend, never null.
    Returns the repository ID that this backend searches for, never null.

    Methods inherited from interface java.io.Closeable

    close

    Methods inherited from interface org.apache.maven.search.SearchEngine

    search
  • Method Details

    • getBackendId

      String getBackendId()
      Returns the ID of this backend, never null.
    • getRepositoryId

      String getRepositoryId()
      Returns the repository ID that this backend searches for, never null.