저는 스핑크스에서 새로 왔으며 technology_core
에 무엇이 있는지보고 싶습니다. 내 쿼리가 반환해야하는 결과가 없기 때문입니다. 실제로 이러한 두 가지 결과를 db에서 쿼리하지도 않습니다. 데이터가 새로운 DB 테이블에 저장되었지만 만든 아니요 technology_core
테이블이 없습니다 I 불구하고스핑크스를 생각하여 인덱싱 된 데이터를 디버깅하는 방법
Processing by TechnologiesController#index as JS
Parameters: {"utf8"=>"✓", "filter"=>{"tech_type"=>["1"], "area_of_interest"=>["4"]}, "query"=>"", "_"=>"1417734808773"}
Sphinx Query (1.4ms) SELECT *, groupby() AS sphinx_internal_group, id AS sphinx_document_id, count(DISTINCT sphinx_document_id) AS sphinx_internal_count FROM `technology_core` WHERE `tag_id` IN (1, 4) AND `sphinx_deleted` = 0 GROUP BY `technology_id` HAVING COUNT(*)=2 LIMIT 0, 20
Sphinx Found 2 results
Rendered collection (0.0ms)
Rendered technologies/index.js.erb (2.7ms)
Completed 200 OK in 15ms (Views: 12.7ms | ActiveRecord: 0.0ms)
. 그런 다음 db/sphinx
폴더가 있다는 것을 기억 했으므로 인덱싱 된 데이터가 거기에 저장되어야합니다.
technology_core
테이블을 쿼리하는 방법이 있습니까?