Project

General

Profile

Task #3446

Updated by Rob Nahf almost 12 years ago

since this is a high-level component, we want the method to provide the appropriate solr escaping of the query string

confirm that Solr doesn't change the set of characters needing to be escaped wrt/ Lucene

http://lucene.apache.org/core/old_versioned_docs/versions/2_9_1/queryparsersyntax.html#Escaping Special Characters

from epad:
proper encoding for Solr is an outstanding issue (Lucene-based escaping)
chars to escape: + - & | ! ( ) { } [ ] ^ " ~ * ? : \
escape special chars with: \
only query values should be escaped

Back

Add picture from clipboard (Maximum size: 14.8 MB)