Interface SuggesterResult

All Known Implementing Classes:
SolrSuggesterResult

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

    Modifier and Type
    Method
    Description
    long
    Get the number of suggestions
    Get the list of suggestions as ("term", "weight") pairs.
  • Method Details

    • getNumberFound

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

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