lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukas Kahwe Smith <...@pooteeweet.org>
Subject Re: dealing with dash chars in fields when using dismax
Date Sun, 13 Jun 2010 15:00:00 GMT

On 13.06.2010, at 16:57, Erick Erickson wrote:

> Have you tried escaping the dashes? Your dismax definition
> and the output from the analysis admin page would also help.


sure .. escaping ends up being the same as removing. but i guess it would be the better approach
of course. but still is there some clean solution that doesnt mean a lot of coding work on
my end to handle dash both as a special and as a normal char.

something like doing the search twice both with the dash escaped and not escaped and then
some intelligent scoring to produce the final result set.

regards,
Lukas Kahwe Smith
mls@pooteeweet.org




Mime
View raw message