directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Re: [ApacheDS] index builder tool
Date Thu, 21 May 2009 20:32:27 GMT
Stefan Seelmann wrote:
> Kiran Ayyagari wrote:
>> hello guys,
>>    Got the index builder tool working and I have a question :)
>>    Had a brief chat with Emmanuel on IRC which raised up this question,
>>    Should this tool be part of the core?.
>>    Consider a scenario where a new index has been added in the server.xml
>>    file when the server already holds some data but it isn't indexed
>> till this moment.
>>    In this case if the server automatically checks this new change and
>> builds an index
>>    after considering the user's choice( kind of yes/no) OR using a
>> global optional flag
>>    like --rebuild-index (so that the user interaction can be avoided),
>> then there is no
>>    need to explicitly invoke this tool every time a new index needs to
>> be added.
>>    (except when the user wants to rebuild an existing index offline)
> Sounds good.
> I just wonder if it is possible to rebuild the index while the server is
> running? If possible then we could have an extended operation (stored
> procedure) that builds the index. This way it could be invoked from
> remote via Studio.

It's a bit complicated. As the index building might be costly, in the 
mean time, the index won't be available. That mean we should freeze the 
server for quite a moment .

cordialement, regards,
Emmanuel L├ęcharny

View raw message