I see.

If you made deeper mods to Lucene you could hold this index in a
packed ints array (trunk only) and save some RAM.

Mike

On Thu, Aug 5, 2010 at 5:53 AM, Li Li <fancye...@gmail.com> wrote:
> 100 docs per query. Because we want to do collapse and rerank search result.
>
> 2010/8/5 Michael McCandless <luc...@mikemccandless.com>:
>> This seems like a good idea.
>>
>> One simple way to do it is to use FileSwitchDirectory, and host *.fdx
>> in RAMDirectory.  You can't use compound file format though.
>>
>> Though, how many docs are you "typically" retrieving per search?
>>
>> Mike
>>
>> On Thu, Aug 5, 2010 at 3:37 AM, Li Li <fancye...@gmail.com> wrote:
>>> hi all
>>>    we analyze system call of lucene and find that the fdx file is
>>> always read when we get field values. In my application the fdt is
>>> about 50GB and fdx is about 120MB. I think it may be benifit to load
>>> fdx into memory just like tii. Anyone else tried this ?
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to