Re: CPU usage goes high when indexing one document in Solr 8.0.0

2019-04-10 Thread vishal patel
Thanks for your reply.. Yes same problem like SOLR-13349. We will wait for Solr 8.1. Sent from Outlook From: Erick Erickson Sent: Wednesday, April 10, 2019 8:41 PM To: solr-user@lucene.apache.org Subject: Re: CPU usage goes high when in

Re: Solr 8.0.0 - CPU usage 100% when indexed documents

2019-04-10 Thread vishal patel
Thanks for your reply.. All 4 CPU core got high by 12 to 15 seconds. we used java 8. I got your point. We will wait solr 8.1 rather upgrade OpenJDK 11. Sent from Outlook From: Shawn Heisey Sent: Wednesday, April 10, 2019 9:07 PM To: sol

Unable to start sole-exporter on branch_7x

2019-04-10 Thread Karl Stoney
Hi, I’m getting the following error when trying to start `solr-exporter` on branch `7_x`. INFO - 2019-04-10 23:36:10.872; org.apache.solr.core.SolrResourceLoader; solr home defaulted to 'solr/' (could not find system property or JNDI) Exception in thread "main" java.lang.NoClassDefFoundError:

Re: CDCR one source multiple targets

2019-04-10 Thread Arnold Bronley
This had a very simple solution if anybody else is wondering about the same issue.I had to define separate replica elements inside cdcr. Following is an example. target1:2181 techproducts techproducts target2:2181 techproducts techproducts 8 1000 128 1000disabled On Thu, Mar 21, 2

Re: I it possible to configure solr to show time stamps without the 'Z'- character in the end

2019-04-10 Thread Jan Høydahl
Perhaps an UpdateProcessor is what you need? https://lucene.apache.org/solr/7_7_0//solr-core/org/apache/solr/update/processor/ParseDateFieldUpdateProcessorFactory.html http

Question for separate query and updates with TLOG and PULL replicas

2019-04-10 Thread Wei
Hi, I have a question about how to complete separate queries and updates in a cluster of mixed TLOG and PULL replicas. solr cloud setup: Solr-7.6.0, 10 shards, each shard has 2 TLOG + 4 PULL replicas. In solrconfig.xml we set preferred replica type for queries to PULL: replica.type:PULL

Re: gatherNodes question. Is this a bug?

2019-04-10 Thread Joel Bernstein
What you're trying to do should work. Possibly of you provide more detail like the full query with some sample outputs I might be able to see what the issue is. Joel Bernstein http://joelsolr.blogspot.com/ On Wed, Apr 10, 2019 at 10:55 AM Kojo wrote: > Hello everybody I have a question about S

Re: var, sttdev Streaming Evaluators.

2019-04-10 Thread Joel Bernstein
They currently are not. You can use describe() to get these values and getValue() if you want to use a specific value. let(arr=array(1,3,3), m=describe(a), s=getValue(m, stdev)) It makes sense to add these on there own as well. Joel Bernstein http://joelsolr.blogspot.com/ On Wed, Apr 10, 20

Re: How to configure default replication type?

2019-04-10 Thread Tulsi
Hi Roger, Have you tried shards.preference parameter? You can specify the replica.type as TLOG or PULL(default is NRT) in solrconfig.xml using this parameter. Example: shards.preference=replica.TLOG Note: earlier this parameter was preferLocalShards which has been deprecated. -- Sent from:

Re: Solr 8.0.0 - CPU usage 100% when indexed documents

2019-04-10 Thread Shawn Heisey
On 4/9/2019 10:53 PM, vishal patel wrote: Still my CPU usage went high and my CPU has 4 core and no other application running in my machine. I was asking how many CPUs went to 100 percent, not how many CPUs you have. And I also asked how long CPU usage remains at 100 percent after indexing

var, sttdev Streaming Evaluators.

2019-04-10 Thread Nazerke S
Hi, I have got a question about Streaming Expression evaluators. I would like to calculate mean, standard deviation and variance of the given array. For example, the following code works for the mean: let(arr=array(1,3,3), m=mean(a)) Also, I want to compute variance and standard d

Re: CPU usage goes high when indexing one document in Solr 8.0.0

2019-04-10 Thread Erick Erickson
Possibly SOLR-13349? > On Apr 9, 2019, at 11:41 PM, vishal patel > wrote: > > I am upgrading solr 6.1.0 to 8.0.0. When I indexed only one document in solr > 8.0.0, My CPU usage got high for some times even though indexing done. > I noticed that my autocommit maxTime was 60 in solrconfig.xm

Re: Solr exception: java.lang.IllegalStateException: unexpected docvalues type NUMERIC for field 'weight' (expected one of [BINARY, NUMERIC, SORTED, SORTED_NUMERIC, SORTED_SET]). Re-index with correct

2019-04-10 Thread Erick Erickson
"Re-index with correct docvalues”. I.e. define weight to have docValues=true in your schema. WARNING: you have to totally get rid of your current data, I’d recommend starting with a new collection. > On Apr 10, 2019, at 12:21 AM, Alex Broitman > wrote: > > We got the Solr exception when searc

Re: Shard and replica went down in Solr 6.1.0

2019-04-10 Thread Erick Erickson
Solr will not go down due to “performance warning”. All that means is that you’re opening too many searchers in a short time. If you’re somehow opening a huge number of searchers, then maybe but IIRC you can’t really open more than two. And don’t think you can “fix” this by upping maxWarmingSear

gatherNodes question. Is this a bug?

2019-04-10 Thread Kojo
Hello everybody I have a question about Streaming Expression/Graph Traversal. The following pseudocode works fine: complement( search(), sort( gatherNodes( collection, search()) ), ) However, when I feed the SE resultset above to another gatherNodes function, I have a result dif

Re: How to prevent solr from deleting cores when getting an empty config from zookeeper

2019-04-10 Thread Gus Heck
Deleting data on a zookeeper hiccup does sound bad if it's really solr's fault. Can you work up a set of steps to reproduce? Something like install solr, index tech products example, shut down solr, perform some editing to zk, start solr, observe data gone (but with lots of details about exact conf

Shard and replica went down in Solr 6.1.0

2019-04-10 Thread vishal patel
I have 2 shards and 2 replicas of Solr 6.1.0. one shard and one replica went down and I got below ERROR 2019-04-08 12:54:01.469 INFO (commitScheduler-131-thread-1) [c:products s:shard1 r:core_node1 x:product1] o.a.s.s.SolrIndexSearcher Opening [Searcher@24b9127f[product1] main] 2019-04-08 12:5

Solr exception: java.lang.IllegalStateException: unexpected docvalues type NUMERIC for field 'weight' (expected one of [BINARY, NUMERIC, SORTED, SORTED_NUMERIC, SORTED_SET]). Re-index with correct doc

2019-04-10 Thread Alex Broitman
We got the Solr exception when searching in Solr: SolrNet.Exceptions.SolrConnectionException: true500160truevid:def(rid,id),name,nls_NAME___en-us,nls_NAME_NLS_KEY,txt_display_name,sysidtrue0truegid:(0 21)-(+type:3 -recipients:5164077)-disabled_types:(16 1024 2048){!acls user="5164077" gid="21"

Solr7.5 and zookeeper 3.4.14

2019-04-10 Thread Hari Nakka
We have solr 7.5 cloud setup with external zookeeper ensemble 3.4.11 (as it is the recommended version bundled with the distribution) I read new zookeeper versions are backward compatible. Can we upgrade it to 3.4.14. Any issue reported ?