FieldOptionsByUseCase

Here is a summary of available options on a field, broken down by use case. A true or false indicates that the option must be set to the given value for the use case to function correctly.

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

false

document boosts affect searches within field

false

highlighting

true[4]

true

[2]

true [3]

faceting

true

add multiple values, maintaining order

true

field length affects doc score

false

MoreLikeThis

true

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

For further considerations for faceting, see also SolrFacetingOverview.

last edited 2008-09-03 21:35:24 by MikeKlaas