lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <>
Subject [jira] Commented: (SOLR-920) Cache and reuse IndexSchema
Date Tue, 19 May 2009 06:00:45 GMT


Noble Paul commented on SOLR-920:

how about an extra attribute in the cores tag to enable sharing as follows.

  <cores adminPath="/admin/cores" shareSchema="true">

if shareSchema is set to true then for a given path only one instance of IndexSchema is created
and it will be shared . It is the responsibilty of the user to ensure that he does not use
any core specific properties in the schema.xml when this attribute is set to true

> Cache and reuse IndexSchema
> ---------------------------
>                 Key: SOLR-920
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
> if there are 1000's of cores then the cost of loading unloading schema.xml can be prohibitive
> similar to SOLR-919 we can also cache the DOM object of schema.xml if the location on
disk is same.  All the dynamic properties can be replaced lazily when they are read.
> We can go one step ahead in this case. Th IndexSchema object is immutable . So if there
are no core properties then the same IndexSchema object can be used across all the cores

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

View raw message