Interface SuggesterResult

  • All Known Implementing Classes:
    SolrSuggesterResult

    public interface SuggesterResult
    Term suggestions response object
    Since:
    5.0
    Author:
    Jamal Kaabi-Mofrad
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getNumberFound()
      Get the number of suggestions
      java.util.List<org.alfresco.util.Pair<java.lang.String,​java.lang.Integer>> getSuggestions()
      Get the list of suggestions as ("term", "weight") pairs.
    • Method Detail

      • getNumberFound

        long getNumberFound()
        Get the number of suggestions
        Returns:
        long
      • getSuggestions

        java.util.List<org.alfresco.util.Pair<java.lang.String,​java.lang.Integer>> getSuggestions()
        Get the list of suggestions as ("term", "weight") pairs. Never null.
        Returns:
        list of suggestions