(No version information available, might only be in Git)
Sets Trigram Phrase Slop (ps3 parameter)
public SolrDisMaxQuery SolrDisMaxQuery::setTrigramPhraseSlop ( string $slop )
Sets Trigram Phrase Slop (ps3 parameter)
Parameters:
slop
Phrase slop
Returns:
Examples:
SolrDisMaxQuery::setTrigramPhraseSlop() example
<?php $dismaxQuery = new SolrDisMaxQuery('lucene'); $dismaxQuery->setTrigramPhraseSlop(2); echo $dismaxQuery.PHP_EOL; ?>
The above example will output something similar to:
q=lucene&defType=edismax&ps3=2
See also:
SolrDisMaxQuery::addTrigramPhraseField() -
Please login to continue.