lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4394) Make BloomFilteringPostingsFormat wrap Lucene40PostingsFormat by default
Date Sat, 15 Sep 2012 10:49:07 GMT


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message