[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-dev
Subject:    [jira] Resolved: (SOLR-2200) DIH DocBuilder - Improve perf. on
From:       "Robert Muir (JIRA)" <jira () apache ! org>
Date:       2010-10-31 13:05:23
Message-ID: 19384441.162071288530323048.JavaMail.jira () thor
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/SOLR-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Robert Muir resolved SOLR-2200.
-------------------------------

    Resolution: Fixed

Committed revisions 1029325 (trunk), 1029328 (3x).

Thanks Mark!

> DIH DocBuilder - Improve perf. on large delta deletes
> -----------------------------------------------------
> 
> Key: SOLR-2200
> URL: https://issues.apache.org/jira/browse/SOLR-2200
> Project: Solr
> Issue Type: Improvement
> Components: contrib - DataImportHandler
> Affects Versions: 1.4.1
> Reporter: Mark Waddle
> Assignee: Robert Muir
> Fix For: 3.1, 4.0
> 
> Attachments: SOLR-2200.patch
> 
> 
> In collectDelta, the procedure that collects the PKs for the documents that should \
> be updated or deleted for an entity, iterates over the entire deltaSet for every \
> deleted document. This is very expensive when you are updating and deleting \
> millions of documents in one delta-import. Considering that the comparison between \
> deleted and delta is on the PK, lets build the deltaSet as a HashMap instead of a \
> HashSet to enable quick key lookups and remove the need for repeated iterations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic