0

在 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
4

1 回答 1

0
select * from indexname WHERE query='@Name karthik;mode=extended';

或者可能

select * from indexname WHERE query='@Name "^karthik$ ";mode=extended';
于 2012-08-16T14:37:01.413 回答