You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/08/28 14:22:14 UTC

[GitHub] [lucene] mikemccand commented on pull request #271: LUCENE-9969:TaxoArrays, a member variable of the DirectoryTaxonomyReader class, i…

mikemccand commented on pull request #271:
URL: https://github.com/apache/lucene/pull/271#issuecomment-907633158


   Do you know how large your Taxonomy index is (how many unique `FacetLabel`s)?
   
   In your application, are all three arrays being allocated (`parents`, `siblings` and `children`)?  That triples the memory cost, but if you are not really needing full hierarchical facets, you should only need to allocate one of those arrays.  Or you could explore `SortedSetDocValues` faceting.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org