Re: Solr Replication

2019-01-07 Thread Bernd Fehling
In SolrCloud there are Data Centers. Your Cluster 1 is DataCenter 1 and your Cluster 2 is Data Center 2. You can then use CDCR (Cross Data Center Replication). http://lucene.apache.org/solr/guide/7_0/cross-data-center-replication-cdcr.html Nevertheless I would spend your Cluster 2 another 2 zooke

Re: How to have the same SOLR cores for both 8983 and 8984 ports

2019-01-07 Thread Jan Høydahl
Solr runs on only one port at a time, so there must be some misunderstanding here. If you have Solr running on both ports at the same time then you have simply started a new instance, not reconfigured the previous. For us to help you more, you will have to provide more details on how you have in

Re: Web Server HTTP Header Internal IP Disclosure SOLR port

2019-01-07 Thread Jan Høydahl
Are you saying that the redirect from http://my.ip:8983/ to http://my.ip.8983/solr/ is a security issue for you? Please tell us how this could be by providing a real example where you believe that Solr exposes some secret information that the requesting client should not gain access to?? Rememb

RE: Solr Replication

2019-01-07 Thread Vadim Ivanov
Using cdcr with new replica types be aware of https://issues.apache.org/jira/browse/SOLR-12057?focusedComm Parallel indexing to both cluster might be an option as well -- Vadim > -Original Message- > From: Bernd Fehling [mailto:bernd.fehl...@uni-bielefeld.de] > Sent: Monday, January 07

Setting Solr Home via installation script

2019-01-07 Thread Stephon Harris
I am trying to install solr as a service so that when a restart takes place the solr home directory is set to `example/schemaless/solr`where there are cores I have created while running solr in the schemaless example. As instructed in taking Solr to Production

Re: Questions for SynonymGraphFilter and WordDelimiterGraphFilter

2019-01-07 Thread Thomas Aglassinger
Hi Wei, here's a fairly simple field type we currently use in a project that seems to do the job with graph synonyms. Maybe this helps as a starting point for you:

Page faults

2019-01-07 Thread Branham, Jeremy (Experis)
Does anyone know if it is typical behavior for a SOLR cluster to have lots of page faults (50-100 per second) under heavy load? We are performing load testing on a cluster with 8 nodes, and my performance engineer has brought this information to attention. I don’t know enough about memory managem

Re: Page faults

2019-01-07 Thread Erick Erickson
Images do not come through, so we don't see what you're seeing. That said, I'd expect page faults to happen: 1> when indexing. Besides what you'd expect (new segments written to disk), there's segment merging going on in the background which has to read segments from disk in order

Re: Solr relevancy score different on replicated nodes

2019-01-07 Thread Erick Erickson
You misunderstand my point. The wall clock times _will_ be different on leader and follower. It follows that the documents contained in the individual segments on the leader and follower will _not_ be identical. This leads to _deleted_ documents being in different segments on the leader and follow

Re: Page faults

2019-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Erick, On 1/7/19 11:52, Erick Erickson wrote: > Images do not come through, so we don't see what you're seeing. > > That said, I'd expect page faults to happen: > > 1> when indexing. Besides what you'd expect (new segments written > to disk), ther

Re: Questions for SynonymGraphFilter and WordDelimiterGraphFilter

2019-01-07 Thread Wei
Thanks Thomas. You mentioned "Also there is no need for the FlattenGraphFilter", that's quite interesting because the Solr documentation says it's mandatory for indexing: https://lucene.apache.org/solr/guide/7_6/filter-descriptions.html. Is there any more explanation for this? Best regards, Wei

Re: Re: Page faults

2019-01-07 Thread Branham, Jeremy (Experis)
Thanks Erick/Chris for the information. The page faults are occurring on each node of the cluster. These are VMs running SOLR v7.2.1 on RHEL 7. CPUx8, 64GB mem. We’re collecting GC information and using a DynaTrace agent, so I’m not sure if / how much that contributes to the overhead. This clust

DateRangeField requires month?

2019-01-07 Thread Jeremy Smith
Hello, I am trying to use the DateRangeField and ran into an interesting issue. According to the documentation (https://lucene.apache.org/solr/guide/7_6/working-with-dates.html), these are both valid for the DateRangeField: 2000-11 and 2000-11T13. I can confirm this is working in 7.6.

Re: Re: Page faults

2019-01-07 Thread Erick Erickson
having some replicas at 90G and some at 18G is totally unexpected with compisiteID routing unless you're using "multi-level routing", see: https://lucidworks.com/2014/01/06/multi-level-composite-id-routing-solrcloud/ But let's be clear what we're talking about here. I'm talking about specifically

Tool to format the solr query for easier reading?

2019-01-07 Thread Hullegård , Jimi
Hi, I often find myself having to analyze an already existing solr query. But when the number of clauses and/or number of nested parentheses reach a certain level I can no longer grasp what the query is about by just a quick glance. Sometimes I can look at the code generating the query, but it