Task #3446
Story #3431: Should have a general search/query method in D1Client for searching the CN
build CN solr query method that does the url escaping
100%
Description
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
History
#1 Updated by Rob Nahf almost 12 years ago
- Description updated (diff)
- Assignee set to Rob Nahf
- Category set to d1_client_r
#2 Updated by Rob Nahf almost 12 years ago
- Status changed from New to In Progress
#3 Updated by Rob Nahf almost 12 years ago
- Status changed from In Progress to Closed
- translation missing: en.field_remaining_hours set to 0.0
- % Done changed from 0 to 100
completed implementation of 2 methods, one that takes a named list, of query key-value pairs, and another that takes a pre-encoded string.