lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maillard (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2929) TermsComponent Adding entries
Date Wed, 30 Nov 2011 13:55:40 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160056#comment-13160056
] 

maillard commented on SOLR-2929:
--------------------------------

Thank you for the reponse.
I understand your response.
I have tired to flush and commit my after my update.
I have played around with the mergefactor set to 2.
I have played wit the maxPendingDeletes all without success.
How can i be sure and or force the deletion of thsese marked docs. In other words how do i
make sure that my TermsComponent is a correct view of the indexes (wihtout any marked for
deletion)  at a given time? 

                
> 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.3, 3.4
>         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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message