lucene-solr-user mailing list archives

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

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
query.

how can i achieve this kind of behavior ?






-- 
--with regards
SARAT CHANDRA

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