Double quotes should work as well.

Bill Bell
Sent from mobile


On Feb 23, 2011, at 7:17 AM, Erik Hatcher <erik.hatc...@gmail.com> 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
> 

Reply via email to