You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ignacio Vera (JIRA)" <ji...@apache.org> on 2018/03/04 08:36:00 UTC
[jira] [Commented] (LUCENE-8190) Replace dendency on LegacyCell for
setting pruneLeafyBranches on RecursivePrefixTreeStrategy
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org