opensubscriber
   Find in this group all groups
 
Unknown more information…

l : lucene-dev@jakarta.apache.org 25 February 2005 • 4:42PM -0500

Re: patch - DEFAULT_ vars in IndexWriter non-final and DEFAULT for useCompoundFile
by Andrzej Bialecki

REPLY TO AUTHOR
 
REPLY TO GROUP




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...


--
Best regards,
Andrzej Bialecki
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jaka...
For additional commands, e-mail: lucene-dev-help@jaka...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.