2
저는 스핑크스 초심자입니다.스핑크스 완벽하게 일치하는 문제가 있습니까?
<?php
include('sphinxapi.php');
$cl = new SphinxClient();
$cl->SetServer('localhost',9312);
//$cl->SetMatchMode(SPH_MATCH_ANY);
//$cl->SetMatchMode(SPH_MATCH_EXTENDED2);
//$cl->SetMatchMode(SPH_MATCH_ALL);
$cl->SetMatchMode(SPH_MATCH_PHRASE);
$cl->SetArrayResult(true);
$cl->SetLimits(0, 100);
$result = $cl->Query("&name one boy","abc_index");
echo "<pre>";
print_r($result);
exit;
?>
내가 그것에 대해 올바른되는 경기 모드 전용 "one boy
"단어 일치하는 레코드가 필요합니다?
이미 SPH_MATCH_PHRASE
모드를 사용 중입니다. 하지만 작동하지 않습니까?
어떤 형태의 형태소 분석을 사용하는 경우 '소년 한 명'과도 일치합니다. 내 생각 엔 .. – Rafa