Hey Brian,
It really is a question of what fields you use, what fields you search
and how your indexing XSLTs look.
Normally the default has copyFields from *_s (string) fields to *_t
(text) fields because the text fields are tokenized and a therefore
better to search, but if you try to display them to the user they are
all cut up (or tokenized) so you use the string fields.
However things like copying the *_s (single string) to a *_ms
(multi-valued string) really doesn't make a whole lot of sense to me.
As for the question about
> What is
>> the functional difference between these two commands?
>> <dynamicField name="*_ms" type="string" indexed="true"
>> stored="true" multiValued="true"/>
>> <copyField source="*_s" dest="*_ms"/>
The first is defining a field, any field Solr is sent that ends with _ms
will be assigned the string fieldType (you can find the definition of
this in the schema.xml too (search for name="string").
Indexed means you can search on this field, stored means you can get
this field back in a result and multiValued means you can define more
than one value for the field.
The second (copyField) says every time we get a field that ends with _s
(ie. title_s) also make another field with _ms (ie. title_ms). As I said
above this particular situation doesn't really make sense to me.
So you can certainly drop some of those copyFields especially if you
never access the fields.
The other thing to save index space is to not "store" fields you aren't
going to display to a user. I don't "store" any *_t fields, so I have a
OCR_t field which I can search with (using OCR_t:"the text to search")
but that field is not returned as part of the record. This saves some space.
cheers,
jared
> --
> For more information about using this group, please read our Listserv
> Guidelines:
http://islandora.ca/content/welcome-islandora-listserv
> ---
> You received this message because you are subscribed to the Google
> Groups "islandora" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
islandora+...@googlegroups.com
> <mailto:
islandora+...@googlegroups.com>.
> Visit this group at
https://groups.google.com/group/islandora.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/islandora/ca23ef2f-1c0f-4deb-889a-89564c4005df%40googlegroups.com
> <
https://groups.google.com/d/msgid/islandora/ca23ef2f-1c0f-4deb-889a-89564c4005df%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.
--
Jared Whiklo
jwh...@gmail.com
--------------------------------------------------
At least I have a positive attitude about my destructive habits.