You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2011/06/17 01:15:47 UTC

[jira] [Commented] (LUCENE-3209) Memory codec

    [ https://issues.apache.org/jira/browse/LUCENE-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050793#comment-13050793 ] 

Michael McCandless commented on LUCENE-3209:
--------------------------------------------

To clarify: this codec stores postings on disk, but then on read (for searching) it loads the full byte[] from disk into RAM.

> Memory codec
> ------------
>
>                 Key: LUCENE-3209
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3209
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-3209.patch
>
>
> This codec stores all terms/postings in RAM.  It uses an
> FST<BytesRef>.  This is useful on a primary key field to ensure
> lookups don't need to hit disk, to keep NRT reopen time fast even
> under IO contention.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org