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

Support backtick phrase queries in Streaming Expressions

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: None
    • Labels:
      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

            People

            • Assignee:
              Unassigned
              Reporter:
              jbernste Joel Bernstein

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment