Solution:
Set the copied Target Field to multiple values:
The code is as follows: |
|
<Field name = "text" type = "textComplex" indexed = "true" stored = "true" multiValued = "true"/> |
Org. apache. solr. common. SolrException: ERROR: [doc = 12682] multiple values encountered for non multiValued copy field text: Sports Center Street
At org. apache. solr. update. DocumentBuilder. toDocument (DocumentBuilder. java: 132)
At org. apache. solr. update. AddUpdateCommand. getLuceneDocument (AddUpdateCommand. java: 77)
At org. apache. solr. update. DirectUpdateHandler2.addDoc (DirectUpdateHandler2.java: 215)
At org. apache. solr. update. processor. RunUpdateProcessor. processAdd (RunUpdateProcessorFactory. java: 69)
At org. apache. solr. update. processor. UpdateRequestProcessor. processAdd (UpdateRequestProcessor. java: 51)
At org. apache. solr. update. processor. DistributedUpdateProcessor. doLocalAdd (DistributedUpdateProcessor. java: 569)
At org. apache. solr. update. processor. DistributedUpdateProcessor. versionAdd (DistributedUpdateProcessor. java: 705)
At org. apache. solr. update. processor. DistributedUpdateProcessor. processAdd (DistributedUpdateProcessor. java: 435)
At org. apache. solr. update. processor. LogUpdateProcessor. processAdd (LogUpdateProcessorFactory. java: 100)