On 10-Sep-07, at 11:54 AM, melkink wrote:
The other change I made (which may or may not have contributed to the
solution) was to remove all line breaks from the text being
submitted to the
doctext field. The line breaks were causing solr to interpret the
text as
having multiple values and forced me to put a multivalued="true"
attribute
in the schema.xml. Removing the line breaks allowed me to remove this
attribute.
Interesting--I've never seen this behaviour (I definitely store
fields with linebreaks in strings).
Are you sure that it isn't your own framework that is generating
multiple <field> entries for this input case?
glad to hear you figured it out,
-Mike