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;