Easy, the hyphen is out on its own (with spaces on either side) and is probably 
getting removed from the search by the tokenizer. Check your analysis.

François

On Jul 14, 2011, at 6:05 AM, roySolr wrote:

> It looks like it's still not working.
> 
> I send this to SOLR: q=arsenal \- london
> 
> I get no results. When i look at the debugQuery i see this:
> 
> (name: arsenal | city:arsenal)~1.0 (name: \ | city:\)~1.0 (name: london |
> city: london)~1.0
> 
> 
> my requesthandler:
> 
>    <requestHandler name="dismax" class="solr.SearchHandler" default="true">
>    <lst name="defaults">
>            <str name="defType">dismax</str>
>            <str name="qf">
>               name city
>            </str>
>       </lst>
>  </requestHandler>
> 
> What is going wrong?
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/character-in-search-query-tp3168604p3168666.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to