I would not be surprised if default value is assigned AFTER all the
copy field is done. That would make a lot more sense.
So, you may want to try setting that default value earlier in the
indexing process. Specifically, by creating a custom
UpdateRequestProcessor chain and using DefaultValue URP:
Thank you Shawn, indeed 4.7 :)
I tried this approach with default value and it doesn't seem to work. I have
my destination field defined as multiValued and I copy from one source with
default value and some other source field. Default value does not seem to
copy from source field to destination. I
On 8/13/2015 4:00 AM, griglo wrote:
> Hello, I have rather simple question regarding copyFields and appending of
> values. I am using Solr 3.7. Is it possible to define some given value in
> schema.xml and use that with copyField directive ?? I would like to append
> some values (tokens) to field w