lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-3142) remove O(n^2) slow slow indexing defaults in DataImportHandler
Date Tue, 21 Feb 2012 17:34:38 GMT


Robert Muir commented on SOLR-3142:

(ie: nightly) that it can be handy to have it auto-optimize when you are done.

You can still do this, by specifying 'optimize=true' to your full-import.
Its just no longer the default. So we haven't taken away any capabilities here.
> remove O(n^2) slow slow indexing defaults in DataImportHandler
> --------------------------------------------------------------
>                 Key: SOLR-3142
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 3.6, 4.0
>         Attachments: SOLR-3142.patch
> By default, dataimporthandler optimizes the entire index when it commits.
> This is bad for performance, because it means by default its doing a very
> heavy index-wide operation even for an incremental update... essentially 
> O(n^2) indexing.
> All that is needed is to set optimize=false by default. If someone wants
> to optimize, they can either set optimize=true or explicitly optimize themselves.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message