[ 
https://issues.apache.org/jira/browse/SOLR-14139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-14139:
----------------------------------
    Description: 
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\" AND fieldB:two"){code}
This ticket will allow phrase queries to be entered with back ticks as follows:
{code:java}
search(collection1, q="fieldA:`hello world` AND fieldB:two") {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 back ticks will be translated to double quotes.

  was:
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 back ticks will be translated to double quotes.


> Support back tick phrase queries in Streaming 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
>            Priority: Major
>
> 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\" AND fieldB:two"){code}
> This ticket will allow phrase queries to be entered with back ticks as 
> follows:
> {code:java}
> search(collection1, q="fieldA:`hello world` AND fieldB:two") {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 back ticks will be translated to double quotes.



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

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

Reply via email to