[
https://issues.apache.org/jira/browse/LUCENE-8190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16385019#comment-16385019
]
Ignacio Vera commented on LUCENE-8190:
--------------------------------------
Path attached:
* Add a new interface called {{CellCanPrune}} that extends {{Cell}} interface
and ads one method.
* {{LegacyCell}} and {{S2PrefixTreeCell}} implements this new interface.
* {{RecursivePrefixTreeStrategy}} uses this interface.
* Test are updated accordingly.
> Replace dendency on LegacyCell for setting pruneLeafyBranches on
> RecursivePrefixTreeStrategy
> --------------------------------------------------------------------------------------------
>
> Key: LUCENE-8190
> URL: https://issues.apache.org/jira/browse/LUCENE-8190
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/spatial-extras
> Reporter: Ignacio Vera
> Priority: Major
> Attachments: LUCENE-8190.patch
>
>
> The setting {{pruneLeafyBranches}} on {{RecursivePrefixTreeStrategy}} depends
> on abstract class {{LegacyCell}} and therefore trees like the newly added
> {{S2PrefixTree}} cannot benefit for such optimization.
> It is proposed to add a new specialize interface for {{cell}} interface and
> make the setting depends on it instead of {{LegacyCell.}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]