[
https://issues.apache.org/jira/browse/LUCENE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464692
]
Hoss Man commented on LUCENE-550:
---------------------------------
I just realized that all of the tests in
contrib/instantiated/src/test/java/org/apache/lucene/instantiated/assimilated/
are duplicates of tests from the core with a few line changes so they use an
InstantiatedIndex to get a reader/writer/seracher etc.
I think it would be *much* better if we changed the orriginal versions of these
tests to include an accessors for constructing/fetching those objects which
could be subclassed by tests in your contrib -- that way any bugs found/fixed
in those test classes and any additional test methods added to those classes
would automatically be inherited by your versions (instead of winding up with
duplicate cut/paste test code)
> InstantiatedIndex - faster but memory consuming index
> -----------------------------------------------------
>
> Key: LUCENE-550
> URL: https://issues.apache.org/jira/browse/LUCENE-550
> Project: Lucene - Java
> Issue Type: New Feature
> Components: Store
> Affects Versions: 2.0.0
> Reporter: Karl Wettin
> Assigned To: Karl Wettin
> Attachments: class_diagram.png, class_diagram.png,
> lucene.1.9-karl1.jpg, trunk.diff.bz2
>
>
> An non file centrinc all in memory index. Consumes some 2x the memory of a
> RAMDirectory (in a term satured index) but is between 3x-60x faster depending
> on application and how one counts. Average query is about 8x faster.
> IndexWriter and IndexModifier have been realized in InterfaceIndexWriter and
> InterfaceIndexModifier.
> InstantiatedIndex is wrapped in a new top layer index facade (class Index)
> that comes with factory methods for writers, readers and searchers for unison
> index handeling. There are decorators with notification handling that can be
> used for automatically syncronizing searchers on updates, et.c.
> Index also comes with FS/RAMDirectory implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]