Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1246

FTS: MatchPhraseQuery with analyzer

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • 1

    Description

      I could not make the analyzer work with MatchPhraseQuery.

      Ex:MatchPhraseQuery query = SearchQuery.matchPhrase(word).analyzer("en");

       

      It also does not work if I use a custom analyzer created via web console.

      Use Case: I am searching for "Star and Trek" but I would like to remove all stop words first. I need to use MatchPhrase in this case, because it is important that both words are matched together.

       

       

      Attachments

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

        Activity

          There are no comments yet on this issue.

          People

            daschl Michael Nitschinger
            denis.rosa Denis Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty