You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Joel Bernstein (Jira)" <ji...@apache.org> on 2019/12/23 02:36:00 UTC

[jira] [Created] (SOLR-14139) Support back tick phrase queries in Stream Expressions

Joel Bernstein created SOLR-14139:
-------------------------------------

             Summary: Support back tick phrase queries in Stream Expressions
                 Key: SOLR-14139
                 URL: https://issues.apache.org/jira/browse/SOLR-14139
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Joel Bernstein


Currently in order to make phrase queries in Streaming Expressions you must escape the quotes as follows:
{code:java}
search(collection1, q="fieldA:\"hello world\""){code}
This ticket will allow phrase queries to be entered with back ticks as follows:
{code:java}
search(collection1, q="fieldA:`hello world`") {code}
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 they will be translated to double quotes.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org