Project

General

Profile

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

Added by Rob Nahf over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_client_r
Start date:
2013-01-02
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

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 over 11 years ago

  • Description updated (diff)
  • Assignee set to Rob Nahf
  • Category set to d1_client_r

#2 Updated by Rob Nahf over 11 years ago

  • Status changed from New to In Progress

#3 Updated by Rob Nahf over 11 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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)