lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sarat chandra <>
Subject Conditional based Filters on SolrConfig.xml
Date Fri, 08 Dec 2017 11:07:00 GMT

Currently we have a request handler contains appends option like below

<lst name="appends">
  <str name="fq">inStock:true</str></lst>

Now i want to append this filter to query on conditional based.
If my request query contains a flag or if the flag is true, i need to
append the above filter to query, otherwise the filter should not append to

how can i achieve this kind of behavior ?

--with regards

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message