0
インデックス作成を実行するテーブルが4つあります。私の問題は、テーブルに優先度を設定する方法は?
私は重量ではなくテーブルの優先度による検索結果を得たいと思います。 I 平均的なテーブル1の一致した結果が最初に表2のように表示されます。
現在、最も高い重み付けで検索しています。
クエリ
Select UUID_SHORT() AS sphinxid, info as keyword, 'column_name' as type from table 1
UNION ALL
Select UUID_SHORT() AS sphinxid, info as keyword, 'column_name' as type from table 2
UNION ALL
Select UUID_SHORT() AS sphinxid, info as keyword, 'column_name' as type from table 3
UNION ALL
Select UUID_SHORT() AS sphinxid, info as keyword, 'column_name' as type from table 4;