Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. => Load ProductLoader::Modules::Products
  2. Sphinx @composite_idx region_id_1 rubric_l3_id_10055, {:sphinx_select=>"*,FLOOR(price * standard_currency_rate * POW(10, round_precision - 10) + 0.5) / POW(10, round_precision - 10) AS converted_price,FLOOR(price_max * standard_currency_rate * POW(10, round_precision - 10) + 0.5) / POW(10, round_precision - 10) AS converted_price_max,IF((converted_price >= 0.0 AND converted_price <= 15000.0) OR (converted_price_max >= 0.0 AND converted_price_max <= 15000.0), 1, 0) as price_in_range", :with=>{:rubric_l3_id=>10055, :regions=>1, :state=>[1, 2, 3, 5], :packet=>[0, 1, 2, 3, 4, 5, 8, 10, 6, 11, 12, 13, 14], :public_state=>1, :is_company_public=>1, :has_price=>1, :price_in_range=>1}, :without=>{}, :conditions=>{:rubrics_idx=>"rubric_l3_id_10055", :regions_idx=>"region_id_1"}, :match_mode=>:extended2, :rank_mode=>:none, :page=>1, :per_page=>50, :cut_off=>11, :ids_only=>true, :classes=>["Apress::Products::Product"]}
  3. Sphinx Query (4.6ms) @composite_idx region_id_1 rubric_l3_id_10055
  4. Sphinx Found 11 results
  5. => Load ProductsLoaders::PremiumProducts
  6. Sphinx @composite_idx region_id_1 rubric_l3_id_10055, {:sphinx_select=>"*,FLOOR(price * standard_currency_rate * POW(10, round_precision - 10) + 0.5) / POW(10, round_precision - 10) AS converted_price,FLOOR(price_max * standard_currency_rate * POW(10, round_precision - 10) + 0.5) / POW(10, round_precision - 10) AS converted_price_max,IF((converted_price >= 0.0 AND converted_price <= 15000.0) OR (converted_price_max >= 0.0 AND converted_price_max <= 15000.0), 1, 0) as price_in_range,INTEGER(regional_packet_sort.1) + IF(IN(geo_regions, 1), 10, 0) AS region_packet_sort,((actualized_at > 1568272002) * 2 + cos(sint(sphinx_internal_id mod 62)) + 1) as random_actual,IN(geo_regions, 1) AS boosted_region", :with=>{:rubric_l3_id=>10055, :regions=>1, :state=>[1, 2, 3, 5], :packet=>[0, 1, 2, 3, 4, 5, 8, 10, 6, 11, 12, 13, 14], :public_state=>1, :is_company_public=>1, :has_price=>1, :price_in_range=>1}, :without=>{}, :conditions=>{:rubrics_idx=>"rubric_l3_id_10055", :regions_idx=>"region_id_1"}, :match_mode=>:extended2, :rank_mode=>:none, :page=>1, :per_page=>50, :group=>:company_id, :sort_mode=>:extended, :order=>"rubric_l4_priority DESC,rate DESC,actualized_at DESC", :group_clause=>"region_packet_sort DESC,boosted_region DESC,rate DESC,random_actual DESC", :ids_only=>true, :classes=>["Apress::Products::Product"]}
  7. Sphinx Query (12.9ms) @composite_idx region_id_1 rubric_l3_id_10055
  8. Sphinx Found 66 results
  9. => Load ProductsLoaders::PremiumProducts
  10. Sphinx @composite_idx region_id_1 rubric_l3_id_10055, {:with=>{:rubric_l3_id=>10055, :regions=>1, :state=>[1, 2, 3, 5], :packet=>[0, 1, 2, 3, 4, 5, 8, 10, 6, 11, 12, 13, 14], :public_state=>1, :is_company_public=>1, :has_price=>1, :price_in_range=>1}, :without=>{}, :conditions=>{:rubrics_idx=>"rubric_l3_id_10055", :regions_idx=>"region_id_1"}, :match_mode=>:extended2, :rank_mode=>:none, :page=>1, :per_page=>1, :ids_only=>true, :classes=>["Apress::Products::Product"]}
  11. Sphinx Query (0.8ms) @composite_idx region_id_1 rubric_l3_id_10055
  12. Sphinx Found 0 results
  13. Sphinx Sphinx Daemon returned error: no such filter attribute 'price_in_range'
  14. Sphinx Caught Sphinx exception: no such filter attribute 'price_in_range' (0 tries left)
  15. no such filter attribute 'price_in_range'
  16. /bundle/2.2/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/search.rb:438:in `block in populate'
  17. /bundle/2.2/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/search.rb:606:in `call'
  18. /bundle/2.2/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/search.rb:606:in `retry_on_stale_index'
  19. /bundle/2.2/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/search.rb:426:in `populate'
  20. /bundle/2.2/gems/sphinx-integration-7.5.1/lib/sphinx/integration/extensions/thinking_sphinx/search.rb:14:in `populate_with_logging'
  21. /bundle/2.2/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/search.rb:110:in `all'
  22. /bundle/2.2/gems/apress_product_loader-3.9.1/lib/product_loader/modules/base.rb:43:in `search_for_ids'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement