Hi,

How can I put a # sign in a query, do I need to escape it?

For example I want to query books with title that contain #

No work so far:
http://localhost:8983/solr/select?q=textTitle:"#";
http://localhost:8983/solr/select?q=textTitle:#
http://localhost:8983/solr/select?q=textTitle:"\#";

Getting
org.apache.lucene.queryParser.ParseException: Cannot parse 'textTitle: \': Lexical error at line 1, column 12. Encountered: <EOF> after : ""

and sometimes just no response.


thanks
Joel

Reply via email to