lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <>
Subject [jira] [Commented] (LUCENE-5801) Resurrect org.apache.lucene.facet.util.OrdinalMappingAtomicReader
Date Sun, 20 Jul 2014 14:38:38 GMT


Shai Erera commented on LUCENE-5801:

Actually, this isn't the correct fix. I modified the test to index two dimensions, one under
custom indexFieldName {{$tags}} and one under the default. So facetsConfig.getDimConfigs()
returns only the {{$tags}} facets. If I add the DEFAULT_INDEX_FIELD_NAME (always) then it
solves the problem, but then if the app never uses that field name for faceting, but adds
it as another BDV, we try to map ordinals ... I think it's not very likely that this happens
though, so I'm willing to go with that fix.

I'm working on a patch with improved test.

> Resurrect org.apache.lucene.facet.util.OrdinalMappingAtomicReader
> -----------------------------------------------------------------
>                 Key: LUCENE-5801
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 4.7
>            Reporter: Nicola Buso
>            Assignee: Shai Erera
>             Fix For: 5.0, 4.10
>         Attachments: LUCENE-5801.patch, LUCENE-5801.patch, LUCENE-5801.patch, LUCENE-5801_1.patch,
> from lucene > 4.6.1 the class:
> org.apache.lucene.facet.util.OrdinalMappingAtomicReader
> was removed; resurrect it because used merging indexes related to merged taxonomies.

This message was sent by Atlassian JIRA

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

View raw message