All,
I have a Solr 7.7.3 server with a pretty simply index including a
copy-field. I have confirmed that the actually-loaded index contains
these (among other) fields:
- identifier, type=text_general, multivalued=true ("copied to 'all'")
- all, type-text_general, multivalued=true ("copied from 'all' (and
others)")
The "all" field contains copies of the other fields values for each
record I've studied except for "identifier".
I have re-indexed the whole document set and the "all" field still does
not contain the values I can see (in the search results) for "identifier".
I'm using Solr's console for all investigations, so there is no other
software playing games with what is shown in the index, etc.
The other fields being copied into "all" are all multivalued=false which
is the only thing I can think of that might be a problem, but I can't
find any documentation which suggests it wouldn't work. In fact, the
documentation[1] seems to explicitly declare that this should work:
"
Remember to configure your fields as multivalued="true" if they will
ultimately get multiple values (either from a multivalued source or from
multiple copyField directives).
"
So multi-valued source should not be a problem.
Any suggestions for where to look for a problem?
-chris
[1] https://solr.apache.org/guide/7_7/copying-fields.html