[ 
https://issues.apache.org/jira/browse/SOLR-7787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dawid Weiss updated SOLR-7787:
------------------------------
    Description: 
So fastutil is now part of Solr's distribution (because the stats component 
uses hyperloglog library, which in turn requires fastutil). I looked at the 
actual uses of fastutil and only java-hll uses it (and only a few classes).

I've created a fork that uses HPPC instead (also randomized all tests, they 
pass). Since it's a relatively simple package I think it could be forked and 
imported into Solr's codebase entirely. I'd make a pull request but I see Hoss 
also created a few comments/ PRs and none of them received any attention; the 
project seems to be stale or dead?

  was:
So fastutil is now part of Solr's distribution (because the stats component 
uses hyperloglog library, which in turn requires fastutil). There are a few 
classes that use HPPC but these could be rewritten to use fastutil, thus saving 
a few MBs of the distribution size.

Going the other way would be more attractive size-wise (HPPC is ~1.1MB, 
fastutil is ~17MB) but we have no control over HLL's dependencies.


> Fork HyperLogLog and remove fastutil dependency
> -----------------------------------------------
>
>                 Key: SOLR-7787
>                 URL: https://issues.apache.org/jira/browse/SOLR-7787
>             Project: Solr
>          Issue Type: Task
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>             Fix For: 5.3, Trunk
>
>
> So fastutil is now part of Solr's distribution (because the stats component 
> uses hyperloglog library, which in turn requires fastutil). I looked at the 
> actual uses of fastutil and only java-hll uses it (and only a few classes).
> I've created a fork that uses HPPC instead (also randomized all tests, they 
> pass). Since it's a relatively simple package I think it could be forked and 
> imported into Solr's codebase entirely. I'd make a pull request but I see 
> Hoss also created a few comments/ PRs and none of them received any 
> attention; the project seems to be stale or dead?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to