Kevin A. Burton wrote:
> Yet another patch.
> Right now there are a number of DEFAULT_ vars in IndexWriter. On init
> these are fetched from system properties and initialized.
The same pattern occurs in the FSDirectory to select between the
FSDirectory proper and MMapDirectory. The default implementation cannot
be changed during runtime, because it is initialized from a static section.
In Luke I added the functionality to select it at runtime at the cost of
using some reflection gymnastics - but I don't see any clear reason to
disallow changing the implementation during runtime...
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com