stocki wrote:
Heeeello again ;)
i get these Error message when is searching for this : hallo !
hhtp request: select/?q=hallo+!&version=2.2&start=0&rows=10&indent=on
SCHWERWIEGEND: org.apache.solr.common.SolrException:
org.apache.lucene.queryParser.ParseException: Cannot parse 'tom !':
Encountered "<EOF>" at line 1, column 5.
Was expecting one of:
"(" ...
"*" ...
<QUOTED> ...
<TERM> ...
<PREFIXTERM> ...
<WILDTERM> ...
"[" ...
"{" ...
<NUMBER> ...
<TERM> ...
"*" ...
....
how can i exclude these patterns ? --> " ! , . : - !"ยง$%&/()=? " during my
index and search requests ?
Can you try to place a back-slash before exclamation mark?
http://localhost:8983/solr/select?q=hallo+\!
Koji
--
http://www.rondhuit.com/en/