Index BackUp using JDK 8 & Restore using JDK 7. Does this work?

2016-04-17 Thread Manohar Sripada
We are using Solr 5.2.1 and JDK 7. We do create a static index in one cluster (solr cluster 1) and ship that index to another cluster (Solr cluster 2). Solr Cluster 2 is the one where queries will be fired. Due to some unavoidable reasons, we want to upgrade Solr Cluster 1 to JDK 8. But, we can't

Re: Solr best practices for many to many relations...

2016-04-17 Thread Bastien Latard - MDPI AG
Thanks everybody. Your answers are very interesting, however I'm not sure I'm getting them properly (sorry I'm not an expert... it might be evident for you)... *When you're speaking about denormalization, does it mean: 1. something like that?* */-> I think that the answer i

Re: UUID processor handling of empty string

2016-04-17 Thread Susmit Shukla
Hi Erick/Jack, I agree that "Your code is violating the contract for the UUID update processor." so index could be in bad state. I have already put the fix and no further action needed. I was just curious about the resulting behavior. For completeness here were my results - indexed 2 docs with th

Re: Verifying - SOLR Cloud replaces load balancer?

2016-04-17 Thread John Bickerstaff
Thanks, so on the matter of indexing -- while I could isolate a cloud replica from queries by not including it in the load balancer's list... ... I cannot isolate any of the replicas from an indexing perspective by a similar strategy because the SOLR leader decides who does indexing? Or do all "n

Re: Verifying - SOLR Cloud replaces load balancer?

2016-04-17 Thread Walter Underwood
No, Zookeeper is used for managing the locations of replicas and the leader for indexing. Queries should still be distributed with a load balancer. Queries do NOT go through Zookeeper. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Apr 17, 2016, a

Verifying - SOLR Cloud replaces load balancer?

2016-04-17 Thread John Bickerstaff
My prior use of SOLR in production was pre SOLR cloud. We put a round-robin load balancer in front of replicas for searching. Do I understand correctly that a load balancer is unnecessary with SOLR Cloud? I. E. -- SOLR and Zookeeper will balance the load, regardless of which replica's URL is ge

block join rollups

2016-04-17 Thread Yonik Seeley
Hey folks, we're at the point of figuring out the API for block join child rollups for the JSON Facet API. We already have simple block join faceting: http://yonik.com/solr-nested-objects/ So now we need an API to carry over more information from children to parents (say rolling up average rating o

Re: Adding a new shard

2016-04-17 Thread Erick Erickson
bq: So inorder for me move the shards to its own instances, I will have to take a down time and move the newly created shards & replicas to its own instances. No, this is not true. The easiest way to move things around is use the collections API ADDREPLICA command after splitting. Let's call th

Re: Adding a new shard

2016-04-17 Thread Jay Potharaju
Erik thanks for the reply. In my current prod setup I anticipate the number of documents to grow almost 5 times by the end of the year and therefore planning on how to scale when required. We have high query volume and growing dataset, that is why would like to scale by sharding & replication. In

Re: ManagedSynonymFilterFactory per core instead of config set?

2016-04-17 Thread Erick Erickson
The managed schema stuff is changing the configset copy by design, not the individual core's synonyms so you are correct, you can't at this point have different synonyms per core if those cores are using the same configset. Best, Erick On Sun, Apr 17, 2016 at 7:57 AM, Shawn Heisey wrote: > On 4/

Re: SOLR-3666

2016-04-17 Thread Shawn Heisey
On 4/15/2016 4:01 PM, Jay Potharaju wrote: > I am using solrCloud with DIH for indexing my data. Is it possible to get > status of all my DIH across all nodes in the cloud? I saw this jira ticket > from couple of years ago. > https://issues.apache.org/jira/browse/SOLR-3666 Reiterating something Er

Re: ManagedSynonymFilterFactory per core instead of config set?

2016-04-17 Thread Shawn Heisey
On 4/17/2016 8:00 AM, Georg Sorst wrote: > Am I doing something wrong, or is this on purpose? Is there a way to manage > synonyms per core? Should I use a differente value for $resource for each > core? If you want different configs for each core, don't use configsets. Each core will need its own

ManagedSynonymFilterFactory per core instead of config set?

2016-04-17 Thread Georg Sorst
Hi list! Is it possible to set synonyms per core when using the ManagedSynonymFilterFactory, even when using config sets? What makes me think that this is not possible is that the synonyms are stored in $solr_home/configsets/$config_set/conf/_schema_analysis_synonyms_$resource.json. So when I add

Re: Set Config API user properties with SolrJ

2016-04-17 Thread Georg Sorst
For further reference: I solved this by using an HTTP-based Solr in the tests. Look at SolrTestCaseJ4.buildJettyConfig for more info Georg Sorst schrieb am Mo., 11. Apr. 2016 um 10:28 Uhr: > The issue is here: > > org.apache.solr.handler.SolrConfigHandler.handleRequestBody() > > This method will

Re: dataimport db-data-config.xml

2016-04-17 Thread Reth RM
What are the errors reported? Errors can be either seen on admin page logging tab or log file under solr_home. If you follow the steps mentioned on the blog precisely, it should almost work http://solr.pl/en/2010/10/11/data-import-handler-%E2%80%93-how-to-import-data-from-sql-databases-part-1/

Re: [ANNOUNCE] YCSB 0.8.0 Release

2016-04-17 Thread Guillaume Rossolini
Hi, FYI there is a ticket about this: https://github.com/brianfrankcooper/YCSB/issues/637 Regards, -- Guillaume ROSSOLINI On 16 April 2016 at 10:35, Alexandre Rafalovitch wrote: > This does not actually say what the product IS and trying to follow > the links gets to the "Yahoo will no long