class SloppyPhrase in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/search_api/parse_mode/SloppyPhrase.php \Drupal\search_api_solr\Plugin\search_api\parse_mode\SloppyPhrase
Represents a parse mode.
A parse mode that parses the sentence into a sloppy search for the sentence.
Plugin annotation
@SearchApiParseMode(
id = "sloppy_phrase",
label = @Translation("Phrase search with sloppiness"),
description = @Translation("The query is 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"),
)
Hierarchy
- class \Drupal\search_api_solr\Plugin\search_api\parse_mode\SloppyPhrase extends \Drupal\search_api\Plugin\search_api\parse_mode\Phrase
Expanded class hierarchy of SloppyPhrase
File
- src/
Plugin/ search_api/ parse_mode/ SloppyPhrase.php, line 18
Namespace
Drupal\search_api_solr\Plugin\search_api\parse_modeView source
class SloppyPhrase extends Phrase {
}