[jira] [Commented] (LUCENE-8316) Allow DV updates for not existing fields

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-8316) Allow DV updates for not existing fields

JIRA jira@apache.org

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

ASF subversion and git services commented on LUCENE-8316:
---------------------------------------------------------

Commit fa00c9e55c1660faf11008b6cab32c8a940207f2 in lucene-solr's branch refs/heads/branch_7x from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=fa00c9e ]

LUCENE-8316: Allow DV updates for not existing fields

Today we prevent DV updates for non-existing fields except
of the soft deletes case. Yet, this can cause inconsitent field numbers
etc. since we don't go through the global field number map etc. This
change removes the limitation of updating DVs in docs even if the field
doesn't exists. This also has the benefit that the error messages if
the field type doesn't match is consistent with what DWPT throws.


> Allow DV updates for not existing fields
> ----------------------------------------
>
>                 Key: LUCENE-8316
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8316
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 7.4, master (8.0)
>            Reporter: Simon Willnauer
>            Priority: Major
>             Fix For: 7.4, master (8.0)
>
>         Attachments: LUCENE-8316.patch, LUCENE-8316.patch
>
>
>  Today we prevent DV updates for non-existing fields except
>     of the soft deletes case. Yet, this can cause inconsitent field numbers
>     etc. since we don't go through the global field number map etc. This
>     change removes the limitation of updating DVs in docs even if the field
>     doesn't exists. This also has the benefit that the error messages if
>     the field type doesn't match is consistent with what DWPT throws.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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