lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3596) DirectoryTaxonomyWriter extensions should be able to set internal index writer config attributes such as info stream
Date Sat, 26 Nov 2011 04:46:39 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157365#comment-13157365
] 

Shai Erera commented on LUCENE-3596:
------------------------------------

We should be careful about this though. DirTW requires LogMergePolicy and won't work well
with TieredMP, or any other out-of-order-merges MP. We should clearly note that in the javadocs
of both openIndexWriter, and getIWC (if you intend to add it).

Other than that, I wonder why was infoStream moved to IWC and made final in IW. But I will
discuss that on the dev@ list.
                
> DirectoryTaxonomyWriter extensions should be able to set internal index writer config
attributes such as info stream
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3596
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3596
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/facet
>            Reporter: Doron Cohen
>            Priority: Minor
>
> Current protected openIndexWriter(Directory directory, OpenMode openMode) does not provide
access to the IWC it creates.
> So extensions must reimplement this method completely in order to set e.f. info stream
for the internal index writer.
> This came up in [user question: Taxonomy indexer debug |http://lucene.472066.n3.nabble.com/Taxonomy-indexer-debug-td3533341.html]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message