[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-user
Subject:    Re: Extending Directory Object
From:       Matt Davis <kryptonics411 () gmail ! com>
Date:       2022-12-19 17:45:53
Message-ID: CAKAo3tS1VE=kaQ0Y3i6NOznZmGKa6ZHUyYpTbxUD1gR4BD37vg () mail ! gmail ! com
[Download RAW message or body]


A really old example (Lucene 6.x) is here:
https://github.com/lumongo/lumongo/wiki/Distributed-Directory
https://github.com/lumongo/lumongo/tree/master/lumongo-storage/src/main/java/org/lumongo/storage/lucene

But the gist is to extend BaseDirectory and IndexOutput/IndexInput which I
think still applies.

The above project was abandoned because storing the index in MongoDB (or
any DB) probably requires block caching in memory for decent performance in
which case you are caching plus the DB is caching and using more memory.
Can you expand on your use case for custom storage?

Thanks,
Matt


On Mon, Dec 19, 2022 at 12:31 PM Vaibhav Khanduja <vaibhavkhanduja@gmail.com>
wrote:

> Hello,
>
> I am looking to write out a custom storage for lucene indexes. Can somebody
> point me to a location where I can find an example of it?
>
> Thx
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic