- enable DumpSearchQueryTemplate so you can easily check the contents of your query
- enter a CCL search of ti,phr:batman
- confirm the query gets processed as just ti:batman
Hi Andrew, have you tried with more than one word?
I just realized this was filed for Elasticsearch.
For Zebra, it seems all good:
'query_cgi' => 'q=ccl=ti%2Cphr%3Astreet',
'querystring' => 'ti,phr:street',
'search_query' => '(rk=( ti,phr="street")) ',
I think for Elasticsearch you are correct, it doesn't look like phrase is always used. It appears to work when Title, phrase from advanced search is used, but not when you enter the ccl = is ccl understood by Elasticsearch at all?
Oh, and I'm sorry I completely missed your earlier question. Yes, CCL works in Elastic broadly.
This isn't a huge deal, since Elastic lets you use quotation marks. So ti:"Batman Returns" does that ti,phr:Batman Returns fails to do. But it'd still be good to maintain some continuity for longtime Zebra users.
781 This is similar to L<_convert_index_strings>, however it'll search out the
782 things to change within the string. So it can handle strings such as
783 C<(su:foo) AND (su:bar)>, converting the C<su> appropriately.
785 If there is something of the form "su,complete-subfield" or something, the
786 second part is stripped off as we can't yet handle that. Making it work
787 will have to wait for a real query parser.