Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1366

Improve matching algorithm for variable value search

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 2.2.0
    • None
    • backend
    • None

    Description

      AT:

      • When I perform a variable value request, then I can filter for more then just variable value prefixes
      • The filtering algorithm works as follows:
        • Keep only those entries, where the provided filter value matches anything in the variable value, e.g. input: foo, value list: [foooooo, barfoobar, barfoo, bfbaroobar] -> filter result: [foooooo, barfoobar, barfoo]
        • the filtering is case insensitive, e.g. input: foo, value list: [FOO, FoO, foo, fOO, BAR] -> filter result: [FOO, FoO, foo, fOO]
        • if the input is empty, I get all entries
      • the REST-API documentation is adjusted according to possible changes in the API

      Hint:

      • I might make sense to rename the "valuePrefix" query parameter into something like "valueFilter"
      • Use an additional multi-field to apply a lowercase token filter in a text field
      • Don't forget to adjust the upgrade script, if you change the Elasticsearch data structure

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce