OK, talk of different fields threw me.

To enable a client to turn on/off a specific filter without knowing
what that filter is,
add the following parameter to the query string when you want to turn
the filter on:
fq=<!v=$filter1>

Then add a default for the filter1 param in lucene query syntax (like
+cat:electronics +inStock:true) to whatever handler you want to query
(refer to the examples in solrconfig.xml for how to do this).

-Yonik


On Thu, Feb 21, 2008 at 3:34 PM, Owens, Martin
<[EMAIL PROTECTED]> wrote:
>
>  > What field??? or what filter?
>  > I'm not really sure I still understand what you are trying to accomplish.
>  > Perhaps if you have some explicit examples of what types of things
>  > clients would send in as query parameters to Solr, and what types of
>  > lucene queries you actually want to be generated.
>
>  Oh dear a complete break down,
>
>  OK so our perl based software uses http to set a request to solr, we want 
> for our software to be able to control the query filters being used with each 
> search by modifying attributes in the http query string such as I think you 
> were suggesting. I need examples of how to impliment what you were talking 
> about.
>
>  Best Regards, Martin Owens
>

Reply via email to