lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Diss (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENENET-530) Create a truly Memory Mapped Directory type as MMapDirectory is not really memory mapped
Date Mon, 09 Dec 2013 20:32:08 GMT

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

John Diss updated LUCENENET-530:
--------------------------------

    Attachment: lucene.net.contrib.store.patch

patch to create a new lucene.net.contrib.store  project + associated test project. Updated
MemoryMappedDirectory code. Wrote a simple test that:
creates a memorymappeddirectory;
uses that directory to create a writer;
writes 5 documents;
uses the directory to create a reader ;
tests doc count matches expectations and retrieves a doc;
writes a further 5 documents;
closes reader;
opens a new reader;
tests doc count matches expectations and retrieves a doc from the second batch;
closes second reader;
closes writer;
closes directory;
cleans files

> Create a truly Memory Mapped Directory type as MMapDirectory is not really memory mapped
> ----------------------------------------------------------------------------------------
>
>                 Key: LUCENENET-530
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-530
>             Project: Lucene.Net
>          Issue Type: Improvement
>          Components: Lucene.Net Contrib
>    Affects Versions: Lucene.Net 3.0.3
>         Environment: x64 asp.net mvc 5
>            Reporter: John Diss
>            Assignee: Itamar Syn-Hershko
>            Priority: Minor
>              Labels: features
>         Attachments: MemoryMappedDirectory.cs, lucene.net.contrib.store.patch
>
>
> MemoryMappedDirectory is a "write once" / readonly directory which uses OS memory mapping




--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message