You are here

class SloppyTerms in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/search_api/parse_mode/SloppyTerms.php \Drupal\search_api_solr\Plugin\search_api\parse_mode\SloppyTerms

Represents a parse mode that parses the sentence into a sloppy search.

Plugin annotation


@SearchApiParseMode(
  id = "sloppy_terms",
  label = @Translation("Multiple words with sloppiness"),
  description = @Translation("The query is interpreted as multiple keywords separated by spaces. Keywords containing spaces may be ""quoted"" and interpreted as a single phrase. Solr will also show results where the words are not directly positioned next to each other. The scoring will be lower the further away the words are from eachother. Quoted keywords must still be separated by spaces."),
)

Hierarchy

  • class \Drupal\search_api_solr\Plugin\search_api\parse_mode\SloppyTerms extends \Drupal\search_api\Plugin\search_api\parse_mode\Terms

Expanded class hierarchy of SloppyTerms

File

src/Plugin/search_api/parse_mode/SloppyTerms.php, line 16

Namespace

Drupal\search_api_solr\Plugin\search_api\parse_mode
View source
class SloppyTerms extends Terms {

}

Members