You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by royr <ro...@blixem.nl> on 2011/04/11 12:32:32 UTC
Spellchecker with synonyms
Hello,
I have some synonyms for city names. Sometimes there are multiple names for
one city, example:.
newyork, newyork city, big apple
I search for "big apple" and get results with new york(synonym)
If somebody search for "big aple" i want a spelling suggestion like: big
apple. How can i fix that synonyms
are available for the spellchecker?
--
View this message in context: http://lucene.472066.n3.nabble.com/Spellchecker-with-synonyms-tp2806028p2806028.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Spellchecker with synonyms
Posted by royr <ro...@blixem.nl>.
Yes, it looks like this:
will work on query and index time i think.
--
View this message in context: http://lucene.472066.n3.nabble.com/Spellchecker-with-synonyms-tp2806028p2806157.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Spellchecker with synonyms
Posted by lboutros <bo...@gmail.com>.
Did you configure synonyms for your field at query time ?
Ludovic.
2011/4/11 royr [via Lucene] <ml-node+2806028-1349039134-383657@n3.nabble.com
>
> Hello,
>
> I have some synonyms for city names. Sometimes there are multiple names for
> one city, example:.
>
> newyork, newyork city, big apple
>
> I search for "big apple" and get results with new york(synonym)
> If somebody search for "big aple" i want a spelling suggestion like: big
> apple. How can i fix that synonyms
> are available for the spellchecker?
>
>
>
>
>
>
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Spellchecker-with-synonyms-tp2806028p2806028.html
> To start a new topic under Solr - User, email
> ml-node+472068-1765922688-383657@n3.nabble.com
> To unsubscribe from Solr - User, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=Ym91dHJvc2xAZ21haWwuY29tfDQ3MjA2OHw0Mzk2MDUxNjE=>.
>
>
-----
Jouve
France.
--
View this message in context: http://lucene.472066.n3.nabble.com/Spellchecker-with-synonyms-tp2806028p2806113.html
Sent from the Solr - User mailing list archive at Nabble.com.