issue transplanting standalone core into solrcloud (plus upgrade)

2016-09-25 Thread xavi jmlucjav
Hi, I have an existing 3.6 standalone installation. It has to be moved to Solrcloud 6.1.0. Reindexing is not an option, so I did the following: - Use IndexUpgrader to upgrade 3.6 -> 4.4 -> 5.5. I did not upgrade to 6.X as 5.5 should be readable by 6.x - Install solrcloud 6.1 cluster - modify sche

Re: issue transplanting standalone core into solrcloud (plus upgrade)

2016-09-25 Thread Shawn Heisey
On 9/25/2016 4:24 AM, xavi jmlucjav wrote: > Everything went well, no errors when solr restarted, the collections shows > the right number of docs. But when I try to run a query, I get: > > null:java.lang.NullPointerException Did you change any of the fieldType class values as you adjusted the sch

Re: How to retrieve parent documents without a nested structure (block-join)

2016-09-25 Thread shamik
Thanks Alex. With the conventional join query I'm able to return the parent document based on a query match on the child. But, it filters out any other documents which are outside the scope of join condition. For e.g. in my case, I would expect the query to return : 1 Parent title 123

Re: Challenges with new Solrcloud Backup/Restore functionality

2016-09-25 Thread Hrishikesh Gadre
Hi Steve, Regarding the 2nd issue, a JIRA is already created and patch is uploaded (SOLR-9527). Can someone review and commit the patch? Regarding 1st issue, does backup command succeeds? Also do you see any warning/error log messages? How about the restore command? Thanks Hrishikesh On Sat,

Re: How to retrieve parent documents without a nested structure (block-join)

2016-09-25 Thread Alexandre Rafalovitch
Can't you just have two clauses in the query, one that does join and one that does the same search again but with additional rule of not having a parentID? Then nested documents match first clause and get "joined" into the parent record. And non nested documents would match by themselves. I think y

Re: How to retrieve parent documents without a nested structure (block-join)

2016-09-25 Thread shamik
Thanks for getting back on this. I was trying to formulate a query in similar lines but not able to construct it (multiple clauses) correctly so far. That can be attributed to my inexperience with Solr queries as well. Can you please point to any documentation / example for my reference ? Appreci