[
https://issues.apache.org/jira/browse/LUCENE-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456367#comment-13456367
]
Adrien Grand commented on LUCENE-4394:
--------------------------------------
Pulsing has a non-registered impl whose constructor forces to specify the
delegate postings format and a registered Pulsing40PostingsFormat that
delegates to Lucene40PostingsFormat.
So we could unregister BloomFilterPostingsFormat, remove its default
constructor and have a BloomFilter40PostingsFormat subclass that would delegate
to Lucene40PostingsFormat?
> Make BloomFilteringPostingsFormat wrap Lucene40PostingsFormat by default
> ------------------------------------------------------------------------
>
> Key: LUCENE-4394
> URL: https://issues.apache.org/jira/browse/LUCENE-4394
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Adrien Grand
> Priority: Trivial
>
> When loading BloomFilteringPostingsFormat from the SPI registry, it will have
> a null delegate by default. I think it would be more comfortable to make it
> wrap Lucene40PostingsFormat by default so that it can be used against
> lucene-core tests (ant -Dtests.postingsFormat=BloomFilter, currently fails
> with "java.lang.UnsupportedOperationException: Error -
> org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat has been
> constructed without a choice of PostingsFormat") or with Solr field types
> with minimal configuration (<fieldType ... postingsFormat="BloomFilter" />).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]