TermsComponent Adding entries
-----------------------------
Key: SOLR-2929
URL: https://issues.apache.org/jira/browse/SOLR-2929
Project: Solr
Issue Type: Bug
Components: SearchComponents - other
Affects Versions: 3.4, 3.3
Environment: solr 3.x
Reporter: maillard
Priority: Minor
When indexing multiple documents in one go and then updating one of the
documents in a later process Termscomponent count gets wrongfully incremented.
example indexing two documents with a country field as such:
<add>
<doc>
<field name="COUNTRY">US</field>
<field name="ID">L20110121151204207</field>
</doc>
<doc>
<field name="COUNTRY">Canada</field>
<field name="ID">L20110121151204208</field>
</doc>
</add>
Termscomponent returns:
US(1)
Canada(1)
Update the first document:
<add>
<doc>
<field name="COUNTRY">US</field>
<field name="ID">L20110121151204207</field>
</doc>
</add>
Termscomponent returns:
US(2)
Canada(1)
There still are only two documents in the index.
This does not happen when only dealing with a single doc, or when you update
the same set of documents you initially indexed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]