Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30878

Add property to set max_expansion on match_phrase_prefix operator

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 10.10-HF59, 2021.17
    • Component/s: Elasticsearch
    • Release Notes Summary:
      max_expansion on match_phrase_prefix is set with the property "elastic.max_expansions".
    • Backlog priority:
      400
    • Upgrade notes:
      Hide

      Max expansions can be configured through the Configuration service with a contribution like

          <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
              <property name="elasticsearch.max_expansions">200</property>
          </extension>
      
      Show
      Max expansions can be configured through the Configuration service with a contribution like <extension target= "org.nuxeo.runtime.ConfigurationService" point= "configuration" > <property name= "elasticsearch.max_expansions" > 200 </property> </extension>
    • Sprint:
      nxsupport 15

      Description

      match_phrase_prefix query used for autocompletion can sometimes produce confusing results because it takes only 50 (default max_expansion) terms from the dictionary which may hides some results.

      Exposing a property to set a custom value for this ES parameter would help to solve customers' issues

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m