I've just tried this again in my environment, but I couldn't reproduce what you pointed.

My schema is:

  :
<field name="id" type="string" indexed="true" stored="true" required="true" />
  <field name="name" type="text" indexed="true" stored="true"/>
<field name="tags" type="text" indexed="true" stored="true" multiValued="true"/>
  :
<uniqueKey>id</uniqueKey>


Koji


nutchvf wrote:
Hi!!
Thank you very much,Koji!!
Your response has helped me a lot and  I have already managed to update the
document.Now,I have another problem:
Sending the update request to Solr:

For example:
http://localhost:8389/solr/update?mode=tags:overwrite&commit=true

<add>
<doc>
  <field name="id">AAA</field>
  <field name="tags">German</field>
</doc>
</add>

After that step,I realized that the "id" field,(defined in my schema.xml as
an uniqueKey field) appears as a multivalued field,with two "fields" with
the same value.Do you know which may be the reason for this behavior?

Thank you,

Regards!


Reply via email to