Re: Do backups of collections need to be taken on the Leader?

2019-10-17 Thread Jon Kjær Amundsen
Hi Koen A quick sanity check: Do you use a network drive accessible from both servers to make the backup to? If you've backed up server2's collection to a local disk, then when you're trying to restore it via server1 it does not know anything about the backup. Venlig hilsen/Best regards *Jon Kjæ

Re: Do backups of collections need to be taken on the Leader?

2019-10-17 Thread Koen De Groote
Yes, both servers back up to a network drive. However, that is not the point of my question. The point of my question is: If I execute the curl command, that contacts the collections API, to perform the backup, does it matter that the leader is on a different host from the one where the backup co

Re: Do backups of collections need to be taken on the Leader?

2019-10-17 Thread Koen De Groote
Both to the same network drive, sorry. On Thu, Oct 17, 2019 at 10:05 AM Koen De Groote wrote: > Yes, both servers back up to a network drive. > > However, that is not the point of my question. > > The point of my question is: If I execute the curl command, that contacts > the collections API, to

Re: Do backups of collections need to be taken on the Leader?

2019-10-17 Thread Jon Kjær Amundsen
As a restore is server agnostic (i.e. you can restore to a totally different host than the backup was taken from) hat shouldn't be the problem. Also a collection as such has no leader, only shards have. Do you have any kind of logs stating the errors encountered? Venlig hilsen/Best regards *Jon

Error in Initializing plugin

2019-10-17 Thread Shubham Goswami
Hi Community I am working with currencies and exchange rates and getting this following error. error: Plugin Initializing failure for [schema.xml] fieldType Can somebody please help me out regarding this issue ? schema changes : Thanks in adavance. -- *Thanks & Regards* Shubham Goswami Enterpri

Re: Solaris Install Package

2019-10-17 Thread Jason Gerlowski
Hi Andrew, I believe that yes, Solr should work on Solaris. I've never done so personally, but very occasionally I hear of someone doing so. Additionally, Uwe runs a Jenkins server that runs tests on Solaris (among other OSs), and the results for Solaris look to be pretty standard for our test su

Re: Do backups of collections need to be taken on the Leader?

2019-10-17 Thread Koen De Groote
The error was a zookeeper connect timeout. Which apparently is hardcoded to 180 seconds. I've recently succeeded in the restore. It may well have been a connection issue, since the environment is a shared VM environment. Outside pressure is possible. The timeout source code(in version 7.6.0): htt

Re: Do backups of collections need to be taken on the Leader?

2019-10-17 Thread Koen De Groote
Is "it" a hard limit, sorry. On Thu, Oct 17, 2019 at 1:35 PM Koen De Groote wrote: > The error was a zookeeper connect timeout. Which apparently is hardcoded > to 180 seconds. > > I've recently succeeded in the restore. It may well have been a connection > issue, since the environment is a share

Re: Do backups of collections need to be taken on the Leader?

2019-10-17 Thread Jon Kjær Amundsen
We have restores that take longer but do not have problems with timeouts. But we use the async parameter https://lucene.apache.org/solr/guide/7_2/collections-api.html#CollectionsAPI-restore It could seem from the code you provided that it will timeout after 180 seconds if you do not make the resto

Re: Error in Initializing plugin

2019-10-17 Thread Erick Erickson
There is very little information to go on here. What is the full stack trace from the Solr log file for this? Best, Erick > On Oct 17, 2019, at 5:36 AM, Shubham Goswami > wrote: > > Hi Community > > I am working with currencies and exchange rates and getting this following > error. > error:

Re: Help with Stream Graph

2019-10-17 Thread Joel Bernstein
Can you show the logs from this request. There will be a Solr query that gets sent with product1 searched against the product_s field. Let's see how many documents that query returns. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Oct 17, 2019 at 1:41 AM Rajeswari Natarajan wrote: > Hi,

Re: Query regarding positionIncrementGap

2019-10-17 Thread Erick Erickson
First, it only counts if you add multiple entries for the field. Consider the following a b c def where the field has a positionIncrementGap of 100. The term positions of the entries are a:1 b:2 c:3 d:103 e:104 f:105 Now consider the doc where there’s only one field: a b c d e f T

Re: Help with Stream Graph

2019-10-17 Thread Rajeswari Natarajan
Thanks Joel. Here is the logs for below request curl --data-urlencode 'expr=gatherNodes(knr,walk="product1->product_s",gather="basket_s")' http://localhost:8983/solr/knr/stream 2019-10-17 15:02:06.969 INFO (qtp952486988-280) [c:knr s:shard1 r:core_node2 x:knr_shard1_replica_n1] o.a.s.c.S.Reques

Re: Help with Stream Graph

2019-10-17 Thread Rajeswari Natarajan
I tried below query and it returns o results http://localhost:8983/solr/knr/export?{!terms+f%3Dproduct_s}product1&distrib=false&fl=basket_s,product_s&sort=basket_s+asc,product_s+asc&wt=json&version=2.2 { "responseHeader":{"status":0}, "response":{ "numFound":0, "docs":[]}} Regards,

Re: Help with Stream Graph

2019-10-17 Thread Rajeswari Natarajan
My config is from https://github.com/apache/lucene-solr/tree/branch_7_6/solr/solrj/src/test-files/solrj/solr/configsets/streaming/conf Thanks, Rajeswari On Thu, Oct 17, 2019 at 8:16 AM Rajeswari Natarajan wrote: > I tried below query and it returns o results > > > http://localho

Japanese Query Unexpectedly Misses

2019-10-17 Thread Stephen Lewis Bianamara
Hi SOLR Community, I have an example of a basic Japanese indexing/recall scenario which I am trying to support, but cannot get to work. The scenario is: I would like for 日本人 (Japanese Person) to be matched by either 日本 (Japan) or 人 (Person). Currently, I am not seeing this work. My Japanese text

Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-17 Thread Drew Kidder
Hello! I'm new to the list and I have a bit of an issue that I could use some help with. I'm in the process of upgrading our Solr installation from legacy to cloud. I'm new to the idea of Solr Cloud, so I've been wading through the documentation and trying to get a basic cluster up and running. I'

Re: Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-17 Thread Jörn Franke
Could it be that you start the Solr command too early, ie before the network is setup in the Docker container? Normally I would also expect that a zkRoot Is specified. Can the Zknodes talk to each other? Have you tried to specify it in the Solr config? Normally, I would expect that the Solr conf

Re: Solr 8.2 docker image in cloud mode not connecting to Zookeeper on startup

2019-10-17 Thread Rajeswari Natarajan
Are you running zookeeper as container too. If yes , port 2181 needs to be exposed. -Rajeswari On Thu, Oct 17, 2019 at 4:25 PM Drew Kidder wrote: > Hello! I'm new to the list and I have a bit of an issue that I could use > some help with. > > I'm in the process of upgrading our Solr installatio

Re: Query regarding positionIncrementGap

2019-10-17 Thread Shubham Goswami
Hi Erick Thanks for reply and your example is very helpful. But i think we can only use this attribute if we are getting data from a single field which has the copy of all data from every field. Please correct me if i am wrong. Thanks for your great support. Shubham On Thu, Oct 17, 2019 at 5:56

Help to learn synonymQueryStyle and FieldTypeSimilarity

2019-10-17 Thread Shubham Goswami
Hi Community I am a beginner in solr and i am trying to understand the working of synonymQueryStyle and FieldTypeSimilarity but i am still not clear how it exactly works. Can somebody please help me to understand this with the help of an example ? Any help will be appreciated. Thanks in advance.