在SphinSE中,我可以从sphinx服务器获取任何记录。
示例: 我有以下记录:
Id Name Item Price
1 karthik Car 1000
2 Car karthik 200
要获取记录,我使用了以下查询
select * from indexname WHERE query ='karthik; mode = any';
It has return 2 records. How can i get record, which record having Name AS karthik using SPHINXSE. Please suggest
答案 0 :(得分:0)
select * from indexname WHERE query='@Name karthik;mode=extended';
或者
select * from indexname WHERE query='@Name "^karthik$ ";mode=extended';