ravendb/ravendb — Issue #425: Search() Exception for certain searchTerms input
Author: ronnieoverby
Created: 2012-01-01 22:04:16+00:00
State: open

If I pass "this OR that" as the searchTerms to the Search() method, I get:

"Lucene.Net.QueryParsers.ParseException: Cannot parse ' Content:this Content:OR Content:that ...."

Having not read any official documentation, I'm not sure about when the Search() method should be used, but if it's intended to accept end user input, this could be an issue. Repro by pass an uppercase OR or || between 2 other search terms.