Now this is strange with solr 4.10.4,
I have a multivalue string field for creator.
<field name="creator" type="string" indexed="false" stored="true" 
multiValued="true" />

And a multivalue string field for f_person, prepared for facetting with 
docValues.
<field name="f_person" type="string" indexed="true" stored="true" 
multiValued="true" docValues="true" />

To fill f_person I use copyField.
<copyField source="creator" dest="f_person" />

The input to creator is 43470 bytes long with names, split at ";" for each 
subfield.
Klionsky, Daniel J; JFA; CORA; Abdelmohsen, Kotb; Abe, Akihisa; ...

No errors for creator,
but for f_person I get:
java.lang.IllegalArgumentException: Document contains at least one immense term 
in field="f_person"
(whose UTF8 encoding is longer than the max length 32766), all of which were 
skipped.
Please correct the analyzer to not produce such terms.
The prefix of the first immense term is: '[75, 108, 105, 111, 110, 115, 107, 
121, 44, 32, 68, 97,
110, 105, 101, 108, 32, 74, 59, 32, 74, 70, 65, 59, 32, 67, 79, 82, 65, 59]...',
original message: bytes can be at most 32766 in length; got 43470

What is causing the problem?
1) the copyField is converting the multivalued creator to one long string for 
f_person?
2) a fieldType string with docValues can't be multivalued?
3) ...?

Any idea and how to solve it?

I guess it is the docValues but I don't get any errors about my schema.xml that
multivalue of fieldType string might be a problem with docValues.

Regards
Bernd

Reply via email to