[ https://issues.apache.org/jira/browse/LUCENE-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17208416#comment-17208416 ]
Gautam Worah commented on LUCENE-9540: -------------------------------------- It turns out that we are not double indexing the {{fullPathField}}. Removing the [line|#L495] that adds a {{StringValue}} to the {{fullPathField}} results in multiple failing tests. I think the lookup for input facet label using reverse index (postings) is enabled by the {{fullPathField}} and hence the removal of it causes test failures. Closing this issue. > Investigate double indexing of the fullPathField in the > DirectoryTaxonomyWriter > ------------------------------------------------------------------------------- > > Key: LUCENE-9540 > URL: https://issues.apache.org/jira/browse/LUCENE-9540 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Gautam Worah > Priority: Minor > > We may have reason to believe that we are double indexing the fullPathField > postings item in the DirectoryTaxonomyWriter constructor. > This should ideally be a StoredField. > See related discussion in PR https://github.com/apache/lucene-solr/pull/1733/ > Postings are already enabled for facet labels in > [FacetsConfig#L364-L399|https://github.com/apache/lucene-solr/blob/master/lucene/facet/src/java/org/apache/lucene/facet/FacetsConfig.java#L364-L366] > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org