search for: solr_add_definite_queri

Displaying 1 result from an estimated 1 matches for "solr_add_definite_queri".

2014 Jul 31
1
solr_add_definite_query quotes queries
So Solr 4.0 and higher supports regular expressions in searching. However, Dovecot is quoting search queries in solr_add_definite_query (via solr_add_str_arg). This breaks regex searching. I do a sample search for emails with "merged" in their body via the query /merg.*/. If you look at the Solr logs, it is sending: ? q=body:"/merg.*/" which is converted to