lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5706) Don't allow unsetting values through DocValues updates
Date Sun, 25 May 2014 18:08:01 GMT

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

Shai Erera commented on LUCENE-5706:
------------------------------------

Why is that impossible? Solr can still update the value of the field, just not unset it. What
is the usecase for unsetting a DV field's value?

> Don't allow unsetting values through DocValues updates
> ------------------------------------------------------
>
>                 Key: LUCENE-5706
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5706
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>
> Spinoff from LUCENE-5680: we shouldn't allow unsetting values through DocValues updates,
at least not until there's a real usecase for it. This will simplify a lot of the internal
code, as well make the numeric update API work w/ primitive {{long}} instead of {{Long}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message