SolrDisMaxQuery::setQueryPhraseSlop
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
SolrDisMaxQuery::setQueryPhraseSlop
Референца за `solrdismaxquery.setqueryphraseslop.php` со подобрена типографија и навигација.
SolrDisMaxQuery::setQueryPhraseSlop
(Нема достапни информации за верзијата, можеби е само во Git)
SolrDisMaxQuery::setQueryPhraseSlop — Specifies the amount of slop permitted on phrase queries explicitly included in the user's query string (qf parameter)
= NULL
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
Вратени вредности
Примери
Пример #1 SolrDisMaxQuery::setQueryPhraseSlop() example
<?php
$dismaxQuery = new SolrDisMaxQuery();
$dismaxQuery->setQueryPhraseSlop(3);
echo $dismaxQuery;
?>Горниот пример ќе прикаже нешто слично на:
defType=edismax&qs=3