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

Simon Willnauer updated LUCENE-2662:
------------------------------------

    Attachment: LUCENE-2662.patch

We are almost there. I factored out ByteRefHash out of TermsHashPerField just 
having two "nocommit" parts left in the code I need to find a solution for. 

* there needs to be a way to communicate the byte usage up to DocumentsWriter 
which I haven't explored yet
* textStarts in ParallelPostingsArray needs to be replaced since it is already 
maintained in ByteRefHash. I will need to look closer into that but suggestions 
are welcome. One way to do it would be to attach a reference to BRH instead of 
the textStart - but that is a naive suggestion since I haven't looked into that 
in more detail.

All tests are passing so far and TermsHashPerField looks somewhat cleaner. I 
will work on fixing those nocommits and run some indexing perf test against the 
patch. 



> BytesHash
> ---------
>
>                 Key: LUCENE-2662
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2662
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: Realtime Branch, 4.0
>            Reporter: Jason Rutherglen
>            Assignee: Simon Willnauer
>            Priority: Minor
>             Fix For: Realtime Branch, 4.0
>
>         Attachments: LUCENE-2662.patch, LUCENE-2662.patch, LUCENE-2662.patch, 
> LUCENE-2662.patch
>
>
> This issue will have the BytesHash separated out from LUCENE-2186

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to