Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
We have three query syntax escape related functions (that i know) of that can't be refactored...
- QueryParser.escape
- canonical
- ClientUtils.escapeQueryChars
- part of solrj, doesn't depend directly on QueryParser so that Solr clients on't need the query parser jar locally
- SolrPluginUtils.partialEscape
- designed to be a negative subset of the full set (ie: all chars except +/-/")
...we should figure out a way to assert in our tests that these are all in agreement (or at least as much as they are ment to be)