Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14139

Support backtick phrase queries in Streaming Expressions

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Resolved
    • None
    • 8.5
    • None
    • None

    Description

      Currently in order to make phrase queries in Streaming Expressions you must escape the quotes as follows:

      search(collection1, q="fieldA:\"hello world\" AND fieldB:two")

      This ticket will allow phrase queries to be entered with back ticks as follows:

      search(collection1, q="fieldA:`hello world` AND fieldB:two") 

      Back ticks are nice because they are infrequently searched on and people in the SQL world are used to back ticks meaning "take the literal value of this string".

      Under the covers back ticks will be translated to double quotes.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jbernste Joel Bernstein
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment