Re: Solr Admin Console hangs on Chrome

2019-12-11 Thread Jan Høydahl
I have seen slowness when the result is a very large json but not for ordinary queries. How long delay do you see? Is it only for query panel or for the UI in general? Jan Høydahl > 11. des. 2019 kl. 16:07 skrev Alexandre Rafalovitch : > > Check for popup and other tracker blockers. It is

Re: Indexing with customized parameters

2019-12-11 Thread Anuj Bhargava
Any suggestions? Regards, Anuj On Tue, 10 Dec 2019 at 20:52, Anuj Bhargava wrote: > I am trying to index where the *sector field* has the values 27 and/or > 2701 and/or 2702 using the following - > >query="SELECT * FROM country WHERE sector = 27 OR sector = 2701 OR > sector = 2702" >

Re: Solr8 changes how security.json restricts access to GUI

2019-12-11 Thread Jan Høydahl
Please show your complete Security.json so we know how auth is configured. Which 8.x version are you trying? There should be a login screen shown in admin UI now. Jan Høydahl > 11. des. 2019 kl. 22:40 skrev Oakley, Craig (NIH/NLM/NCBI) [C] > : > > In Solr 7, we had clauses in our

RE: user solr created by install not working with default password

2019-12-11 Thread Nguyen, Khuong (Dominic) (CSRA)
That solr user defined in security.json is not the same as linux user solr that runs the solr service. The web authentication is controlled by the /security.json file in ZK. The security user can be any username you choose. On linux you can "sudo su solr" to switch to user solr. The linux user

Re: user solr created by install not working with default password

2019-12-11 Thread Jörn Franke
Even for in-house without no outside access you should have authentication and https. There can be a tiny misconfiguration somewhere else not controlled by you and you face suddenly a big open leak. Never do this - not even for development environments (here another important aspect is if

Re: user solr created by install not working with default password

2019-12-11 Thread rhys J
> That page talks about setting up authentication for HTTP access to the > Solr API. It has nothing at all to do with the OS user created by the > service install script. > > When the service install creates the OS user for the service, it is > created in such a way that its password is disabled.

Solr8 changes how security.json restricts access to GUI

2019-12-11 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
In Solr 7, we had clauses in our security.json saying { "name":"all-admin", "collection":null, "path":"/*", "role":"allgen", "index":15}, { "name":"all-core-handlers", "path":"/*", "role":"allgen", "index":16},

Re: user solr created by install not working with default password

2019-12-11 Thread Shawn Heisey
On 12/11/2019 9:17 AM, rhys J wrote: When I try to su solr, using the password mentioned here: https://lucidworks.com/post/securing-solr-basic-auth-permission-rules/, i get an authentication failure. That page talks about setting up authentication for HTTP access to the Solr API. It has

Graph Query Parser with pagination

2019-12-11 Thread sambasivarao giddaluri
Hi All, Is it possible to search on a index using graph query parser with pagination available . ex: 1 <--2<--3 1 <--4<--5 1 <--6<--7 and so on 1 is parent of 2,4 and 2 is parent of 3 and 4 is parent of 5 1 is doc type A and 2,4 are of type doc B and 3,5 are of type C similarly if i have 200

backing up and restoring

2019-12-11 Thread rhys J
I made backups with the following command: sudo -u solr curl ' http://localhost:8983/solr/debt/replication?command=backup=/tmp/solr backups/debt/' I double checked that I had made the backup, and I had a backup. To

Fwd: Re: [SPAM] abnormal cpu usage (solr 7.3.1)

2019-12-11 Thread Danilo Tomasoni
Forwarded Message Subject:Re: [SPAM] abnormal cpu usage (solr 7.3.1) Date: Wed, 11 Dec 2019 17:41:05 +0100 From: Danilo Tomasoni To: Erick Erickson Thank you!. any ideas for the cpu spikes? On 11/12/19 17:28, Erick Erickson wrote: This is pretty useful:

user solr created by install not working with default password

2019-12-11 Thread rhys J
I installed Solr following the directions on this site: https://lucene.apache.org/solr/guide/6_6/installing-solr.html I am running standalone Solr with no authentication added because it is all in-house with no access to outside requests. When I try to su solr, using the password mentioned

Re: [SPAM] abnormal cpu usage (solr 7.3.1)

2019-12-11 Thread Erick Erickson
Why are you using LogByteSIzeMergePolicy? The current default is TieredMergePolicy, unless you have a specific reason, I’d just take explicit merge policies out of your solrconfig and use the defaults. That aside, I doubt it’s related. You could well see these spikes due to background

Re: Solr Admin Console hangs on Chrome

2019-12-11 Thread Alexandre Rafalovitch
Check for popup and other tracker blockers. It is possible one of the resources has a similar name and triggers blocking. There was a thread in early October with a similar discussion, but apart from the blockers idea nothing else was discovered at the time. An easy way would be to create a new

Re: [SPAM] abnormal cpu usage (solr 7.3.1)

2019-12-11 Thread Danilo Tomasoni
I'm sorry I forgot the pictures. On 11/12/19 15:20, Danilo Tomasoni wrote: Hello all, we have a solr instance with around 41MLN documents. Recently we stopped our forcemerge policy that ensured only 1 segment was present at query time, because we read here in the ML and elsewhere that this

Re: [Q] Faster Atomic Updates - use docValues?

2019-12-11 Thread Erick Erickson
GCEasy works fine. GCViewer is something you can have on your local machine, sometimes if you have very large GC logs uploading them can take quite a while. The next step, if you can’t find anything satisfactory is to put a profiler on the running Solr instance, which will tell you where the time

Re: [Q] Faster Atomic Updates - use docValues?

2019-12-11 Thread Paras Lehana
Hi Erick, You're right - IO was extraordinarily high. But something odd happened. To actually build a relation, I tried different heap sizes with default solrconfig.xml values as you recommended. 1. Increased RAM to 4G, speed 8500k. 2. Decreased to 2G, back to old 65k. 3. Increased back

Re: A question of solr recovery

2019-12-11 Thread Erick Erickson
Updates in this context are individual documents, either new ones or a new version of an existing document. Long recoveries are quite unlikely to be replaying a few documents from the tlog. My bet is that you had to do a “full sync” (there should be messages to that effect in the Solr log). This

Re: [Q] Faster Atomic Updates - use docValues?

2019-12-11 Thread Erick Erickson
I doubt GC alone would make nearly that difference. More likely it’s I/O interacting with MMapDirectory. Lucene uses OS memory space for much of its index, i.e. the RAM left over after that used for the running Solr process (and any other processes of course). See:

Re: Solr Admin Console hangs on Chrome

2019-12-11 Thread A Adel
Hi - could you provide more details, such as Solr and browser network logs when using Chrome / other browsers? On Tue, Dec 10, 2019 at 5:48 PM Joel Bernstein wrote: > Did a recent change to Chrome cause this? > > In Solr 8x, I'm not seeing slowness with Chrome on Mac. > > > > Joel Bernstein >

Solr keeps copying ConfigSet for non-exist Collection.

2019-12-11 Thread Ming Wu
Hi All, After I restarted my Solr and Zookeeper server. The Solr node kept copying Config Set to non existed Solr collection. 2019-12-11 08:09:25.201 INFO (OverseerThreadFactory-9-thread-134-processing-n:10.9.57.213:8983_solr) [ ] o.a.s.c.c.ZkConfigManager Copying zk node

Re: [Q] Faster Atomic Updates - use docValues?

2019-12-11 Thread Paras Lehana
Just to update, I kept the defaults. The indexing got only a little boost though I have decided to continue with the defaults and do incremental experiments only. To my surprise, our development server had only 12GB RAM, of which 8G was allocated to Java. Because I could not increase the RAM, I