lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-2871) Use FileChannel in FSDirectory
Date Wed, 19 Jan 2011 17:10:45 GMT


Michael McCandless commented on LUCENE-2871:

I attempted to benchmark this patch, testing indexing time for Wikipedia docs, but I hit this

Exception in thread "Lucene Merge Thread #49" org.apache.lucene.index.MergePolicy$MergeException:
	at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(
	at org.apache.lucene.index.ConcurrentMergeScheduler$
Caused by: java.nio.BufferOverflowException
	at java.nio.Buffer.nextPutIndex(
	at java.nio.DirectByteBuffer.putLong(
	at org.apache.lucene.index.codecs.PrefixCodedTermsWriter.writeTrailer(
	at org.apache.lucene.index.codecs.PrefixCodedTermsWriter.close(
	at org.apache.lucene.index.PerFieldCodecWrapper$FieldsWriter.close(
	at org.apache.lucene.index.SegmentMerger.mergeTerms(
	at org.apache.lucene.index.SegmentMerger.merge(
	at org.apache.lucene.index.IndexWriter.mergeMiddle(
	at org.apache.lucene.index.IndexWriter.merge(
	at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(
	at org.apache.lucene.index.ConcurrentMergeScheduler$

This was after adding ~6 M docs... the 100K doc index built just fine.  Shay any ideas?

> Use FileChannel in FSDirectory
> ------------------------------
>                 Key: LUCENE-2871
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Store
>            Reporter: Shay Banon
>         Attachments: LUCENE-2871.patch
> Explore using FileChannel in FSDirectory to see if it improves write operations performance

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:
For additional commands, e-mail:

View raw message