incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravikumar (JIRA)" <>
Subject [jira] [Updated] (BLUR-290) NRT Updates using RAMDirectory & Swap
Date Tue, 05 Nov 2013 12:20:20 GMT


Ravikumar updated BLUR-290:


The basic points, I have dwelled upon is

1. RealTime index holds a current IW. It keeps accumulating docs there, until the "Commit
Thread" interrupts and swaps it.
2. Once a swap happens, a new transaction-log is opened
3. Previous data gets sort-flushed to disk and committed. At this point, the old-transaction
log is also deleted.
3. IndexSearcher is actually a MultiReader holding one disk-reader and many RAM-readers.
4. NRT re-opens are co-ordinated during "Step 3" to avoid duplicate records being searched

Sources will not compile. I am attaching only few, to get initial reactions

[~amccurry]  I have just tried to handle the write-path alone. Search/Read path can be iterated
later if this patch seems worthwhile.

> NRT Updates using RAMDirectory & Swap
> -------------------------------------
>                 Key: BLUR-290
>                 URL:
>             Project: Apache Blur
>          Issue Type: New Feature
>    Affects Versions: experimental-dev
>            Reporter: Ravikumar
>         Attachments:,,,,,,,,,,,,
> We have been discussing about handling humungous rows in Blur (BLUR-220). Explore the
idea of using RAMDirectory at the front, backed by persistent-index.

This message was sent by Atlassian JIRA

View raw message