[jira] Resolved: (LUCENE-870) add concurrent merge policy

2007-09-18 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-870. --- Resolution: Fixed > add concurrent merge pol

[jira] Updated: (LUCENE-870) add concurrent merge policy

2007-08-27 Thread Michael McCandless (JIRA)
on LUCENE-847. > add concurrent merge policy > --- > > Key: LUCENE-870 > URL: https://issues.apache.org/jira/browse/LUCENE-870 > Project: Lucene - Java > Issue Type: New Feature >

[jira] Updated: (LUCENE-870) add concurrent merge policy

2007-08-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-870: -- Fix Version/s: 2.3 > add concurrent merge pol

[jira] Updated: (LUCENE-870) add concurrent merge policy

2007-08-24 Thread Michael McCandless (JIRA)
o with 4 drives in a RAID 0 array). > add concurrent merge policy > --- > > Key: LUCENE-870 > URL: https://issues.apache.org/jira/browse/LUCENE-870 > Project: Lucene - Java > Issue Type: New Feat

[jira] Updated: (LUCENE-870) add concurrent merge policy

2007-08-20 Thread Steven Parkes (JIRA)
lenging to parallelize. It's synchronized now, but you probably would rather it not be? It's complicated by the fact that doc stores are shared by multiple segments and so non-conflicting merges may stll share doc stores. > add concurrent merge policy > --

[jira] Updated: (LUCENE-870) add concurrent merge policy

2007-08-06 Thread Steven Parkes (JIRA)
47 is supposed to the non-concurrent changes. > add concurrent merge policy > --- > > Key: LUCENE-870 > URL: https://issues.apache.org/jira/browse/LUCENE-870 > Project: Lucene - Java >

[jira] Commented: (LUCENE-870) add concurrent merge policy

2007-04-27 Thread Steven Parkes (JIRA)
is to LUCENE-847, not LUCENE-848. Perhaps someone with JIRA "manage links" permissions can delete the wrong one. > add concurrent merge policy > --- > > Key: LUCENE-870 > URL: https://issues.apache.org/jira/browse/LU

[jira] Created: (LUCENE-870) add concurrent merge policy

2007-04-27 Thread Steven Parkes (JIRA)
add concurrent merge policy --- Key: LUCENE-870 URL: https://issues.apache.org/jira/browse/LUCENE-870 Project: Lucene - Java Issue Type: New Feature Components: Index Reporter: Steven Parkes

Re: Concurrent merge

2007-03-29 Thread Ning Li
FYI: Patch submitted in http://issues.apache.org/jira/browse/LUCENE-847. Cheers, Ning "Here is a patch for concurrent merge as discussed in: http://www.gossamer-threads.com/lists/lucene/java-dev/45651?search_string=concurrent%20merge;#45651 "I put it under this issue because it he

Re: Concurrent merge

2007-03-03 Thread Otis Gospodnetic
Tag - Search - Share - Original Message From: Ning Li <[EMAIL PROTECTED]> To: java-dev@lucene.apache.org Sent: Friday, March 2, 2007 5:44:55 PM Subject: Re: Concurrent merge Many good points! Thanks, guys! When background merge is employed, document additions can out-pace merging

Re: Concurrent merge

2007-03-02 Thread Ning Li
Many good points! Thanks, guys! When background merge is employed, document additions can out-pace merging, no matter how many background merge threads are used. Blocking has to happen at some point. So, if we do anything, we make it simple. I agree with what Robert and Yonik have proposed: docu

Re: Concurrent merge

2007-02-21 Thread Yonik Seeley
On 2/21/07, Doron Cohen <[EMAIL PROTECTED]> wrote: > > The downside is another complexity increase though. I think complexity can be divided in two: (1) more complex synchronization and data-manipulation/accounting (2) multi-threading. The multi-threading becoming part of and responsibility of

Re: Concurrent merge

2007-02-21 Thread Doron Cohen
Yonik Seeley wrote: > > > On 2/21/07, Doron Cohen <[EMAIL PROTECTED]> wrote: > >> Ning Li wrote: > >> > >> > There are three main challenges in enabling concurrent merge: > >> > 1 a robust merge policy > >> > 2 detect wh

Re: Concurrent merge

2007-02-21 Thread robert engels
way. On Feb 21, 2007, at 5:23 PM, Yonik Seeley wrote: On 2/21/07, Doron Cohen <[EMAIL PROTECTED]> wrote: Ning Li wrote: > There are three main challenges in enabling concurrent merge: > 1 a robust merge policy > 2 detect when merge lags document additions/deletions >

Re: Concurrent merge

2007-02-21 Thread Yonik Seeley
On 2/21/07, Doron Cohen <[EMAIL PROTECTED]> wrote: Ning Li wrote: > There are three main challenges in enabling concurrent merge: > 1 a robust merge policy > 2 detect when merge lags document additions/deletions > 3 how to slow down document additions/deletions (and

Re: Concurrent merge

2007-02-21 Thread Doron Cohen
Ning Li wrote: > There are three main challenges in enabling concurrent merge: > 1 a robust merge policy > 2 detect when merge lags document additions/deletions > 3 how to slow down document additions/deletions (and amortize > the cost) when merge falls behind I wonde

Re: Concurrent merge

2007-02-21 Thread robert engels
rote about "Concurrent merge": I think it's possible for another version of IndexWriter to have a concurrent merge thread so that disk segments could be merged while documents are being added or deleted. This would be beneficial not only because it will improve indexing performance whe

Re: Concurrent merge

2007-02-21 Thread Nadav Har'El
On Tue, Feb 20, 2007, Ning Li wrote about "Concurrent merge": > I think it's possible for another version of IndexWriter to have > a concurrent merge thread so that disk segments could be merged > while documents are being added or deleted. > This would be benefici

Re: Concurrent merge

2007-02-21 Thread Nadav Har'El
On Tue, Feb 20, 2007, robert engels wrote about "Re: Concurrent merge": > What about a queue of segments to merge. The add document will add > segments to the queue, if the queue contains too many segments it > blocks. > > Another thread reads the segments from

Re: Concurrent merge

2007-02-21 Thread Yonik Seeley
On 2/21/07, Ning Li <[EMAIL PROTECTED]> wrote: I agree that the current blocking model works for some applications, especially if the indexes are batch built. But other applications, e.g. with online indexes, would greatly benefit from a non-blocking model. Most systems that merge data support b

Re: Concurrent merge

2007-02-21 Thread robert engels
The point I was trying to make is that even if you use a background thread for merging, that at some point it may block, if the document additions out-pace the merging. On Feb 21, 2007, at 11:47 AM, Ning Li wrote: I agree that the current blocking model works for some applications, especial

Re: Concurrent merge

2007-02-21 Thread Ning Li
I agree that the current blocking model works for some applications, especially if the indexes are batch built. But other applications, e.g. with online indexes, would greatly benefit from a non-blocking model. Most systems that merge data support background merges. As long as we keep it simple (

Re: Concurrent merge

2007-02-20 Thread Mike Klaas
On 2/20/07, robert engels <[EMAIL PROTECTED]> wrote: What about a queue of segments to merge. The add document will add segments to the queue, if the queue contains too many segments it blocks. Another thread reads the segments from the queue and merges them. This would effectively block adding

Re: Concurrent merge

2007-02-20 Thread robert engels
different than what happens now. On Feb 20, 2007, at 1:22 PM, Ning Li wrote: I think it's possible for another version of IndexWriter to have a concurrent merge thread so that disk segments could be merged while documents are being added or deleted. This would be beneficial not only because it

Concurrent merge

2007-02-20 Thread Ning Li
I think it's possible for another version of IndexWriter to have a concurrent merge thread so that disk segments could be merged while documents are being added or deleted. This would be beneficial not only because it will improve indexing performance when there are enough system resources