On Dec 29, 2009, at 8:59 AM, zoku wrote:
Hi there!
Is it possible, to limit the Solr Queries to predefined values e.g.:
If the User enters "/select?q=anyword&fq=anyfilter&rows=13" then the
filter
and rows arguments are ignored an overwritten by the predefined values
"specialfilter" and "6".
Yes, you can set up the request handler mapping with an
"invariant" (instead of "defaults") section with those parameters
specified in solrconfig.xml.
However, with fq, you may want to put that in an "appends" section
instead, so that other filters can be specified from the client as well.
Erik