[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-12-02 Thread Cassandra Targett (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cassandra Targett updated SOLR-13980:
-
Description: 
Hi Team,

We are trying to update only child or parent document in solr 8.3 version  as 
per the example mentioned in 
document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
 , but the issue we facing is child or parent document alone not getting 
updated.

When we query using parent child query not retuning updated value , but when we 
query using q=*:* in debug mode enabled , document count got increased by 1 
.i.e. 3 to 4 but its not replace right child doc.

Can you please let us know is there any other configuration need to be added to 
support feature  (or) child or parent document only update feature not 
supported currently ?

*+Configuration:+*

Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
using external zookeeper.

Attached solr-config.xml , managed-schema.xml , parent child query output in 
ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
file.

Same example we executed as per document .

*+Index Operation:+*

{code}
{
  "id": "mydoc",
  "path_s": "1.mydoc",
  "parent_id_s": "mydoc",
  "product_s": "T-Shirt",
  "stock": [
{ "path_s": "2.mydoc-mydoc2",   "id": "mydoc2",   "parent_id_s": 
"mydoc2",   "color_s": "red",   "size_ss": ["L"]     },
{ "path_s": "2.mydoc-mydoc3",   "id": "mydoc3",   "parent_id_s": 
"mydoc3",   "color_s": "blue",   "size_ss": ["M" ]     }
  ]
}
{code}


*+Update Operation:+*

{code}
curl -X POST -H 'Content-Type: application/json' 
'[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
--data-binary '{  "id":"mydoc2",   "color_s":{"set":"test"}}'
{code}

_edit_: remove extra spacing to make it easier to read

  was:
Hi Team,

 

We are trying to update only child or parent document in solr 8.3 version  as 
per the example mentioned in 
document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
 , but the issue we facing is child or parent document alone not getting 
updated.

 

When we query using parent child query not retuning updated value , but when we 
query using q=*:* in debug mode enabled , document count got increased by 1 
.i.e. 3 to 4 but its not replace right child doc.

 

Can you please let us know is there any other configuration need to be added to 
support feature  (or) child or parent document only update feature not 
supported currently ?

 

 

*+Configuration:+*

Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
using external zookeeper.

Attached solr-config.xml , managed-schema.xml , parent child query output in 
ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
file.

 

 

Same example we executed as per document .

 

*+Index Operation:+*

 

{

  "id": "mydoc",

  "path_s": "1.mydoc",

  "parent_id_s": "mydoc",

  "product_s": "T-Shirt",

  "stock": [

   

{   "path_s": "2.mydoc-mydoc2",   "id": "mydoc2",   "parent_id_s": 
"mydoc2",   "color_s": "red",   "size_ss": ["L"]     }

,

   

{   "path_s": "2.mydoc-mydoc3",   "id": "mydoc3",   "parent_id_s": 
"mydoc3",   "color_s": "blue",   "size_ss": ["M" ]     }

  ]

}

 

 

*+Update Operation:+*

curl -X POST -H 'Content-Type: application/json' 
'[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
--data-binary '

{   "id":"mydoc2",   "color_s":

{"set":"test"}

}'

 

 

 

 

 

 

 

 

 


> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, Screenshot 2019-11-25 at 
> 4.24.36 PM.png, Screenshot 2019-11-25 at 4.26.12 PM.png, Screenshot 
> 2019-11-25 at 4.30.38 PM.png, Screenshot 2019-11-25 at 4.48.54 PM.png, 
> SelectAllQuery.txt, managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child or parent document alone not getting 
> updated.
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got increased by 
> 1 .i.e. 3 to 4 but its not replace right child doc.
> Can you please let 

[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-11-29 Thread Pavan (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan updated SOLR-13980:
-
Description: 
Hi Team,

 

We are trying to update only child or parent document in solr 8.3 version  as 
per the example mentioned in 
document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
 , but the issue we facing is child or parent document alone not getting 
updated.

 

When we query using parent child query not retuning updated value , but when we 
query using q=*:* in debug mode enabled , document count got increased by 1 
.i.e. 3 to 4 but its not replace right child doc.

 

Can you please let us know is there any other configuration need to be added to 
support feature  (or) child or parent document only update feature not 
supported currently ?

 

 

*+Configuration:+*

Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
using external zookeeper.

Attached solr-config.xml , managed-schema.xml , parent child query output in 
ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
file.

 

 

Same example we executed as per document .

 

*+Index Operation:+*

 

{

  "id": "mydoc",

  "path_s": "1.mydoc",

  "parent_id_s": "mydoc",

  "product_s": "T-Shirt",

  "stock": [

   

{   "path_s": "2.mydoc-mydoc2",   "id": "mydoc2",   "parent_id_s": 
"mydoc2",   "color_s": "red",   "size_ss": ["L"]     }

,

   

{   "path_s": "2.mydoc-mydoc3",   "id": "mydoc3",   "parent_id_s": 
"mydoc3",   "color_s": "blue",   "size_ss": ["M" ]     }

  ]

}

 

 

*+Update Operation:+*

curl -X POST -H 'Content-Type: application/json' 
'[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
--data-binary '

{   "id":"mydoc2",   "color_s":

{"set":"test"}

}'

 

 

 

 

 

 

 

 

 

  was:
Hi Team,

 

We are trying to update only child or parent document in solr 8.3 version  as 
per the example mentioned in 
document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
 , but the issue we facing is child. Or parent document alone not  getting 
updated.

 

When we query using parent child query not retuning updated value , but when we 
query using q=*:* in debug mode enabled , document count got increased by 1 
.i.e. 3 to 4 but its not replace right child doc.

 

Can you please let us know is there any other configuration need to be added to 
support feature  (or) child or parent document only update feature not 
supported currently ?

 

 

*+Configuration:+*

Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
using external zookeeper.

Attached solr-config.xml , managed-schema.xml , parent child query output in 
ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
file.

 

 

Same example we executed as per document .

 

*+Index Operation:+*

 

{

  "id": "mydoc",

  "path_s": "1.mydoc",

  "parent_id_s": "mydoc",

  "product_s": "T-Shirt",

  "stock": [

   

{   "path_s": "2.mydoc-mydoc2",   "id": "mydoc2",   "parent_id_s": 
"mydoc2",   "color_s": "red",   "size_ss": ["L"]     }

,

   

{   "path_s": "2.mydoc-mydoc3",   "id": "mydoc3",   "parent_id_s": 
"mydoc3",   "color_s": "blue",   "size_ss": ["M" ]     }

  ]

}

 

 

*+Update Operation:+*

curl -X POST -H 'Content-Type: application/json' 
'[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
--data-binary '

{   "id":"mydoc2",   "color_s": 

{"set":"test"}

}'

 

 

 

 

 

 

 

 

 


> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, Screenshot 2019-11-25 at 
> 4.24.36 PM.png, Screenshot 2019-11-25 at 4.26.12 PM.png, Screenshot 
> 2019-11-25 at 4.30.38 PM.png, Screenshot 2019-11-25 at 4.48.54 PM.png, 
> SelectAllQuery.txt, managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
>  
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child or parent document alone not getting 
> updated.
>  
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got increased by 
> 1 .i.e. 3 to 4 but its not replace right child doc.
>  
> Can you please let 

[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-11-29 Thread Pavan (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan updated SOLR-13980:
-
Description: 
Hi Team,

 

We are trying to update only child or parent document in solr 8.3 version  as 
per the example mentioned in 
document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
 , but the issue we facing is child. Or parent document alone not  getting 
updated.

 

When we query using parent child query not retuning updated value , but when we 
query using q=*:* in debug mode enabled , document count got increased by 1 
.i.e. 3 to 4 but its not replace right child doc.

 

Can you please let us know is there any other configuration need to be added to 
support feature  (or) child or parent document only update feature not 
supported currently ?

 

 

*+Configuration:+*

Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
using external zookeeper.

Attached solr-config.xml , managed-schema.xml , parent child query output in 
ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
file.

 

 

Same example we executed as per document .

 

*+Index Operation:+*

 

{

  "id": "mydoc",

  "path_s": "1.mydoc",

  "parent_id_s": "mydoc",

  "product_s": "T-Shirt",

  "stock": [

   

{   "path_s": "2.mydoc-mydoc2",   "id": "mydoc2",   "parent_id_s": 
"mydoc2",   "color_s": "red",   "size_ss": ["L"]     }

,

   

{   "path_s": "2.mydoc-mydoc3",   "id": "mydoc3",   "parent_id_s": 
"mydoc3",   "color_s": "blue",   "size_ss": ["M" ]     }

  ]

}

 

 

*+Update Operation:+*

curl -X POST -H 'Content-Type: application/json' 
'[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
--data-binary '

{   "id":"mydoc2",   "color_s": 

{"set":"test"}

}'

 

 

 

 

 

 

 

 

 

  was:
Hi Team,

 

We are trying to update only child or parent document in solr 8.3 version  as 
per the example mentioned in 
document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
 , but the issue we facing is child. Or parent document alone not  getting 
updated.

 

When we query using parent child query not retuning updated value , but when we 
query using q=*:* in debug mode enabled , document count got increased by 1 
.i.e. 3 to 4 but its not replace right child doc.

 

Can you please let us know is there any other configuration need to be added to 
support feature  (or) child or parent document only update feature not 
supported currently ?

 

 

*+Configuration:+*

Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
using external zookeeper.

Attached solr-config.xml , managed-schema.xml , parent child query output in 
ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
file.

 

 

Same example we executed as per document .

 

*+Index Operation:+*

 

{

  "id": "mydoc",

  "path_s": "1.mydoc",

  "parent_id_s": "mydoc",

  "product_s": "T-Shirt",

  "stock": [

   

{   "path_s": "2.mydoc-mydoc2",   "id": "mydoc2",   "parent_id_s": 
"mydoc2",   "color_s": "red",   "size_ss": ["L"]     }

,

   

{   "path_s": "2.mydoc-mydoc3",   "id": "mydoc3",   "parent_id_s": 
"mydoc3",   "color_s": "blue",   "size_ss": ["M" ]     }

  ]

}

 

 

*+Update Operation:+*

 *++* 

curl -X POST -H 'Content-Type: application/json' 
'[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
--data-binary '

{   "id":"mydoc2",   "color_s": \\{"set":"test"}

}'

 

 

 

 

 

 

 

 

 


> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, Screenshot 2019-11-25 at 
> 4.24.36 PM.png, Screenshot 2019-11-25 at 4.26.12 PM.png, Screenshot 
> 2019-11-25 at 4.30.38 PM.png, Screenshot 2019-11-25 at 4.48.54 PM.png, 
> SelectAllQuery.txt, managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
>  
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child. Or parent document alone not  getting 
> updated.
>  
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got increased by 
> 1 .i.e. 3 to 4 but its not replace right child doc.
>  
> Can you 

[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-11-29 Thread Pavan (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan updated SOLR-13980:
-
Attachment: Screenshot 2019-11-25 at 4.24.36 PM.png

> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, Screenshot 2019-11-25 at 
> 4.24.36 PM.png, Screenshot 2019-11-25 at 4.26.12 PM.png, Screenshot 
> 2019-11-25 at 4.30.38 PM.png, Screenshot 2019-11-25 at 4.48.54 PM.png, 
> SelectAllQuery.txt, managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
>  
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child. Or parent document alone not  getting 
> updated.
>  
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got increased by 
> 1 .i.e. 3 to 4 but its not replace right child doc.
>  
> Can you please let us know is there any other configuration need to be added 
> to support feature  (or) child or parent document only update feature not 
> supported currently ?
>  
>  
> *+Configuration:+*
> Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
> using external zookeeper.
> Attached solr-config.xml , managed-schema.xml , parent child query output in 
> ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
> file.
>  
>  
> Same example we executed as per document .
>  
> *+Index Operation:+*
>  
> {
>   "id": "mydoc",
>   "path_s": "1.mydoc",
>   "parent_id_s": "mydoc",
>   "product_s": "T-Shirt",
>   "stock": [
>    
> {   "path_s": "2.mydoc-mydoc2",   "id": "mydoc2",   
> "parent_id_s": "mydoc2",   "color_s": "red",   "size_ss": ["L"]     }
> ,
>    
> {   "path_s": "2.mydoc-mydoc3",   "id": "mydoc3",   
> "parent_id_s": "mydoc3",   "color_s": "blue",   "size_ss": ["M" ]     
> }
>   ]
> }
>  
>  
> *+Update Operation:+*
>  *++* 
> curl -X POST -H 'Content-Type: application/json' 
> '[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
> --data-binary '
> {   "id":"mydoc2",   "color_s": \\{"set":"test"}
> }'
>  
>  
>  
>  
>  
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-11-29 Thread Pavan (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan updated SOLR-13980:
-
Attachment: Screenshot 2019-11-25 at 4.30.38 PM.png

> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, Screenshot 2019-11-25 at 
> 4.24.36 PM.png, Screenshot 2019-11-25 at 4.26.12 PM.png, Screenshot 
> 2019-11-25 at 4.30.38 PM.png, Screenshot 2019-11-25 at 4.48.54 PM.png, 
> SelectAllQuery.txt, managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
>  
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child. Or parent document alone not  getting 
> updated.
>  
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got increased by 
> 1 .i.e. 3 to 4 but its not replace right child doc.
>  
> Can you please let us know is there any other configuration need to be added 
> to support feature  (or) child or parent document only update feature not 
> supported currently ?
>  
>  
> *+Configuration:+*
> Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
> using external zookeeper.
> Attached solr-config.xml , managed-schema.xml , parent child query output in 
> ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
> file.
>  
>  
> Same example we executed as per document .
>  
> *+Index Operation:+*
>  
> {
>   "id": "mydoc",
>   "path_s": "1.mydoc",
>   "parent_id_s": "mydoc",
>   "product_s": "T-Shirt",
>   "stock": [
>    
> {   "path_s": "2.mydoc-mydoc2",   "id": "mydoc2",   
> "parent_id_s": "mydoc2",   "color_s": "red",   "size_ss": ["L"]     }
> ,
>    
> {   "path_s": "2.mydoc-mydoc3",   "id": "mydoc3",   
> "parent_id_s": "mydoc3",   "color_s": "blue",   "size_ss": ["M" ]     
> }
>   ]
> }
>  
>  
> *+Update Operation:+*
>  *++* 
> curl -X POST -H 'Content-Type: application/json' 
> '[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
> --data-binary '
> {   "id":"mydoc2",   "color_s": \\{"set":"test"}
> }'
>  
>  
>  
>  
>  
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-11-29 Thread Pavan (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan updated SOLR-13980:
-
Description: 
Hi Team,

 

We are trying to update only child or parent document in solr 8.3 version  as 
per the example mentioned in 
document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
 , but the issue we facing is child. Or parent document alone not  getting 
updated.

 

When we query using parent child query not retuning updated value , but when we 
query using q=*:* in debug mode enabled , document count got increased by 1 
.i.e. 3 to 4 but its not replace right child doc.

 

Can you please let us know is there any other configuration need to be added to 
support feature  (or) child or parent document only update feature not 
supported currently ?

 

 

*+Configuration:+*

Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
using external zookeeper.

Attached solr-config.xml , managed-schema.xml , parent child query output in 
ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
file.

 

 

Same example we executed as per document .

 

*+Index Operation:+*

 

{

  "id": "mydoc",

  "path_s": "1.mydoc",

  "parent_id_s": "mydoc",

  "product_s": "T-Shirt",

  "stock": [

   

{   "path_s": "2.mydoc-mydoc2",   "id": "mydoc2",   "parent_id_s": 
"mydoc2",   "color_s": "red",   "size_ss": ["L"]     }

,

   

{   "path_s": "2.mydoc-mydoc3",   "id": "mydoc3",   "parent_id_s": 
"mydoc3",   "color_s": "blue",   "size_ss": ["M" ]     }

  ]

}

 

 

*+Update Operation:+*

 *++* 

curl -X POST -H 'Content-Type: application/json' 
'[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
--data-binary '

{   "id":"mydoc2",   "color_s": \\{"set":"test"}

}'

 

 

 

 

 

 

 

 

 

  was:
Hi Team,

 

We are trying to update only child or parent document in solr 8.3 version  as 
per the example mentioned in 
document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
 , but the issue we facing is child. Or parent document alone not  getting 
updated.

 

When we query using parent child query not retuning updated value , but when we 
query using q=*:* in debug mode enabled , document count got increased by 1 
.i.e. 3 to 4 but its not replace right child doc.

 

Can you please let us know is there any other configuration need to be added to 
support feature  (or) child or parent document only update feature not 
supported currently ?

 

 

*+Configuration:+* 

Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
using external zookeeper.

Attached solr-config.xml , managed-schema.xml , parent child query output in 
ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
file.

 

 

Same example we executed as per document .

 

*+Index Operation:+*

 

{

  "id": "mydoc",

  "path_s": "1.mydoc",

  "parent_id_s": "mydoc",

  "product_s": "T-Shirt",

  "stock": [

    {

  "path_s": "2.mydoc-mydoc2",

  "id": "mydoc2",

  "parent_id_s": "mydoc2",

  "color_s": "red",

  "size_ss": ["L"]

    },

    {

  "path_s": "2.mydoc-mydoc3",

  "id": "mydoc3",

  "parent_id_s": "mydoc3",

  "color_s": "blue",

  "size_ss": ["M" ]

    }

  ]

}

!Screenshot 2019-11-25 at 4.48.54 PM.png!

 

*+Update Operation:+*

 *++* 

curl -X POST -H 'Content-Type: application/json' 
'[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
--data-binary '

{

  "id":"mydoc2",

  "color_s": \{"set":"test"}

}'

 

!image-2019-11-29-14-27-16-606.png!

*+Parent Child Query Result:+*

 

*!Screenshot 2019-11-25 at 4.30.38 PM.png!*

 

 

 

 


> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, Screenshot 2019-11-25 at 
> 4.26.12 PM.png, Screenshot 2019-11-25 at 4.48.54 PM.png, SelectAllQuery.txt, 
> managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
>  
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child. Or parent document alone not  getting 
> updated.
>  
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got 

[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-11-29 Thread Pavan (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan updated SOLR-13980:
-
Attachment: Screenshot 2019-11-25 at 4.48.54 PM.png

> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, Screenshot 2019-11-25 at 
> 4.26.12 PM.png, Screenshot 2019-11-25 at 4.48.54 PM.png, SelectAllQuery.txt, 
> managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
>  
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child. Or parent document alone not  getting 
> updated.
>  
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got increased by 
> 1 .i.e. 3 to 4 but its not replace right child doc.
>  
> Can you please let us know is there any other configuration need to be added 
> to support feature  (or) child or parent document only update feature not 
> supported currently ?
>  
>  
> *+Configuration:+*
> Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
> using external zookeeper.
> Attached solr-config.xml , managed-schema.xml , parent child query output in 
> ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
> file.
>  
>  
> Same example we executed as per document .
>  
> *+Index Operation:+*
>  
> {
>   "id": "mydoc",
>   "path_s": "1.mydoc",
>   "parent_id_s": "mydoc",
>   "product_s": "T-Shirt",
>   "stock": [
>    
> {   "path_s": "2.mydoc-mydoc2",   "id": "mydoc2",   
> "parent_id_s": "mydoc2",   "color_s": "red",   "size_ss": ["L"]     }
> ,
>    
> {   "path_s": "2.mydoc-mydoc3",   "id": "mydoc3",   
> "parent_id_s": "mydoc3",   "color_s": "blue",   "size_ss": ["M" ]     
> }
>   ]
> }
>  
>  
> *+Update Operation:+*
>  *++* 
> curl -X POST -H 'Content-Type: application/json' 
> '[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
> --data-binary '
> {   "id":"mydoc2",   "color_s": \\{"set":"test"}
> }'
>  
>  
>  
>  
>  
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-11-29 Thread Pavan (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan updated SOLR-13980:
-
Attachment: Screenshot 2019-11-25 at 4.26.12 PM.png

> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, Screenshot 2019-11-25 at 
> 4.26.12 PM.png, Screenshot 2019-11-25 at 4.48.54 PM.png, SelectAllQuery.txt, 
> managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
>  
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child. Or parent document alone not  getting 
> updated.
>  
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got increased by 
> 1 .i.e. 3 to 4 but its not replace right child doc.
>  
> Can you please let us know is there any other configuration need to be added 
> to support feature  (or) child or parent document only update feature not 
> supported currently ?
>  
>  
> *+Configuration:+*
> Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
> using external zookeeper.
> Attached solr-config.xml , managed-schema.xml , parent child query output in 
> ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
> file.
>  
>  
> Same example we executed as per document .
>  
> *+Index Operation:+*
>  
> {
>   "id": "mydoc",
>   "path_s": "1.mydoc",
>   "parent_id_s": "mydoc",
>   "product_s": "T-Shirt",
>   "stock": [
>    
> {   "path_s": "2.mydoc-mydoc2",   "id": "mydoc2",   
> "parent_id_s": "mydoc2",   "color_s": "red",   "size_ss": ["L"]     }
> ,
>    
> {   "path_s": "2.mydoc-mydoc3",   "id": "mydoc3",   
> "parent_id_s": "mydoc3",   "color_s": "blue",   "size_ss": ["M" ]     
> }
>   ]
> }
>  
>  
> *+Update Operation:+*
>  *++* 
> curl -X POST -H 'Content-Type: application/json' 
> '[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
> --data-binary '
> {   "id":"mydoc2",   "color_s": \\{"set":"test"}
> }'
>  
>  
>  
>  
>  
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-11-29 Thread Pavan (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan updated SOLR-13980:
-
Attachment: SelectAllQuery.txt

> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, SelectAllQuery.txt, 
> managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
>  
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child. Or parent document alone not  getting 
> updated.
>  
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got increased by 
> 1 .i.e. 3 to 4 but its not replace right child doc.
>  
> Can you please let us know is there any other configuration need to be added 
> to support feature  (or) child or parent document only update feature not 
> supported currently ?
>  
>  
> *+Configuration:+* 
> Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
> using external zookeeper.
> Attached solr-config.xml , managed-schema.xml , parent child query output in 
> ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
> file.
>  
>  
> Same example we executed as per document .
>  
> *+Index Operation:+*
>  
> {
>   "id": "mydoc",
>   "path_s": "1.mydoc",
>   "parent_id_s": "mydoc",
>   "product_s": "T-Shirt",
>   "stock": [
>     {
>   "path_s": "2.mydoc-mydoc2",
>   "id": "mydoc2",
>   "parent_id_s": "mydoc2",
>   "color_s": "red",
>   "size_ss": ["L"]
>     },
>     {
>   "path_s": "2.mydoc-mydoc3",
>   "id": "mydoc3",
>   "parent_id_s": "mydoc3",
>   "color_s": "blue",
>   "size_ss": ["M" ]
>     }
>   ]
> }
> !Screenshot 2019-11-25 at 4.48.54 PM.png!
>  
> *+Update Operation:+*
>  *++* 
> curl -X POST -H 'Content-Type: application/json' 
> '[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
> --data-binary '
> {
>   "id":"mydoc2",
>   "color_s": \{"set":"test"}
> }'
>  
> !image-2019-11-29-14-27-16-606.png!
> *+Parent Child Query Result:+*
>  
> *!Screenshot 2019-11-25 at 4.30.38 PM.png!*
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-11-29 Thread Pavan (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan updated SOLR-13980:
-
Attachment: ParentChildQueryOutput.txt

> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, SelectAllQuery.txt, 
> managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
>  
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child. Or parent document alone not  getting 
> updated.
>  
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got increased by 
> 1 .i.e. 3 to 4 but its not replace right child doc.
>  
> Can you please let us know is there any other configuration need to be added 
> to support feature  (or) child or parent document only update feature not 
> supported currently ?
>  
>  
> *+Configuration:+* 
> Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
> using external zookeeper.
> Attached solr-config.xml , managed-schema.xml , parent child query output in 
> ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
> file.
>  
>  
> Same example we executed as per document .
>  
> *+Index Operation:+*
>  
> {
>   "id": "mydoc",
>   "path_s": "1.mydoc",
>   "parent_id_s": "mydoc",
>   "product_s": "T-Shirt",
>   "stock": [
>     {
>   "path_s": "2.mydoc-mydoc2",
>   "id": "mydoc2",
>   "parent_id_s": "mydoc2",
>   "color_s": "red",
>   "size_ss": ["L"]
>     },
>     {
>   "path_s": "2.mydoc-mydoc3",
>   "id": "mydoc3",
>   "parent_id_s": "mydoc3",
>   "color_s": "blue",
>   "size_ss": ["M" ]
>     }
>   ]
> }
> !Screenshot 2019-11-25 at 4.48.54 PM.png!
>  
> *+Update Operation:+*
>  *++* 
> curl -X POST -H 'Content-Type: application/json' 
> '[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
> --data-binary '
> {
>   "id":"mydoc2",
>   "color_s": \{"set":"test"}
> }'
>  
> !image-2019-11-29-14-27-16-606.png!
> *+Parent Child Query Result:+*
>  
> *!Screenshot 2019-11-25 at 4.30.38 PM.png!*
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-11-29 Thread Pavan (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan updated SOLR-13980:
-
Attachment: solrconfig.xml

> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, SelectAllQuery.txt, 
> managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
>  
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child. Or parent document alone not  getting 
> updated.
>  
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got increased by 
> 1 .i.e. 3 to 4 but its not replace right child doc.
>  
> Can you please let us know is there any other configuration need to be added 
> to support feature  (or) child or parent document only update feature not 
> supported currently ?
>  
>  
> *+Configuration:+* 
> Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
> using external zookeeper.
> Attached solr-config.xml , managed-schema.xml , parent child query output in 
> ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
> file.
>  
>  
> Same example we executed as per document .
>  
> *+Index Operation:+*
>  
> {
>   "id": "mydoc",
>   "path_s": "1.mydoc",
>   "parent_id_s": "mydoc",
>   "product_s": "T-Shirt",
>   "stock": [
>     {
>   "path_s": "2.mydoc-mydoc2",
>   "id": "mydoc2",
>   "parent_id_s": "mydoc2",
>   "color_s": "red",
>   "size_ss": ["L"]
>     },
>     {
>   "path_s": "2.mydoc-mydoc3",
>   "id": "mydoc3",
>   "parent_id_s": "mydoc3",
>   "color_s": "blue",
>   "size_ss": ["M" ]
>     }
>   ]
> }
> !Screenshot 2019-11-25 at 4.48.54 PM.png!
>  
> *+Update Operation:+*
>  *++* 
> curl -X POST -H 'Content-Type: application/json' 
> '[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
> --data-binary '
> {
>   "id":"mydoc2",
>   "color_s": \{"set":"test"}
> }'
>  
> !image-2019-11-29-14-27-16-606.png!
> *+Parent Child Query Result:+*
>  
> *!Screenshot 2019-11-25 at 4.30.38 PM.png!*
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Updated] (SOLR-13980) Solr Parent or Child Document Update Issue

2019-11-29 Thread Pavan (Jira)


 [ 
https://issues.apache.org/jira/browse/SOLR-13980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavan updated SOLR-13980:
-
Attachment: managed-schema.xml

> Solr Parent or Child Document Update Issue
> --
>
> Key: SOLR-13980
> URL: https://issues.apache.org/jira/browse/SOLR-13980
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
> Environment: [^solrconfig.xml]
> [^managed-schema.xml]
>  [^ParentChildQueryOutput.txt]
> [^SelectAllQuery.txt]
>Reporter: Pavan
>Priority: Major
> Attachments: ParentChildQueryOutput.txt, SelectAllQuery.txt, 
> managed-schema.xml, solrconfig.xml
>
>
> Hi Team,
>  
> We are trying to update only child or parent document in solr 8.3 version  as 
> per the example mentioned in 
> document:[https://lucene.apache.org/solr/guide/8_3/updating-parts-of-documents.html]
>  , but the issue we facing is child. Or parent document alone not  getting 
> updated.
>  
> When we query using parent child query not retuning updated value , but when 
> we query using q=*:* in debug mode enabled , document count got increased by 
> 1 .i.e. 3 to 4 but its not replace right child doc.
>  
> Can you please let us know is there any other configuration need to be added 
> to support feature  (or) child or parent document only update feature not 
> supported currently ?
>  
>  
> *+Configuration:+* 
> Running locally in SolrCloud mode with 4 Shards and 2 Replication factor , 
> using external zookeeper.
> Attached solr-config.xml , managed-schema.xml , parent child query output in 
> ParentChildQueryOutput.txt file  and Query all output in SelectAllQuery.txt 
> file.
>  
>  
> Same example we executed as per document .
>  
> *+Index Operation:+*
>  
> {
>   "id": "mydoc",
>   "path_s": "1.mydoc",
>   "parent_id_s": "mydoc",
>   "product_s": "T-Shirt",
>   "stock": [
>     {
>   "path_s": "2.mydoc-mydoc2",
>   "id": "mydoc2",
>   "parent_id_s": "mydoc2",
>   "color_s": "red",
>   "size_ss": ["L"]
>     },
>     {
>   "path_s": "2.mydoc-mydoc3",
>   "id": "mydoc3",
>   "parent_id_s": "mydoc3",
>   "color_s": "blue",
>   "size_ss": ["M" ]
>     }
>   ]
> }
> !Screenshot 2019-11-25 at 4.48.54 PM.png!
>  
> *+Update Operation:+*
>  *++* 
> curl -X POST -H 'Content-Type: application/json' 
> '[http://localhost:8983/solr/parentchild/update/json/docs?_route_=mydoc]' 
> --data-binary '
> {
>   "id":"mydoc2",
>   "color_s": \{"set":"test"}
> }'
>  
> !image-2019-11-29-14-27-16-606.png!
> *+Parent Child Query Result:+*
>  
> *!Screenshot 2019-11-25 at 4.30.38 PM.png!*
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org