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

[FTS] REST: Validate index definition if char_filter and token_filter is passed as an array

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • fts

    Description

      We need a validation for the index definition where custom analysers are used to see if the char_filter and token_filters are passed as arrays. Currently, it allows a string to be set for char_filter and token_filter instead of an array, and the index gets created.

      "analysis": {
      "analyzers": {
      "customAnalyzer1":

      { "type": "custom", "char_filters": "html", "tokenizer": "web", "token_filters": "to_lower" }

      }
      }

      Attachments

        For Gerrit Dashboard: MB-20311
        # Subject Branch Project Status CR V

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            mihir.kamdar Mihir Kamdar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty