[
https://issues.apache.org/jira/browse/SOLR-14139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17055938#comment-17055938
]
ASF subversion and git services commented on SOLR-14139:
--------------------------------------------------------
Commit c179ab66e4facd9d342c33c6fda021f27165941a in lucene-solr's branch
refs/heads/branch_8x from Joel Bernstein
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=c179ab6 ]
SOLR-14139: Update CHANGE.txt
> Support backtick phrase queries in Streaming Expressions
> --------------------------------------------------------
>
> Key: SOLR-14139
> URL: https://issues.apache.org/jira/browse/SOLR-14139
> Project: Solr
> Issue Type: Improvement
> Reporter: Joel Bernstein
> Priority: Major
> Attachments: SOLR-14139.patch, SOLR-14139.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]