lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Wöckinger (Jira) <>
Subject [jira] [Commented] (SOLR-13739) Managed resource observers have to be added only once
Date Wed, 04 Sep 2019 08:52:00 GMT


Thomas Wöckinger commented on SOLR-13739:

The improvement on our side results in a creation time of ~30 seconds instead of 30 minutes

> Managed resource observers have to be added only once
> -----------------------------------------------------
>                 Key: SOLR-13739
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Server
>    Affects Versions: 8.0, 8.1, 8.2, 8.1.1
>            Reporter: Thomas Wöckinger
>            Priority: Major
>              Labels: easyfix, performance
> On huge schema modifications, mostly happen due to creation of a new collection, the
same observer instance of an ResourceLoaderAware component is added again and again.
> This leads to a runtime behaviour of n²/2 where n is is the number of schema operation
multiplied by ResourceLoaderAware components instead of the number of containing ResourceLoaderAware
> E.g. If you have 1000 schema operations and 2 ResourceLoaderAware components this leads
to 500000 operations instead of 2000.
> Even worse the corresponding resource is registered again and again, which can take some
time e.g. ManagedSynonymGraphFilterFactory needs about 5s on each call (depending on the size
of synonyms).

This message was sent by Atlassian Jira

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

View raw message