On 7/8/2015 4:38 PM, Steven White wrote:
> What good is the use of copyField in Solr's schema.xml if my application
> can do it into the designated field?  Having my application do so helps me
> simplify the schema.xml maintains task thus my motivation.

I can think of two main uses for copyField.  One is to combine the
inputs for multiple fields into a "catchall" field, the other is to
analyze the same input in multiple ways.  For instance, you may want a
field analyzed in one way for searching, but analyzed in a different way
to use for facets.

Your indexing application can indeed take care of that, but having Solr
do it means that your indexing application doesn't need to worry about
how the data is being used in search, it just has to get the information
to Solr.

There may be additional use cases, but those are the ones that came to
me when I thought about it for a couple of minutes.

Thanks,
Shawn

Reply via email to