I'm using SolrNet and when I pass a query that has a colon in it, I receive this error:
Apache Tomcat/6.0.32 - Error report
The request sent by the client was syntactically incorrect (null).
The code sample looks like this:
var results = SolrOps.Query(request.Query, new QueryOptions
{
SpellCheck = new SolrNet.Commands.Parameters.SpellCheckingParameters
{
Collate = true,
Build = true,
Query = "test:"
}
});
Am I required to strip the colon manually, or is there some option I can set (either in SOLR or SOLRNet) to fix this?