Re: Solr and Encoding Issue?
Unfortunately, what that means is that your client application has to do any accent-folding before you get to Solr, or you have to write your own component that handles this. There's been some talk of making the wildcards go through some sort of analysis chain, but it hasn't been coded yet as far as I know... Best Erick On Sat, Sep 3, 2011 at 9:32 PM, deniz wrote: > thank you for your advices guys... i have tried analysis, without wildcards > by the way and it ws working smoothly ( cant check it now coz its sunday :) > ) > > so in this case it is not possible to support wildcards with accented > letters? I have tried many other words too and when i use accented letter > and a wildcard there is no match... but i need to use wildcards too. > > - > Zeki ama calismiyor... Calissa yapar... > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-and-Encoding-Issue-tp3303627p3307648.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: Solr and Encoding Issue?
thank you for your advices guys... i have tried analysis, without wildcards by the way and it ws working smoothly ( cant check it now coz its sunday :) ) so in this case it is not possible to support wildcards with accented letters? I have tried many other words too and when i use accented letter and a wildcard there is no match... but i need to use wildcards too. - Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-and-Encoding-Issue-tp3303627p3307648.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr and Encoding Issue?
Usually what's going on in this case is that wildcards aren't analyzed, so they're never going through the asciifoldingfilter. So you're looking in your index for françois* and, since the filter isn't applied, the 'ç' isn't changed to 'c'. You can infer this from tacking &debugQuery=on to your URL and looking at the parsed query near the bottom Best Erick On Fri, Sep 2, 2011 at 4:15 AM, deniz wrote: > I am trying to implement multi accented search on solr... basically i am > using asciifolderfilter to provide this feature... but i have a problem... > > http://localhost:8983/solr/select/?q=*francois*&version=2.2&start=0&rows=10&indent=on > http://localhost:8983/solr/select/?q=*francois**&version=2.2&start=0&rows=10&indent=on > http://localhost:8983/solr/select/?q=*françois*&version=2.2&start=0&rows=10&indent=on > > these three above working well and returning correct results, however > > http://localhost:8983/solr/select/?q=*françois**&version=2.2&start=0&rows=10&indent=on > > the link above returns 0 matching documents... > > anybody has any ideas on this? could it be because of encoding issue? > > - > Zeki ama calismiyor... Calissa yapar... > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-and-Encoding-Issue-tp3303627p3303627.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: Solr and Encoding Issue?
What does the Analysis say? Put all words in both field value index and query and compare them plz. Have you tried to encode it manually in the url just in case? 2011/9/2 deniz > I am trying to implement multi accented search on solr... basically i am > using asciifolderfilter to provide this feature... but i have a problem... > > > http://localhost:8983/solr/select/?q=*francois*&version=2.2&start=0&rows=10&indent=on > > http://localhost:8983/solr/select/?q=*francois**&version=2.2&start=0&rows=10&indent=on > > http://localhost:8983/solr/select/?q=*françois*&version=2.2&start=0&rows=10&indent=on > > these three above working well and returning correct results, however > > > http://localhost:8983/solr/select/?q=*françois**&version=2.2&start=0&rows=10&indent=on > > the link above returns 0 matching documents... > > anybody has any ideas on this? could it be because of encoding issue? > > ----- > Zeki ama calismiyor... Calissa yapar... > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-and-Encoding-Issue-tp3303627p3303627.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- *Alexei Martchenko* | *CEO* | Superdownloads ale...@superdownloads.com.br | ale...@martchenko.com.br | (11) 5083.1018/5080.3535/5080.3533
Solr and Encoding Issue?
I am trying to implement multi accented search on solr... basically i am using asciifolderfilter to provide this feature... but i have a problem... http://localhost:8983/solr/select/?q=*francois*&version=2.2&start=0&rows=10&indent=on http://localhost:8983/solr/select/?q=*francois**&version=2.2&start=0&rows=10&indent=on http://localhost:8983/solr/select/?q=*françois*&version=2.2&start=0&rows=10&indent=on these three above working well and returning correct results, however http://localhost:8983/solr/select/?q=*françois**&version=2.2&start=0&rows=10&indent=on the link above returns 0 matching documents... anybody has any ideas on this? could it be because of encoding issue? - Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-and-Encoding-Issue-tp3303627p3303627.html Sent from the Solr - User mailing list archive at Nabble.com.