semicolon is legacy syntax in Solr only for specifying a sort. It is not part of the actual query parser syntax, but rather parsed separately.

What version of Solr are you using? The semicolon sort support in the query string is supposed to be deprecated/removed, I believe, in the default query parser but looks like it still is checked under certain conditions.

        Erik

On Feb 18, 2009, at 9:11 AM, AHMET ARSLAN wrote:

Today I found something very interesting. When i search a word (solr; lucene) ending with a semicolon plus any character (from solr admin page), solr gives an exception (HTTP Status 400 - Missing sort order).
When I escaped semicolon (solr\;lucene) exception gone.

I checked Lucene Special Characters that are part of the query syntax. Semicolon (;) is not in the list.

I wanted to share this with you.




Reply via email to