[jira] [Updated] (SOLR-5183) Add block support for JSONLoader

2014-02-27 Thread Varun Thacker (JIRA)

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

Varun Thacker updated SOLR-5183:


Attachment: SOLR-5183.patch

New patch which takes into account changes made on SOLR-5777

 Add block support for JSONLoader
 

 Key: SOLR-5183
 URL: https://issues.apache.org/jira/browse/SOLR-5183
 Project: Solr
  Issue Type: Sub-task
Reporter: Varun Thacker
 Fix For: 4.7

 Attachments: SOLR-5183.patch, SOLR-5183.patch, SOLR-5183.patch, 
 SOLR-5183.patch, SOLR-5183.patch


 We should be able to index block documents in JSON format



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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



[jira] [Updated] (SOLR-5183) Add block support for JSONLoader

2014-02-26 Thread Hoss Man (JIRA)

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

Hoss Man updated SOLR-5183:
---

Attachment: SOLR-5183.patch

Varun: your patch looks pretty good to me,

I beefed up the test a bit to convince myself that it would correctly handle:
* grand child docs
* {{_childDocument_}} and regular fields in various orders
* duplicate {{_childDocument_}} keys

...and in the process discovered what appears to be a pre-existing bug 
regarding field value ordering when the fieldName key is duplicated in the 
JSON.  It looks like it should be fairly trivial to fix, so i'm going to open a 
new issue for that and get it fixed  backported to 4x, and then i'll come back 
and revist this patch

 Add block support for JSONLoader
 

 Key: SOLR-5183
 URL: https://issues.apache.org/jira/browse/SOLR-5183
 Project: Solr
  Issue Type: Sub-task
Reporter: Varun Thacker
 Fix For: 4.7

 Attachments: SOLR-5183.patch, SOLR-5183.patch, SOLR-5183.patch, 
 SOLR-5183.patch


 We should be able to index block documents in JSON format



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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



[jira] [Updated] (SOLR-5183) Add block support for JSONLoader

2014-01-28 Thread Varun Thacker (JIRA)

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

Varun Thacker updated SOLR-5183:


Attachment: SOLR-5183.patch

- Takes nested products as an array of childDocs
- There is a nocommit in the patch on what happens when the key childDoc is 
used to add normal data and not nested products.
( How do we validate if the user does not put in a field called _root_ in the 
document ? )
{noformat}
 childDocs:[
  {
id : 5,
subject : black
  },
  {
id : 6,
subject : red
  }  
   ]
{noformat}

 Add block support for JSONLoader
 

 Key: SOLR-5183
 URL: https://issues.apache.org/jira/browse/SOLR-5183
 Project: Solr
  Issue Type: Sub-task
Reporter: Varun Thacker
 Fix For: 4.7

 Attachments: SOLR-5183.patch, SOLR-5183.patch


 We should be able to index block documents in JSON format



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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



[jira] [Updated] (SOLR-5183) Add block support for JSONLoader

2014-01-28 Thread Varun Thacker (JIRA)

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

Varun Thacker updated SOLR-5183:


Attachment: SOLR-5183.patch

Changes in this patch
* Key for child documents is _childDocuments_
* Fixes a parsing issue

Thus this is what an add command would look like 
{noformat}
{
add: {
doc: {
id: 1,
_childDocuments_: [
{
id: 2
},
{
id: 3
}
]
}
}
}
{noformat}

 Add block support for JSONLoader
 

 Key: SOLR-5183
 URL: https://issues.apache.org/jira/browse/SOLR-5183
 Project: Solr
  Issue Type: Sub-task
Reporter: Varun Thacker
 Fix For: 4.7

 Attachments: SOLR-5183.patch, SOLR-5183.patch, SOLR-5183.patch


 We should be able to index block documents in JSON format



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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



[jira] [Updated] (SOLR-5183) Add block support for JSONLoader

2013-08-22 Thread Varun Thacker (JIRA)

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

Varun Thacker updated SOLR-5183:


Attachment: SOLR-5183.patch

Patch which can parse the above mentioned format. If this is okay I'll add 
tests in AddBlockUpdateTest.java

 Add block support for JSONLoader
 

 Key: SOLR-5183
 URL: https://issues.apache.org/jira/browse/SOLR-5183
 Project: Solr
  Issue Type: Sub-task
Reporter: Varun Thacker
 Fix For: 4.5, 5.0

 Attachments: SOLR-5183.patch


 We should be able to index block documents in JSON format

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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