Field Properties by Use Case in Solr 4.5
From : h t t p s: //cwiki. apach e. org/confluence/display /solr/ Field+Properties+by+Use+Case
Notes:
1 Recommended but not necessary.
2 Will be used if present, but not necessary.
3 (if termVectors=true)
4 A tokenizer must be defined for the field, but it doesn't need to be indexed.
5 Described in Understanding Analyzers, Tokenizers, and Filters.
6 Term vectors are not mandatory here. If not true, then a stored field is analyzed. So term vectors are recommended, but only required if stored=false.
Use Case | indexed | stored | multiValued | omitNorms | termVectors | termPositions |
---|---|---|---|---|---|---|
search within field | true | |||||
retrieve contents | true | |||||
use as unique key | true | false | ||||
sort on field | true | false | true 1 | |||
use field boosts 5 | false | |||||
document boosts affect searches within field | false | |||||
highlighting | true 4 | true | 2 | true 3 | ||
faceting 5 | true | |||||
add multiple values, maintaining order | true | |||||
field length affects doc score | false | |||||
MoreLikeThis 5 | true 6 |
1 Recommended but not necessary.
2 Will be used if present, but not necessary.
3 (if termVectors=true)
4 A tokenizer must be defined for the field, but it doesn't need to be indexed.
5 Described in Understanding Analyzers, Tokenizers, and Filters.
6 Term vectors are not mandatory here. If not true, then a stored field is analyzed. So term vectors are recommended, but only required if stored=false.
评论
发表评论