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

Alan Woodward commented on LUCENE-7681:
---------------------------------------

bq. Is the norm really computed lazily?

It is if you don't call freeze, which I hope to remove for 7.0.

re advanceExact, I don't think that applies here, because DV fields in 
MemoryIndex will always have a value?  Unless I'm misunderstanding you.  If you 
call {{advanceExact(0)}}, then docId() will return 0, but if you call it with 
any other value then it will return {{NO_MORE_DOCS}}.

> Remove LegacyDocValues implementations from MemoryIndex
> -------------------------------------------------------
>
>                 Key: LUCENE-7681
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7681
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: master (7.0)
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>         Attachments: LUCENE-7681.patch
>
>
> MemoryIndex in master is using the LegacyDocValue wrappers.  We should 
> replace these with plain 7.0-style iterators instead.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to