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

Michael McCandless commented on LUCENE-5296:
--------------------------------------------

Thanks Adrien.

bq.  I'm just curious why you decided to implement a dedicated consumer instead 
of reusing internally eg. DiskDocValuesFormat in a similar fashion to what 
DirectPostingsFormat does with Lucene41PostingsFormat?  Is it to avoid doing 
too much work upon reopen to compute things like byte widths for numerics?

Actually, it hadn't occurred to me to "wrap" like we did for DirectPF, I guess 
because a DVF is so much easier to write than a PF ... we could consider doing 
that.

But, I do think it's good to minimize work on loading values at search time... 
I actually started from MemoryDVF/C/P and then iterated to the "simple arrays".

> Add DirectDocValuesFormat
> -------------------------
>
>                 Key: LUCENE-5296
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5296
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.6, 5.0
>
>         Attachments: LUCENE-5296.patch
>
>
> Indexes values to disk but at search time it loads/accesses the values via 
> simple java arrays (i.e. no compression).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to