lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1410) PFOR implementation
Date Tue, 21 Dec 2010 21:52:04 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973927#action_12973927
] 

Robert Muir commented on LUCENE-1410:
-------------------------------------

Sorry, correction (i meant the length in bytes or ints *compressed*, to tell us how many bytes
to read)

In the FOR case we now do:

{noformat}
    int header = in.readInt();
    final int numFrameBits = ((header >>> 8) & 31) + 1;
    in.readBytes(input, 0, numFrameBits << 4);
{noformat}

But in PFOR we still have "two headers"

{noformat}
    int numBytes = in.readInt(); // nocommit: is it possible to encode # of exception bytes
in header?
    in.readBytes(input, 0, numBytes);
    compressedBuffer.rewind();
    int header = compressedBuffer.get();
{noformat}


> PFOR implementation
> -------------------
>
>                 Key: LUCENE-1410
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1410
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Index
>            Reporter: Paul Elschot
>            Priority: Minor
>             Fix For: Bulk Postings branch
>
>         Attachments: autogen.tgz, for-summary.txt, LUCENE-1410-codecs.tar.bz2, LUCENE-1410.patch,
LUCENE-1410.patch, LUCENE-1410.patch, LUCENE-1410.patch, LUCENE-1410b.patch, LUCENE-1410c.patch,
LUCENE-1410d.patch, LUCENE-1410e.patch, TermQueryTests.tgz, TestPFor2.java, TestPFor2.java,
TestPFor2.java
>
>   Original Estimate: 21840h
>  Remaining Estimate: 21840h
>
> Implementation of Patched Frame of Reference.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message