directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <akaras...@apache.org>
Subject Re: Reducing the complexity/verbosity of default server.xml (and custom configuration files)
Date Wed, 10 Jan 2007 17:45:17 GMT
Tino Schwarze wrote:
> On Tue, Jan 09, 2007 at 08:13:54PM +0100, Stefan Zoerner wrote:
> 
>> 2) Reduce length of partition configuration
>>
>> Currently, partition configuration are very long, mostly because of the 
>> many many indices for internal attributes:
>> ...
>>         <bean 
>> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>>           <property 
>> name="attributeId"><value>1.3.6.1.4.1.18060.0.4.1.2.1</value></property>
>>           <property name="cacheSize"><value>100</value></property>
>>         </bean>
>> (many others follow, in each partition the same
>> ...
>>
>> If it is highly recommend to use these indices, how about having a 
>> special IndexConfiguration as a default, which only has to be extended 
>> in order to adjust it to your needs?
> 
> IIRC, these indices are added anyway, even if you don't specify them.
> 
> That's at least my observation when running the embedded ApacheDS
> without a server.xml.
> 

Yeah they're key system indices that use default for cache settings.  I 
guess I put this stuff into the config.xml so people can see how to 
tweak things to override defaults.

Alex

Mime
View raw message