Opened 13 years ago
Closed 13 years ago
#89 closed defect (fixed)
PARSERROR on special character '-' in query
Reported by: | vronk | Owned by: | gaba |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | MDBrowser | Version: | |
Keywords: | Cc: |
Description
if '-' is used in the query (both full-text query and term in the search-clause) CQL-parser chokes.
Change History (2)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
it seems to be a CQL-parser problem and occurs only when the "-" is at the beginning of the string.
It is solved by escaping '-' as %2D since revision 1489.
Note: See
TracTickets for help on using
tickets.
also wrap with quotes when using values from the index. (terms/values -> searchClause.term)