You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/11/05 15:02:29 UTC

[Solr Wiki] Update of "FieldOptionsByUseCase" by GrantIngersoll

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "FieldOptionsByUseCase" page has been changed by GrantIngersoll.
http://wiki.apache.org/solr/FieldOptionsByUseCase?action=diff&rev1=9&rev2=10

--------------------------------------------------

- 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.  
+ 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''' ||'''termOffsets''' ||
+ ||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[6]|| || ||`true`[6] || || ||
+ ||term frequency[5] || || || || ||`true` || || ||
+ ||document frequency[5] || || || || ||`true` || || ||
+ ||tf*idf[5] || || || || ||`true` || || ||
+ ||term postitions[5] || || || || ||`true` ||`true` ||`true` ||
+ ||term offsets[5] || || || || ||`true` ||`true` ||`true` ||
  
+ 
- || '''use case''' || '''indexed''' || '''stored''' || '''multiValued''' || '''omitNorms''' || '''termVectors''' || '''termPositions''' || '''termOffsets''' ||
- || 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` || || ||
- || term frequency || || || || || `true` || || ||
- || document frequency || || || || || `true` || || ||
- || tf*idf || || || || || `true` || || ||
- || term postitions || || || || || `true` || `true` || `true` ||
- || term offsets || || || || || `true` || `true` || `true` ||
  
  
  Notes:
+ 
   1. ''recommended but not necessary''
   1. ''will be used if present, but not necessary''
-  1. ''(if `termVectors=true`)''
+  1. ''if `termVectors=true, then use them.  If not present, highlighting will reanalyze the document`''
   1. ''a tokenizer must be defined for the field, but it doesn't need to be indexed''
- For further considerations for faceting, see also SolrFacetingOverview.
- For more information on term frequency, positions, offsets etc. see TermVectorComponent.
+  1. ''For use with the TermVectorComponent''
+  1. Uses the term vector if present, otherwise the stored field.  Reanalyzes the document if using the stored field.
  
+ For further considerations for faceting, see also SolrFacetingOverview. For more information on term frequency, positions, offsets etc. see TermVectorComponent.
+