On Aug 11, 2008, at 9:28 PM, Jake Conk wrote:
I was wondering what are the differences in certain field types? For
instance what's the difference between the following?
integer / sint
float / sfloat
The difference is the internal representation of the String value of
the term representing the numbers. The "s" prefix means the terms are
sortable, in that they are in ascending _numerical_ (not textual)
order within the index.
text / textzh
Looks like maybe you're picking up an acts_as_solr schema (which uses
text_zh, though). "zh" is the country code for China... and that
field type is likely configured to use a Chinese-savvy analyzer.
Also, if I have two dynamic fields for instance *_facet and *_facet_mv
which both have the type set to string does it really matter which one
I use?
If the field types are identical, then no it won't matter which you
use - the same thing will happen internally.
Erik