Interface AutoCompleteProvider

  • All Known Subinterfaces:
    SharedResourceAutoCompleteProvider

    public interface AutoCompleteProvider
    Interface for beans that will provide suggestions for user queries.

    It is assumed that all providers are thread safe or have been configured via spring using scopes/pooling etc to be thread safe.

    • Method Detail

      • getSuggestions

        java.util.List<AutoCompleteSuggestion> getSuggestions​(QueryRequest req)
                                                       throws AttivioException
        Get a list of query auto complete suggestions for the specified term. It should be assumed that this method will be called for each end user keystroke. Performance of the method should be designed accordingly. Note: The QueryRequest object should NOT be modified by providers.
        Throws:
        AttivioException