lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3142) remove O(n^2) slow slow indexing defaults in DataImportHandler
Date Sun, 19 Feb 2012 15:02:34 GMT

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

Robert Muir updated SOLR-3142:
------------------------------

    Attachment: SOLR-3142.patch

patch for the optimize.

I agree about the soft commit, if not even the default it should at least be allowable/configurable...
but I just didn't implement this in the patch.

In general whatever options are available for commit should be consistent with what DIH allows,
maybe we should open a separate issue to ensure this is the case.

                
> remove O(n^2) slow slow indexing defaults in DataImportHandler
> --------------------------------------------------------------
>
>                 Key: SOLR-3142
>                 URL: https://issues.apache.org/jira/browse/SOLR-3142
>             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: 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