lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Results with and without whitspace(soccer club and soccerclub)
Date Sun, 29 May 2011 14:26:21 GMT
You might use the "replace" mapping for things like
"soccerclub => soccer club" rather than mutual synonyms

Use the analysis page from the admin console to understand what
transformations are possible with various syntaxes, then you'll be
in a place to decide the details.

Best
Erick

On Tue, May 24, 2011 at 6:01 AM, roySolr <royrutten1989@gmail.com> wrote:
> Ok, I will do it with synonyms.
>
> What does the list look like?
>
> soccerclub,soccer club
>
> The index looks like this:
>
> Manchester united soccerclub
> Chelsea soccer club
>
> I want them both in my results if i search for "soccer club" or
> "soccerclub".
> How can i configure this in schema.xml?
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Results-with-and-without-whitespace-soccer-club-and-soccerclub-tp2934742p2979577.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
View raw message