Re: If the leader dies, will the data be lost?

2020-04-06 Thread Taisuke Miyazaki
Hi Erick, > Before the leader goes down, the sequence of an update is this. > - the doc comes in to the leader (TL) > - the doc is forwarded to all the other tlog replicas (TF) and written to _their_ tlogs > - all the TF replicas ack back to TL > - TL acks back to the client So the write request

Re: Proper way to manage managed-schema file

2020-04-06 Thread Jörn Franke
You can use the Solr rest services to do all those operations. https://lucene.apache.org/solr/guide/8_3/schema-api.html Normally in a productive environment you don’t use the UI but do all changes in a controlled automated fashion using the REST APIs. > Am 06.04.2020 um 20:11 schrieb TK

Proper way to manage managed-schema file

2020-04-06 Thread TK Solr
I am using Solr 8.3.1 in non-SolrCloud mode (what should I call this mode?) and modifying managed-schema. I noticed that Solr does override this file wiping out all my comments and rearranging the order. I noticed there is a "DO NOT EDIT" comment. Then, what is the proper/expected way to

Re: Required operator (+) is being ignored when using default conjunction operator AND

2020-04-06 Thread Chris Hostetter
: I red your attached blog post (and more) but still the penny hasn't dropped : yet about what causes the operator clash when the default operator is AND. : I red that when q.op=AND, OR will change the left(if not MUST_NOT) and : right clause Occurs to SHOULD - what that means is that the "order

Re: Admin UI core loading fails

2020-04-06 Thread TK Solr
I failed to include this line in my first post. This /select call with strange parameters (q=1) seems to be happening periodically even when I don't do any operation on Admin UI. I scanned the Solr source code, /opt/solr and /var/solr/data and I couldn't find the source of this call.

Multiple versions of Solr nodes in the same cloud

2020-04-06 Thread Kudrettin Güleryüz
Hi, Can I run let's say, Solr 8.5.0 together with Solr 7.3.1. nodes while replacing older nodes with 8.5.0 one by one? We have a cloud with rather large disk space utilization. What is the suggested way to handle this kind of situation? Building indexes takes around 3 days to complete.

Re: All shards placed on the same node

2020-04-06 Thread Kudrettin Güleryüz
Thank you Sandeep. Actually there is a reasoning behind core precision to be 10. I didn't want cores to be the only criteria. Setting precision to 1 would pretty much work like that. I have a higher preference for freedisk to be distributed evenly but doesn't seem like it works that well if core

RE: match string fields with embedded hyphens

2020-04-06 Thread Teresa McMains
Erick, thank you so much for this. I'm going to try to implement with PatternReplaceCharFilterFactory as you recommended. What you mentioned about re-indexing from an empty state made sense to me (in terms of the observed behavior) but also surprised me. If I select "Clean" on the reindex,

Re: A question about underscore

2020-04-06 Thread Erick Erickson
I _strongly_ urge you to become acquainted with the Admin UI, particularly the “analysis” section. It’ll show you exactly what transformations each step in your analysis chain perform. Without you providing the fieldType definition, all I can do is guess but my guess is that you have

A question about underscore

2020-04-06 Thread chalaulait 808
I am using Solr4.0.13 to implement the search function of the document management system. I am currently having issues with search results when the search string contains an underscore. For example, if I search for the character string "AAA_001", the search results will return results like "AAA"

Re: Could not publish that recovery failed

2020-04-06 Thread Robert Douglas
Thanks Erick. I think we already looked at GC and the Solr logs and nothing jumped out, but I'll let you know if we get to the bottom of this. On 4/3/20, 7:20 PM, "Erick Erickson" wrote: H. What this usually means is that the connection from the Solr instance to Zookeeper somehow

Re: If the leader dies, will the data be lost?

2020-04-06 Thread Erick Erickson
You’ve got the sequence, that’s it exactly. I don’t quite understand the second part of the question, but let me address data loss. Before the leader goes down, the sequence of an update is this. - the doc comes in to the leader (TL) - the doc is forwarded to all the other tlog replicas (TF)