I've got it, the problem was from php-solr-client... for some reason the php urlencode function does not work in this script? So the accent are not converted.

Thanks anyway

Le 23/02/2011 16:11, Erik Hatcher a écrit :
On Feb 23, 2011, at 10:06 , Rosa (Anuncios) wrote:

Thanks Erik,

this works well.

the only thing, but i'm not sure is comes from there is with the accents:

q=memoire+sd&fq={!field f=category}Electronique+>+Cartes+mémoires

any tricks for that?
Hard to say what the problem is.  Maybe it needs to be URL encoded?  Maybe your 
container isn't accepting those characters successfully?  (see the Tomcat and 
Jetty pages on the Solr wiki for details).  Maybe that's not quite how you 
indexed the string?

What's the problem exactly?

Try moving it to a solo q parameter and doing&debugQuery=true:

   q={!field f=category}Electronique+>+Cartes+mémoires

and see what it parses to.

        Erik



Reply via email to