sql - Mysql full text serach order by field ( not score ) performance speed up -
i have following mysql query:
select field1,field2 search_table match(field1,field2,field3,fieldx) against ('+string1 +string2' in boolean mode)
field1,field2,fieldx indexed fulltext. query runs fast 50k record. 0.001
i need order field1,field2 etc. when add order field1 this:
select field1,field2 search_table match(field1,field2,field3,fieldx) against ('+string1 +string2' in boolean mode) order field1 asc
the speed drops 0.1 . how can speed query? tried add index field1 still slow.
Comments
Post a Comment