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-7530) Wrong JSON response using Terms Component with distrib=true
Date Mon, 17 Jun 2019 06:38:01 GMT

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

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

| (x) *{color:red}-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}  2m 19s{color} |
{color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  2m  8s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  2m  8s{color} | {color:green}
the patch passed {color} |
| {color:green}+1{color} | {color:green} Release audit (RAT) {color} | {color:green}  2m 
1s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Check forbidden APIs {color} | {color:green}  1m
55s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Validate source patterns {color} | {color:green}
 1m 55s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} unit {color} | {color:red} 52m 54s{color} | {color:red}
core in the patch failed. {color} |
| {color:green}+1{color} | {color:green} unit {color} | {color:green}  0m 41s{color} | {color:green}
test-framework in the patch passed. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 61m  4s{color} | {color:black}
{color} |
\\
\\
|| Reason || Tests ||
| Failed junit tests | solr.util.TestSolrCLIRunExample |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | SOLR-7530 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12971918/SOLR-7530.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 / ded3b77 |
| ant | version: Apache Ant(TM) version 1.9.3 compiled on July 24 2018 |
| Default Java | LTS |
| unit | https://builds.apache.org/job/PreCommit-SOLR-Build/439/artifact/out/patch-unit-solr_core.txt
|
|  Test Results | https://builds.apache.org/job/PreCommit-SOLR-Build/439/testReport/ |
| modules | C: solr solr/core solr/test-framework U: solr |
| Console output | https://builds.apache.org/job/PreCommit-SOLR-Build/439/console |
| Powered by | Apache Yetus 0.7.0   http://yetus.apache.org |


This message was automatically generated.



> Wrong JSON response using Terms Component with distrib=true
> -----------------------------------------------------------
>
>                 Key: SOLR-7530
>                 URL: https://issues.apache.org/jira/browse/SOLR-7530
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers, SearchComponents - other, SolrCloud
>    Affects Versions: 4.9
>            Reporter: Raúl Grande
>            Assignee: Mikhail Khludnev
>            Priority: Major
>             Fix For: master (9.0)
>
>         Attachments: SOLR-7530.patch, SOLR-7530.patch, SOLR-7530.patch
>
>
> When using TermsComponent in SolrCloud there are differences in the JSON response if
parameter distrib is true or false. If distrib=true JSON is not well formed (please note at
the [ ] marks)
> JSON Response when distrib=false. Correct response:
> {"responseHeader":{ 
> 		"status":0, 
> 		"QTime":3
> }, 
> "terms":{ 
> "FileType":
> [ 
> 			"EMAIL",20060, 
> 			"PDF",7051, 
> 			"IMAGE",5108, 
> 			"OFFICE",4912, 
> 			"TXT",4405, 
> 			"OFFICE_EXCEL",4122, 
> 			"OFFICE_WORD",2468
> 		]
> } } 
> JSON Response when distrib=true. Incorrect response:
> { 
> "responseHeader":{
> 		"status":0, 
> 		"QTime":94
> }, 
> "terms":{ 
> "FileType":{ 
> 			"EMAIL":31923, 
> 			"PDF":11545, 
> 			"IMAGE":9807, 
> 			"OFFICE_EXCEL":8195, 
> 			"OFFICE":5147, 
> 			"OFFICE_WORD":4820, 
> 			"TIFF":1156, 
> 			"XML":851, 
> 			"HTML":821, 
> 			"RTF":303
> 		} 
> } } 



--
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