PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

SolrDisMaxQuery::setQueryPhraseSlop - specifies the amount of slop permitted on phrase queries explicitly included in the user's query string (qf parameter) | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

SolrDisMaxQuery::setQueryPhraseSlop

(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)

SolrDisMaxQuery::setQueryPhraseSlopspecifies the amount of slop permitted on phrase queries explicitly included in the user's query string (qf parameter)

説明

public SolrDisMaxQuery SolrDisMaxQuery::setQueryPhraseSlop ( string $slop )

The Query Phrase Slop is the amount of slop permitted on phrase queries explicitly included in the user's query string with the qf parameter.

slop refers to the number of positions one token needs to be moved in relation to another token in order to match a phrase specified in a query.

パラメータ

slop

Amount of slop

返り値

SolrDisMaxQuery

例1 SolrDisMaxQuery::setQueryPhraseSlop() example

<?php

$dismaxQuery 
= new SolrDisMaxQuery();
$dismaxQuery->setQueryPhraseSlop(3);
echo 
$dismaxQuery;
?>

上の例の出力は、 たとえば以下のようになります。

defType=edismax&qs=3

忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「SolrDisMaxQuery::setQueryPhraseSlop - specifies the amount of slop permitted on phrase queries explicitly included in the user's query string (qf parameter)」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | SolrDisMaxQuery::setQueryPhraseSlop - specifies the amount of slop permitted on phrase queries explicitly included in the user's query string (qf parameter)」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: