Re: Collections unable to load after setting up SSL

2018-06-08 Thread Christopher Schultz
Edwin, On 6/7/18 11:11 PM, Zheng Lin Edwin Yeo wrote: > Hi, > > I am running SolrCloud on Solr 7.3.1 on External ZooKeeper 3.4.11, and I am > setting up the security aspect of Solr. > > After setting up the SSL based on the steps from >

RE: 7.3.1 creates thousands of threads after start up

2018-06-08 Thread Markus Jelsma
Hello Shawn, The logs appear useless, they are littered with these: 2018-06-08 14:02:47.382 ERROR (qtp1458849419-1263) [ ] o.a.s.s.HttpSolrCall null:org.apache.solr.common.SolrException: Error trying to proxy request for url: http://idx2:8983/solr/ search/admin/ping at

Re: Collections unable to load after setting up SSL

2018-06-08 Thread Christopher Schultz
Edwin, On 6/8/18 12:02 PM, Zheng Lin Edwin Yeo wrote: > I followed the steps from > https://lucene.apache.org/solr/guide/7_3/enabling-ssl.html. > > 1) > > keytool -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass > secret -storepass secret -validity -keystore >

Re: Difference in fieldLengh and avgFieldLength in Solr 6.6 vs Solr 7.1

2018-06-08 Thread Alessandro Benedetti
Shoot in the dark, I have not double checked in details but : With Solr 7.x "Index-time boosts have been removed from Lucene, and are no longer available from Solr. If any boosts are provided, they will be ignored by the indexing chain. As a replacement, index-time scoring factors should be

7.3.1 creates thousands of threads after start up

2018-06-08 Thread Markus Jelsma
Hello, Our local test environment mini cluster goes nuts right after start up. It is a two node/shard/replica collection starts up normally if only one node start up. But as soon as the second node attempts to join the cluster, both nodes go crazy, creating thousands of threads with identical

RE: 7.3.1 creates thousands of threads after start up

2018-06-08 Thread Markus Jelsma
Hello Deepak, Not in-between. Thanks, Markus -Original message- > From:Deepak Goel > Sent: Friday 8th June 2018 17:14 > To: solr-user@lucene.apache.org > Subject: Re: 7.3.1 creates thousands of threads after start up > > Do these machines have a firewall in-between? > > On Fri, 8 Jun

Re: Collections unable to load after setting up SSL

2018-06-08 Thread Zheng Lin Edwin Yeo
Hi Chris, I followed the steps from https://lucene.apache.org/solr/guide/7_3/enabling-ssl.html. 1) keytool -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass secret -storepass secret -validity -keystore solr-ssl.keystore.jks -ext SAN=DNS:localhost,IP:192.168.1.3,IP:127.0.0.1

Basic Auth Permission

2018-06-08 Thread Antony A
Hello, I am trying to get the path/params restricted to users of individual collection through Solr UI. Here is the permission that I have for an user. {"collection": "collection_name", "path": "/admin/file", "role": [" collection_user"]} I am still not able to restrict another user from

Re: Streaming Expression intersect() behaviour

2018-06-08 Thread Joel Bernstein
yes, I was going to suggest that as well. Joel Bernstein http://joelsolr.blogspot.com/ On Fri, Jun 8, 2018 at 9:20 AM, Christian Spitzlay < christian.spitz...@biologis.com> wrote: > As a temporary workaround until that issue is fixed > one could wrap the right stream with a select that renames

Re: 7.3.1 creates thousands of threads after start up

2018-06-08 Thread Shawn Heisey
On 6/8/2018 8:17 AM, Markus Jelsma wrote: > Our local test environment mini cluster goes nuts right after start up. It is > a two node/shard/replica collection starts up normally if only one node start > up. But as soon as the second node attempts to join the cluster, both nodes > go crazy,

Re: 7.3.1 creates thousands of threads after start up

2018-06-08 Thread Deepak Goel
Do these machines have a firewall in-between? On Fri, 8 Jun 2018, 20:29 Markus Jelsma, wrote: > Hello Shawn, > > The logs appear useless, they are littered with these: > > 2018-06-08 14:02:47.382 ERROR (qtp1458849419-1263) [ ] > o.a.s.s.HttpSolrCall null:org.apache.solr.common.SolrException:

Re: Streaming Expression intersect() behaviour

2018-06-08 Thread Christian Spitzlay
Hi, > Am 08.06.2018 um 03:42 schrieb Joel Bernstein : > > And when you transpose the "on" fields like this: > > intersect( > cartesianProduct(tuple(fieldA=array(a,b,c,c)), fieldA, productSort="fieldA > asc"), > cartesianProduct(tuple(fieldB=array(a,c)), fieldB, productSort="fieldB > asc"), >

Re: Streaming Expression intersect() behaviour

2018-06-08 Thread Joel Bernstein
You're correct, after testing again the only way that this works correctly appears to be: intersect( cartesianProduct(tuple(fieldA=array(a,b,c,c)), fieldA, productSort="fieldA asc"), cartesianProduct(tuple(fieldA=array(a,c)), fieldA, productSort="fieldA asc"), on="fieldA" ) I suspect that

Can replace the IP with the hostname or some unique identifier for each node in Solr

2018-06-08 Thread akshat
Hi, I have deployed Solr in docker swarm and scaling the replicas as 3. What I have achieved -> Created the Solr core replicas in the other containers. Blocker -> When I kill a container ​, D ocker swarm brings another container with a different IP. So, when I see the graph it is still pointing

Re: Can replace the IP with the hostname or some unique identifier for each node in Solr

2018-06-08 Thread Shawn Heisey
On 6/8/2018 6:52 AM, akshat wrote: My question -> Is it possible to some way we can trick the ​S​olr by replacing the IP which it shows in the graph to some unique identifier so that when swarm brings the new node it should still be pointing to the unique identifier name, not the IP. Each Solr

Re: Streaming Expression intersect() behaviour

2018-06-08 Thread Christian Spitzlay
As a temporary workaround until that issue is fixed one could wrap the right stream with a select that renames the field: intersect( cartesianProduct(tuple(fieldA=array(a,b,c,c)), fieldA, productSort="fieldA asc"), select(cartesianProduct(tuple(fieldB=array(a,c)), fieldB, productSort="fieldB

Re: Solr for Content Management

2018-06-08 Thread Alexandre Rafalovitch
And in solrconfig.xml, it is possible to configure the searches to warm the index up before the users see it. Regards, Alex On Thu, Jun 7, 2018, 21:27 David Hastings, wrote: > When you are sending updates you are adjusting the segments which take them > out of memory and the index becomes

Re: Solr for Content Management

2018-06-08 Thread Emir Arnautović
Hi, It is also likely that your indexing is using resources and that there are not enough resources for queries to process. Indexing can put stress on heap and GCs might be slowing Solr down resulting in observed latency. Can you tell us a bit more on size of your index, server configs, heap

Re: Different docs order in different replicas of the same shard

2018-06-08 Thread SOLR4189
I think that I found very simple solution: to set my updateProcessorsChain to default="true" and it is solving all my problems without moving all post-updateprocessors to be pre-updateprocessors. What do you think about it? -- Sent from:

Re: Indexing to replica instead leader

2018-06-08 Thread Emir Arnautović
Hi, Indexing request will always go to leader first. If you are using Solrj and if you initialise it with ZK, it will be aware which node has leader for which document and will send it there. Otherwise, there is a chance of this additional roundtrip replica->leader->replica. HTH, Emir --

Indexing to replica instead leader

2018-06-08 Thread SOLR4189
I'm using SOLR 6.5.1 in cloud mode with replicas. I read here : /When a document is sent to a Solr node for indexing, the system first determines which Shard that document belongs to, and then which node is

Re: SolrJ and autoscaling

2018-06-08 Thread Hendrik Haddorp
I opened a Jira for it: https://issues.apache.org/jira/browse/SOLR-12467 On 08.06.2018 07:24, Shalin Shekhar Mangar wrote: Yes, we don't have Solrj support for changing autoscaling configuration today. It'd be nice to have for sure. Can you please file a Jira? Patches are welcome too! On Wed,

how to configure LastFieldValueUpdateProcessorFactory

2018-06-08 Thread root23
HI all, I am trying to configure LastFieldValueUpdateProcessorFactory for my multivalued fields so that i only take the last value. I did the following in my solrconfig file. transcation_type I reloaded the core but got an error 500 12492

Relationship Between Number of Solr Replicas and Number of Zookeeper Nodes (if any)

2018-06-08 Thread THADC
Hello, I am having trouble getting a clear understanding of the relationship between my 3-node zookeeper cluster and how those 3 nodes relate to solr replicas (if at all). Since the replicas exist for failover purposes (correct?) as opposed to for load balancing (which is what the sharding

Re: Relationship Between Number of Solr Replicas and Number of Zookeeper Nodes (if any)

2018-06-08 Thread Erick Erickson
Not at all. ZooKeeper is just the record-keeper for the _states_ of the replicas, i.e. whether they are active, recovering, down and the like, as well as the config sets (schema, solrconfig.xml etc). There is no relationship between these two counts. Well, if you have a zillion collections with a

Re: how to configure LastFieldValueUpdateProcessorFactory

2018-06-08 Thread Alexandre Rafalovitch
You cannot put a URP directly into the request handler. You need to define it outside and refer to it. Check the shipped examples for more guidance. Regards, Alex On Fri, Jun 8, 2018, 22:00 root23, wrote: > HI all, > I am trying to configure LastFieldValueUpdateProcessorFactory for my >