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?
I've noticed that i've got the same issue in a normal simple query?
Le 23/02/2011 15:17, Erik Hatcher a écrit :
Try -
fq={!field f=category}<insert value, URL encoded of course, here>
You can also try surrounding with quotes, but that gets tricky and you'll need
to escape things possibly. Or you could simply backslash escape the whitespace
(and colon, etc) characters.
Erik
On Feb 23, 2011, at 08:25 , Rosa (Anuncios) wrote:
Hi,
I'm trying to reduce results from facets. (by category with my schema)
My category field is String type in my schema.xml.
The problem i've got is when the category value has space or special caracter
it doen't work?
Example:
?q=home&fq=category:Appartement ---> works fine
?q=home&fq=category:Appartement for rent --> doesn't work?
?q=home&fq=category:Appartement> Sale --> doesn't work?
I guess there is a workaround this? Sorry if it's obvious... i'm a newbie with
Solr
thanks for your help
rosa