lucene - Solr Query not parsing forward slash - Stack Overflow
I just came across the same problem, and after some experimentation found that if you have a forward-slash in the field name, you must escape it with a backslash in the Solr query (but note that you do not have to do this in the field list parameter, so a search looking for /my/field/name
containing my_value is entered in the "q" field as:
\/my\/field\/name:my_value
I haven't tried the sort field, but try this and let us know :)
Read full article from lucene - Solr Query not parsing forward slash - Stack Overflow
No comments:
Post a Comment