lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4538) Cache DocValues DirecSource
Date Mon, 05 Nov 2012 13:40:14 GMT


Robert Muir commented on LUCENE-4538:

I haven't looked in detail (will try to do a real review later) but I think something like
this is really needed.

Its currently absurd: we make it easy as pie to load up enormous data structures in RAM but
nearly impossible to use stuff from disk.

It should be the other way around.

We can certainly reduce the overhead (maybe different issue)

We should do this too!

> Cache DocValues DirecSource 
> ----------------------------
>                 Key: LUCENE-4538
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/codecs
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>             Fix For: 4.1, 5.0
>         Attachments: LUCENE-4538.patch
> Currently the user need to make sure that a direct source is not shared between threads
and each time someone calls getDirectSource we create a new source which has a reasonable
overhead. We can certainly reduce the overhead (maybe different issue) but it should be easier
for the user to get a direct source and handle it. More than that is should be consistent
with getSource / loadSource.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message