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

List:       solr-user
Subject:    Re: Question Solr Index main in RAM
From:       William Bell <billnbell () gmail ! com>
Date:       2011-02-28 3:56:57
Message-ID: AANLkTinJQZHo3cQb1+en-XqOgT3PFeX0dmpPUKqe9bqT () mail ! gmail ! com
[Download RAW message or body]

I have used ram disks on slaves, since the master is already persisted.

On Sun, Feb 27, 2011 at 7:00 PM, Nick Jenkin <njenkin@gmail.com> wrote:
> You could also try using a ram disk,
> mkdir /var/ramdisk
> mount -t tmpfs none /var/ramdisk -o size=xxxxm
>
> Obviously, if you lose power you will lose everything..
>
> On Mon, Feb 28, 2011 at 11:37 AM, Lance Norskog <goksron@gmail.com> wrote:
>> This sounds like a great idea but rarely works out. Garbage collection
>> has to work around the data stored in memory, and most of the data you
>> want to hit frequently is in the indexed and cached. The operating
>> system is very smart about keeping the popular parts of the index in
>> memory, and there is no garbage collection there.
>>
>> I do not know if the RAMDirectoryFactory in current development has
>> disk-backed persistence.
>>
>> On Thu, Feb 24, 2011 at 7:26 AM, Bill Bell <billnbell@gmail.com> wrote:
>>> How to use this?
>>>
>>> Bill Bell
>>> Sent from mobile
>>>
>>>
>>> On Feb 24, 2011, at 7:19 AM, Koji Sekiguchi <koji@r.email.ne.jp> wrote:
>>>
>>>> (11/02/24 21:38), Andrés Ospina wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> My name is Felipe and i want to use the index main of solr in RAM memory.
>>>>>
>>>>> How it's possible? I have solr 1.4
>>>>>
>>>>> Thank you!
>>>>>
>>>>> Felipe
>>>>
>>>> Welcome Felipe!
>>>>
>>>> If I understand your question correctly, you can use RAMDirectoryFactory:
>>>>
>>>> https://hudson.apache.org/hudson/job/Solr-3.x/javadoc/org/apache/solr/core/RAMDirectoryFactory.html
>>>>
>>>> But I believe it is available 3.1 (to be released soon...).
>>>>
>>>> Koji
>>>> --
>>>> http://www.rondhuit.com/en/
>>>
>>
>>
>>
>> --
>> Lance Norskog
>> goksron@gmail.com
>>
>

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

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