lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Problem with synonyms containing whitespace
Date Sat, 17 Dec 2011 22:48:25 GMT
> When testing in analyzer by using solr admin light gets
> correctly
> recognised as one of the synonims, but when searching
> forĀ  class 3 (gvw
> 10001 - 14000) analyzer can't find any synonyms.

QueryParser splits query string on white spaces before it reaches analysis phase. You can
try querying with quotes or using term or raw query parser.
q="class 3 (gvw 10001 - 14000)"
q={!term f=fieldName}class 3 (gvw 10001 - 14000)

Mime
View raw message