Hi,

Quick one ... we have some documents that have punctuation in their indexed 
title, e.g. 

!Fast

Note the leading exclamation.

Our tests show we cannot query for !Fast and find the document.

I've just taken a look and Solr is coming back with

Invalid boolean value: !Fast

It's a valid query for a valid value. I appreciate that exclamation is a "not" 
operator. But how does one get around this scenario?

My instinct tells me that Solr indexes without the exclamation through its 
tokenisation and other filters and so perhaps I should just be stripping 
incoming queries of punctuation - particularly leading/trailing?

Cheers




Reply via email to