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

Add an option to pass Elasticsearch hint in PageProvider predicate

    XMLWordPrintable

    Details

      Description

      When defining PageProvider predicate it should be possible to use the NXQL query HINTs (NXP-16920)

      This can be done by passing the hint in the parameter

              <predicate parameter="/*+ES: INDEX(dc:title,dc:description) */ dc:title" operator="FULLTEXT">
                <field schema="advanced_search" name="fulltext_all"/>
              </predicate>
      

      But we also want an explicit hint predicate property like:

              <predicate hint="ES: INDEX(dc:title,dc:description)" parameter="dc:title" operator="FULLTEXT">
                <field schema="advanced_search" name="fulltext_all"/>
              </predicate>
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: