Re: Idle Timeout while DIH indexing and implicit sharding in 7.4

2018-09-14 Thread Mikhail Khludnev
Hello, Vadim. My guess (and only guess) that bunch of updates coming into a shard causes a heavy merge that blocks new updates in its' order. This can be verified with logs or threaddump from the problematic node. The probable measures are: try to shuffle updates to load other shards for a while an

Re: Data Import Handler with Solr Source behind Load Balancer

2018-09-14 Thread Emir Arnautović
Hi Thomas, Is this SolrCloud or Solr master-slave? Do you update index while indexing? Did you check if all your instances behind LB are in sync if you are using master-slave? My guess would be that DIH is using cursors to read data from another Solr. If you are using multiple Solr instances beh

Re: 20180913 - Clarification about Limitation

2018-09-14 Thread Emir Arnautović
Hi, Here are some thought on how to resolve some of “it depends”: http://www.od-bits.com/2018/01/solrelasticsearch-capacity-planning.html HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elast

RE: Idle Timeout while DIH indexing and implicit sharding in 7.4

2018-09-14 Thread Vadim Ivanov
Hello Mikhail, thank you for support. I have already tested this case a lot to be sure what is happening under the hood. As you proposed - I 've shuffled data coming from sql to solr to see how solr reacts: I have 6 shards s0 ... s5 shard - is the routing field in my collection. (router.name=im

Sorting multi-valued fields

2018-09-14 Thread richard.clarke
Hi What does it mean to sort documents by a multivalued field? If a field has multiple values, how can this be used to sort documents? e.g. if document 1 has a numeric field containing values 1,2,3,4,5 and document 2 has values in the same field of 1,2,3 - which come first in the sort order and w

Re: Sorting multi-valued fields

2018-09-14 Thread Mikhail Khludnev
http://people.apache.org/~mkhl/searchable-solr-guide-7-3/common-query-parameters.html#sort-parameter In the case of primitive fields, or SortableTextFields, that are multiValued="true" the representative value used for each doc when sorting depends on the sort direction: The minimum value in each d

Re: Solr uppercase inside phrase query

2018-09-14 Thread arobinski
Did you manage to solve the problem? I have the same problem and would like to know a solution. Chien Nguyen wrote > Many thank. I will try it. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

RE: solrcloud configuration: solr failed to start with multiple zookeeper servers

2018-09-14 Thread Gu, Steve (CDC/CDC OD/OADS) (CTR)
Edwin, Solr is 7.4.0, and zookeeper is 3.4.12. Interestingly, when I started solr with ZK_HOST="localhost:2181", I can still access solr via other zk_host with CloudSolrClient. Thanks Steve -Original Message- From: Zheng Lin Edwin Yeo Sent: Thursday, September 13, 2018 11:10 PM To: s

Re: solrcloud configuration: solr failed to start with multiple zookeeper servers

2018-09-14 Thread Shawn Heisey
On 9/13/2018 6:47 AM, Gu, Steve (CDC/OD/OADS) (CTR) wrote: After zk servers have started, I got the following error when I tried to start solr: localhost:2182 was unexpected at this time. Where is this error seen?  Was there more to the message?  In addition to knowing that, we will need to

Re: Sorting multi-valued fields

2018-09-14 Thread Shawn Heisey
On 9/14/2018 4:50 AM, richard.clarke wrote: What does it mean to sort documents by a multivalued field? If a field has multiple values, how can this be used to sort documents? e.g. if document 1 has a numeric field containing values 1,2,3,4,5 and document 2 has values in the same field of 1,2,3

join query in same collection

2018-09-14 Thread Steve Pruitt
I see nothing in the documentation suggesting a query with a join filter doesn't work when a single collection is involved. There is the special deployment instructions when joining across two distinct collections, but this is not my case. I have a single collection: I have two VM's, both runn

RE: join query in same collection

2018-09-14 Thread Vadim Ivanov
Hi, AFAIK Solr can join only local indexes. No matter whether you join the same collection or two different ones. So, in your case shard1 will be joined to shard1 and shard2 to shard2. Unfortunately it's hard to say from your data which document resides in which shard, but you can test using &

Re: Explode kind of function in Solr

2018-09-14 Thread Rahul Singh
https://github.com/bazaarvoice/jolt On Thu, Sep 13, 2018 at 9:18 AM Joel Bernstein wrote: > Solr Streaming Expressions allow you to do this with the cartesianProduct > function: > > > http://lucene.apache.org/solr/guide/7_4/stream-decorator-reference.html#cartesianproduct > > The structure of th

RE: Faceting with EnumFieldType in 7.1

2018-09-14 Thread Peter Tyrrell
Yes. Peter Tyrrell, MLIS Lead Developer at Andornot 1-866-266-2525 x706 / ptyrr...@andornot.com -Original Message- From: Zheng Lin Edwin Yeo Sent: September 13, 2018 8:15 PM To: solr-user@lucene.apache.org Subject: Re: Faceting with EnumFieldType in 7.1 Was the document re-indexed in S