Interface SearchQueryRow

  • All Known Implementing Classes:

    public interface SearchQueryRow
    An FTS result row (or hit).
    Simon Baslé, Michael Nitschinger
    • Method Detail

      • index

        String index()
        The name of the FTS pindex that gave this result.
      • id

        String id()
        The id of the matching document.
      • score

        double score()
        The score of this hit.
      • fragments

        Map<String,​List<String>> fragments()
        The fragments for each field that was requested as highlighted (as defined in the SearchParams). A fragment is an extract of the field's value where the matching terms occur. Matching terms are surrounded by a <match> tag.
        the fragments as a Map. Keys are the fields.
      • fields

        Map<String,​String> fields()
        The value of each requested field (as defined in the SearchQuery.
        the fields values as a Map. Keys are the fields.