Re: How pull replica works

2021-01-07 Thread Abhishek Mishra
Thanks, Tomas. It was really helpful. Regards, Abhishek On Thu, Jan 7, 2021 at 7:03 AM Tomás Fernández Löbbe wrote: > Hi Abhishek, > The pull replicas uses the "/replication" endpoint to copy full segment > files (sections of the index) from the leader. It works in a similar way to > the legacy

Re: Solr background merge in case of pull replicas

2021-01-07 Thread Abhishek Mishra
Hi Kshitij What I can guess over here. Pull replicas replicate segments from tlog, so whenever merge happens on tlog it will decrease the number of segments which is more than ideal case(i.e. adding a new segment). Afaik adding/deleting the segment is kind of a stop the world moment. This can be

Query over migrating a solr database from 7.7.1 to 8.7.0

2021-01-07 Thread Flowerday, Matthew J
Hi There I have recently upgraded a solr database from 7.7.1 to 8.7.0 and not wiped the database and re-indexed (as this would take too long to run on site). On my local windows machine I have a single solr server 7.7.1 installation I upgraded in the following manner *

RE: Sending compressed (gzip) UpdateRequest with SolrJ

2021-01-07 Thread Gael Jourdan-Weil
Answering to myself on this one. Solr uses Jetty 9.x which does not support compressed requests by itself meaning, the application behind Jetty (that is Solr) has to decompress by itself which is not the case for now. Thus even without using SolrJ, sending XML compressed in GZIP to Solr (with

Interpreting Solr indexing times

2021-01-07 Thread ufuk yılmaz
Hello all, I have been looking at our SolrCloud indexing performance statistics and trying to make sense of the numbers. We are using a custom Flume sink and sending updates to Solr (8.4) using SolrJ. I know these stuff depend on a lot of things but can you tell me if these statistics are

RE: Converting a collection name to an alias

2021-01-07 Thread ufuk yılmaz
Hi, I’m aware of that API but it doesn’t do what I actually want. regards Sent from Mail for Windows 10 From: matthew sporleder Sent: 07 January 2021 22:46 To: solr-user@lucene.apache.org Subject: Re: Converting a collection name to an alias

Re: Converting a collection name to an alias

2021-01-07 Thread matthew sporleder
https://lucene.apache.org/solr/guide/8_1/collections-api.html#rename On Thu, Jan 7, 2021 at 2:07 PM ufuk yılmaz wrote: > > Hi again, > > Lets say I have a collection named A. > I’m trying to rename it to A_1, then create an alias named A, which points to > the A_1 collection. > Is this possible

Re: Converting a collection name to an alias

2021-01-07 Thread Mike Drob
I believe you may be able to use that command (or some combination of create alias commands) to create an alias from A to A, and then in the future when you want to change it you can have Alias A to collection B (assuming this is the point of the alias in the first place). On Thu, Jan 7, 2021 at

The x: prefix for the core name and 'custom.vm' errors in Admin UI's Logging tab

2021-01-07 Thread TK Solr
On the Admin UI's login screen, when the Logging tab is clicked, I see lines like: Time(Local)  Level  Core    Logger    Message 1/7/2021 ERROR x:mycoreloader ResourceManager: unable to find resource 'custom.vm'

Re: The x: prefix for the core name and 'custom.vm' errors in Admin UI's Logging tab

2021-01-07 Thread TK Solr
Please disregard my previous post. I understand these are actual error messages, not the errors of handling Admin UI. I think this server is being attacked using the vulnerability described here

Converting a collection name to an alias

2021-01-07 Thread ufuk yılmaz
Hi again, Lets say I have a collection named A. I’m trying to rename it to A_1, then create an alias named A, which points to the A_1 collection. Is this possible without deleting and reindexing the collection from scratch? Regards, uyilmaz

Re: Sending compressed (gzip) UpdateRequest with SolrJ

2021-01-07 Thread matthew sporleder
jetty supports http gzip and I've added it to solr before in my own installs (and submitted patches to do so by default to solr) but I don't know about the handling for solrj. IME compression helps a little, sometimes a lot, and never hurts. Even the admin interface benefits a lot from regular

Solr query with space (only) gives error

2021-01-07 Thread vstuart
I have a frontend that uses Ajax to query Solr. It's working well, but if I enter a single space (nothing else) in the input/search box (the URL in the browser will show ... index.html#q=%20 In that circumstance I get a 400 error (as there are no parameters in the request), which is fine,

StandardTokenizerFactory doesn't split on underscore

2021-01-07 Thread Rahul Goswami
Hello, So recently I was debugging a problem on Solr 7.7.2 where the query wasn't returning the desired results. Turned out that the indexed terms had underscore separated terms, but the query didn't. I was under the impression that terms separated by underscore are also tokenized by

Solr query with space (only) gives error

2021-01-07 Thread vstuart
I have a frontend that uses Ajax to query Solr. It's working well, but if I enter a single space (nothing else) in the input/search box (the URL in the browser will show ... index.html#q=%20 In that circumstance I get a 400 error (as there are no parameters in the request), which is fine,

Re: "Failed to reserve shared memory."

2021-01-07 Thread TK Solr
I added these lines to solr.in.sh and restarted Solr:  GC_TUNE=('-XX:+UseG1GC' \    '-XX:+PerfDisableSharedMem' \    '-XX:+ParallelRefProcEnabled' \    '-XX:MaxGCPauseMillis=250' \    '-XX:+AlwaysPreTouch' \    '-XX:+ExplicitGCInvokesConcurrent') According to the Admin UI, -XX:+UseLargePage is