SolrDisMaxQuery::setQueryPhraseSlop
  Specifies the amount of slop permitted on phrase queries explicitly included in the user's query string (qf parameter)
  
 
  説明
  
   public SolrDisMaxQuery SolrDisMaxQuery::setQueryPhraseSlop(string $slop)
  
  
    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;
?>