lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-3175) simplify & add test to ensure various query "escape" functions are in sync
Date Wed, 29 Feb 2012 04:06:22 GMT
simplify & add test to ensure various query "escape" functions are in sync
--------------------------------------------------------------------------

                 Key: SOLR-3175
                 URL: https://issues.apache.org/jira/browse/SOLR-3175
             Project: Solr
          Issue Type: Improvement
            Reporter: Hoss Man


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) 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message