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

Have a similar behavior on full text when query engine is Elasticsearch

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.3
    • Component/s: Elasticsearch

      Description

      The fulltext search must behave like NXQL.

      This is not the case for field declared as fulltext on the index contribution the "=" NXQL operator is translated into an elasticsearch match AND operator

      The "=" NXQL must apply to raw field. The ecm:fulltext.dc:title can use the Elasticsearch match operator.

      Also the "ecm:fulltext" field match to "_all" field which contains all the fields which is different from the NXQL version that contains only few explicit fields.

      We may extend the predicate to set kind of query type to use so we can use the simple_query_string or query_string syntax to query some field.

      Note that the "LIKE' operator is properly implemented using matchPhrasePrefix when possible or regex if there are multiple '*' sign.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified