You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by PaulElschot <gi...@git.apache.org> on 2014/04/23 20:41:10 UTC

[GitHub] lucene-solr pull request: Squashed commit of efbytesref, 20140422

GitHub user PaulElschot opened a pull request:

    https://github.com/apache/lucene-solr/pull/45

    Squashed commit of efbytesref, 20140422

    LUCENE-5524
    
    This PR adds encoding/decoding an Elias-Fano sequence in/from a BytesRef.
    This PR adds three classes:
    EliasFanoLongs and EliasFanoBytes both extending EliasFanoSequence,
    and the long[] encoding is moved from EliasFanoEncoder into EliasFanoLongs.
    The EliasFanoDecoder is changed to use these classes.
    (There are also some improved variable names, this makes the changes somewhat less easy to read...)
    
    The recent fix for the number of index entry bits is included.
    
    This PR also adds methods readVlong and writeVLong to BytesRef. I considered keeping them local in EliasFanoBytes, but these fit better in BytesRef I think.
    
    This PR also changes EliasFanoDocIdSet to use EliasFanoLongs, and to fall back to a FixedBitSet when too many bits are set. This fall back could be a separate issue, but that would be more work now.
    
    I hope I got the generics and diamonds right...
    This is a squashed commit against trunk, 12 March 2014

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/PaulElschot/lucene-solr efbytesref-201404a

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/45.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #45
    
----
commit a214913ac2143277d9539a3e9e3d1cd1662b754a
Author: Paul Elschot <pa...@gmail.com>
Date:   2014-03-12T21:21:13Z

    Squashed commit of efbytesref, 20140312

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] lucene-solr pull request: Squashed commit of efbytesref, 20140422

Posted by PaulElschot <gi...@git.apache.org>.
Github user PaulElschot closed the pull request at:

    https://github.com/apache/lucene-solr/pull/45


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] lucene-solr pull request #45: LUCENE-7287: normalize Ukrainian morfologik di...

Posted by arysin <gi...@git.apache.org>.
Github user arysin closed the pull request at:

    https://github.com/apache/lucene-solr/pull/45


---

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


[GitHub] lucene-solr pull request: Squashed commit of efbytesref, 20140422

Posted by PaulElschot <gi...@git.apache.org>.
Github user PaulElschot commented on the pull request:

    https://github.com/apache/lucene-solr/pull/45#issuecomment-105225478
  
    See LUCENE-5524 and LUCENE-5627


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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