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/03/30 15:44:26 UTC
Special characters index
Hello,
i have a question about SOLR and special characters. How can i search for
cafe or café and get in both situations the following results:
cafe pub humphreys
café brokecity
café fillham
cafe langer
The same for characters like -,^,ë
--
View this message in context: http://lucene.472066.n3.nabble.com/Special-characters-index-tp2753707p2753707.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Special characters index
Posted by royr <ro...@blixem.nl>.
you're right! it works, Thank you very much
--
View this message in context: http://lucene.472066.n3.nabble.com/Special-characters-index-tp2753707p2753939.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Special characters index
Posted by Markus Jelsma <ma...@openindex.io>.
Not on your result page. Stored data is not affected by analysis. With the
filter café finds both café and cafe and vice versa.
On Wednesday 30 March 2011 16:18:29 royr wrote:
> Thanks for your quick answer.
>
> I'm not sure if the ASCIIFoldingFilterFactory is what I needed. In my
> results I just want to see the special characters. If I search for Cafe I
> want café in my results and if i search for café i want café also in my
> results. The filter you send me will change the value in the index to cafe
> and also on my result page.
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Special-characters-index-tp2753707p2753
> 800.html Sent from the Solr - User mailing list archive at Nabble.com.
--
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350
Re: Special characters index
Posted by royr <ro...@blixem.nl>.
Thanks for your quick answer.
I'm not sure if the ASCIIFoldingFilterFactory is what I needed. In my
results I just want to see the special characters. If I search for Cafe I
want café in my results and if i search for café i want café also in my
results. The filter you send me will change the value in the index to cafe
and also on my result page.
--
View this message in context: http://lucene.472066.n3.nabble.com/Special-characters-index-tp2753707p2753800.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Special characters index
Posted by Markus Jelsma <ma...@openindex.io>.
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ASCIIFoldingFilterFactory
On Wednesday 30 March 2011 15:44:26 royr wrote:
> Hello,
>
> i have a question about SOLR and special characters. How can i search for
> cafe or café and get in both situations the following results:
>
> cafe pub humphreys
> café brokecity
> café fillham
> cafe langer
>
> The same for characters like -,^,ë
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Special-characters-index-tp2753707p2753
> 707.html Sent from the Solr - User mailing list archive at Nabble.com.
--
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350