Hi
I have faced the same problem and I solved it by adding double quotes
dhanesh s.r
On 2/23/2011 7:47 PM, Erik Hatcher wrote:
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