lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8068) Allow IndexWriter to write a single DWPT to disk
Date Fri, 01 Dec 2017 14:38:00 GMT

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

ASF subversion and git services commented on LUCENE-8068:
---------------------------------------------------------

Commit 832a975bc4aaa12f7f96443bd1b2b4b6be65a48c in lucene-solr's branch refs/heads/master
from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=832a975 ]

LUCENE-8068: remove now-unused import

(to fix 'ant precommit' failing)


> Allow IndexWriter to write a single DWPT to disk
> ------------------------------------------------
>
>                 Key: LUCENE-8068
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8068
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Simon Willnauer
>             Fix For: master (8.0), 7.2
>
>         Attachments: LUCENE-8068.patch, LUCENE-8068.patch, LUCENE-8068.patch, LUCENE-8068.patch
>
>
> Today we IW can only flush a DWPT to disk if an external resource calls flush()  or refreshes
a NRT reader or if a DWPT is selected as flush pending. Yet, the latter has the problem that
it always ties up an indexing thread and if flush / NRT refresh is called a whole bunch of
indexing threads is tied up. If IW could offer a simple `flushNextBuffer()` method that synchronously
flushes the next pending or biggest active buffer to disk memory could be controlled in a
more fine granular fashion from outside of the IW. This is for instance useful if more than
one IW (shards) must be maintained in a single JVM / system. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message