Hi,

The examples that I've found in the solrconfig.xml file and on this site are
fairly basic for pre-warming specific queries. I have some rather complex
looking queries that I'm not quite sure how to specify in my solrconfig.xml
file in the newSearcher section.

Here's an example of 3 queries that I'd like to pre-warm. The category ids
will change with each query (there are 977 different category_ids):

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

rows=0&start=0&sort=merchant_count+desc&f.attribute_id_decimal_value_pair.facet.limit=-1&facet=true&facet.field=attribute_id_decimal_value_pair&fq=product_is_active:true&fq=product_status_code:complete&fq=category_id:"1001143"&qt=sti_dismax_en&f.attribute_id_decimal_value_pair.facet.prefix=1003278

rows=0&start=0&sort=merchant_count+desc&f.attribute_id_value_en_pair.facet.prefix=1003928&facet=true&f.attribute_id_value_en_pair.facet.limit=-1&facet.field=attribute_id_value_en_pair&fq=product_is_active:true&fq=product_status_code:complete&fq=category_id:"1001143"&qt=sti_dismax_en


I'm not sure if it's necessary to have all those parameters in my query for
pre-warming, but those are just the queries I see in my catalina.out file
when the user clicks on a specific category. I'd like to pre-warm the first
page of results from all of my categories.

Thanks,

Brendan



-- 
View this message in context: 
http://www.nabble.com/Syntax-for-newSearcher-query-tf4604487.html#a13147569
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to