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

2016-09-26 Thread xavi jmlucjav
I guess there is no other way than reindex: - of course, not all fields are stored, that would have been too easy - it might (??) work if as Jan says I build a custom solr version with removed IntFields added etc, but going down this rabbithole sounds too risky, too much work for what, not sure it

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

2016-09-26 Thread Jan Høydahl
If all the fields in your current schema has stored=“true”, you can try to export the full index to an XML file which can then be imported into 6.1. If some fields are not stored you will only be able to recover the inverted index representation of that data, which may not be enough to recreate

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

2016-09-26 Thread Shawn Heisey
On 9/26/2016 6:28 AM, xavi jmlucjav wrote: > Yes, I had to change some fields, basically to use TrieIntField etc > instead > of the old IntField. I was assuming by using the IndexUpgrader to upgrade > the data to 6.1, the older IntField would work with the new TrieIntField. > But I have tried

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

2016-09-26 Thread Jan Høydahl
Better keep your old schema unchanged if you want to use an old index. The upgrader does not change field type for you. If the old IntField does not exist in 6.x you're out of luck, may try to build a custom version with the old field types as addons.. Sendt fra min iPhone > Den 26. sep. 2016

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

2016-09-26 Thread xavi jmlucjav
Hi Shawn/Jan, On Sun, Sep 25, 2016 at 6:18 PM, Shawn Heisey wrote: > 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: > > > >

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

2016-09-26 Thread Jan Høydahl
Did you change the tag in your solrconfig.xml? You could try to let it stay at 3.6 and let compatibility mode kick in where applicable. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 25. sep. 2016 kl. 12.24 skrev xavi jmlucjav : > > Hi, > > I

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

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