: looking queries that I'm not quite sure how to specify in my solrconfig.xml
: file in the newSearcher section.

: 
rows=20&start=0&facet.query=attribute_id:1003278&facet.query=attribute_id:1003928&sort=merchant_count+desc&facet=true&facet.field=min_price_cad_rounded_to_tens&facet.field=manufacturer_id&facet.field=merchant_id&facet.field=has_coupon&facet.field=has_bundle&facet.field=has_sale_price&facet.field=has_promo&fq=product_is_active:true&fq=product_status_code:complete&fq=category_id:"1001143"&qt=sti_dismax_en&f.min_price_cad_rounded_to_tens.facet.limit=-1

all you have to do is put each key=val pair as a <str name="key">val</str> 

it doesn't matter what the param is, or if it's a param that has multiple 
values, just list each of them the same way...

    <listener event="firstSearcher" class="solr.QuerySenderListener">
      <arr name="queries">
        <lst> <!-- first query -->
          <str name="rows">20</str> 
          <str name="start">0</str> 
          <str name="facet.query">attribute_id:1003278</str> 
          <str name="facet.query">attribute_id:1003928</str> 
          ...
        </lst>
        <lst> <!-- second query -->
          ...


-Hoss

Reply via email to