[
https://issues.apache.org/jira/browse/LUCENE-10122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444091#comment-17444091
]
Michael McCandless commented on LUCENE-10122:
---------------------------------------------
OK I am convinced too – let's move forward! It is really weird to abuse
positions like this.
[~zhai7631] what do you think? I think the only issue on the PR is back-compat
from 8.x indices?
Later we can also try to eliminate the separate large heap-resident {{int[]}}
as [~rmuir] suggested on the dev list today.
> Explore using NumericDocValue to store taxonomy parent array
> ------------------------------------------------------------
>
> Key: LUCENE-10122
> URL: https://issues.apache.org/jira/browse/LUCENE-10122
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/facet
> Affects Versions: main (10.0)
> Reporter: Haoyu Zhai
> Priority: Minor
> Time Spent: 2h
> Remaining Estimate: 0h
>
> We currently use term position of a hardcoded term in a hardcoded field to
> represent the parent ordinal of each taxonomy label. That is an old way and
> perhaps could be dated back to the time where doc values didn't exist.
> We probably would want to use NumericDocValues instead given we have spent
> quite a lot of effort optimizing them.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]