Even though I set the same parameters for the copy field and the individual fields, if set the suggest handler to use the copy field, I get nothing back. But if I set it to use one of the individual fields like "title", then it will give results back. Can you not use a copy field for suggest components? Or is there something wrong with my copy field?

copy field

field type

copy field def

field def

field def

request handler and search component

1 Answers

0
awagen On

You set multivalued to false. Set to true for multiple copyfield directives, as given by

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).

in https://lucene.apache.org/solr/guide/6_6/copying-fields.html.