lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucene/Solr QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-12127) Using atomic updates to remove docValues type dynamic field does not work
Date Sun, 23 Jun 2019 20:27:00 GMT

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

Lucene/Solr QA commented on SOLR-12127:
---------------------------------------

| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} test4tests {color} | {color:green}  0m  0s{color}
| {color:green} The patch appears to include 2 new or modified test files. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m 55s{color} |
{color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m 57s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  1m 57s{color} | {color:green}
the patch passed {color} |
| {color:green}+1{color} | {color:green} Release audit (RAT) {color} | {color:green}  1m 57s{color}
| {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Check forbidden APIs {color} | {color:green}  1m
57s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Validate source patterns {color} | {color:green}
 1m 57s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} unit {color} | {color:green} 49m 21s{color} | {color:green}
core in the patch passed. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 56m  2s{color} | {color:black}
{color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | SOLR-12127 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12972606/SOLR-12127.patch
|
| Optional Tests |  compile  javac  unit  ratsources  checkforbiddenapis  validatesourcepatterns
 |
| uname | Linux lucene1-us-west 4.4.0-137-generic #163~14.04.1-Ubuntu SMP Mon Sep 24 17:14:57
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | ant |
| Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-SOLR-Build/sourcedir/dev-tools/test-patch/lucene-solr-yetus-personality.sh
|
| git revision | master / 559abd8 |
| ant | version: Apache Ant(TM) version 1.9.3 compiled on July 24 2018 |
| Default Java | LTS |
|  Test Results | https://builds.apache.org/job/PreCommit-SOLR-Build/453/testReport/ |
| modules | C: solr solr/core U: solr |
| Console output | https://builds.apache.org/job/PreCommit-SOLR-Build/453/console |
| Powered by | Apache Yetus 0.7.0   http://yetus.apache.org |


This message was automatically generated.



> Using atomic updates to remove docValues type dynamic field does not work
> -------------------------------------------------------------------------
>
>                 Key: SOLR-12127
>                 URL: https://issues.apache.org/jira/browse/SOLR-12127
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 6.6.2, 7.2
>            Reporter: Oliver Kuldmäe
>            Assignee: Ishan Chattopadhyaya
>            Priority: Critical
>         Attachments: SOLR-12127.patch, SOLR-12127.patch, SOLR-12127.patch, SOLR-12127.patch
>
>
> I have defined a dynamic field which is stored=false, indexed=false and docValues=true.
Attempting to set this field's value to null via atomic update does not remove the field from
the document. However, the document's version is updated. Using atomic updates to set a value
for the field does work. Tested on 6.6.2 and 7.2.1. 
> An example of a non-working update query:
> {code:java}
> <update>
>     <add>
>         <doc>
>             <field name="id">372335</field>
>             <field name="removed_field_262884_i_dv" update="set" null="true"/>
>         </doc>
>     </add>
> </update>
> {code}
>  
> An example of a working update query:
> {code:java}
> <update>
>     <add>
>         <doc>
>             <field name="id">372335</field>
>             <field name="removed_field_262884_i_dv" update="set">1521472499</field>
>         </doc>
>     </add>
> </update>
> {code}



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

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


Mime
View raw message