Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-55479

[FTS] Ability to determine whether a hit was an exact match or a partial match

    XMLWordPrintable

Details

    • 0

    Description

      See more: https://forums.couchbase.com/t/fts-with-phrasesearch/35458


      Currently when a match query is used  -

      • We must apply analysis rules defined for the field over the search criteria.
      • The output tokens are then search for applying the match query's operator rules over it.
        • If the operator is set to AND, we look for the existence of ALL the output tokens
        • If the operator is set to OR (default), we look for the existence of ANY of the tokens
      • The result hits are ordered by score (relatively via tf-idf) but there's no way other than looking into the actual documents for a user to determine if the hit was a full match or a partial match when the operator is set to OR.

      This is a capability we want to support - which would reflect in the search response.

      The same situation is applicable when fuzziness is used as well.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            abhinav Abhi Dangeti
            abhinav Abhi Dangeti
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty