Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19307

STARTS/ENDS WITH notification request operator is not supported

    XMLWordPrintable

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      It's currently not possible to query events in Solr with an expression containing prefix / suffix expressions. Such queries are producing this kind of output:

      WARN  o.x.n.s.i.EventSearcher        - Failed to get events from the EventStore. Reason: [EventStreamException: Unsupported operator [SPACE STARTS WITH "Dashboard"]]. Trying the legacy store.  
      ]
      

      We need to implement its support in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-sources/src/main/java/org/xwiki/notifications/sources/internal/ExpressionNodeToEventQueryConverter.java#L203

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: