Re: Changing merge policy config on production

2017-12-15 Thread Erick Erickson
The merge rate will be limited by the number of merge threads. You'll merge more often though so the load will change. That said, I wouldn't be concerned unless you have a very high indexing rate. Why do you want to change anyway? Unless you've tried the new settings in a Dev environment, the

Changing merge policy config on production

2017-12-15 Thread alexpusch
Hi, Is it safe to change the mergePolicyFactory config on production servers? Specifically maxMergeAtOnce and segmentsPerTier. How will solr reconcile the current state of the segments with the new config? In case of setting segmentsPerTier to a lower number - will subsequent merges be particulary

Re: Solr ssl issue while creating collection

2017-12-15 Thread Erick Erickson
No. ZooKeeper is an integral part of SolrCloud, without it you don't _have_ SolrCloud. Best, Erick On Fri, Dec 15, 2017 at 1:03 PM, Sundaram, Dinesh wrote: > Thanks again for your valuable reply. Yes that’s correct. Is there a way to > start solr alone without

Re: Debugging custom RequestHander: spinning up a core for debugging

2017-12-15 Thread Erick Erickson
My guess is this isn't a Solr issue at all; you are somehow using an old Java. RBBIDataWrapper is from com.ibm.icu.text; I saw on a quick Google that this was cured by re-installing Eclipse, but that was from 5 years ago. You say your Java and IDE skills are a bit rusty, maybe you haven't

Debugging custom RequestHander: spinning up a core for debugging

2017-12-15 Thread Tod Olson
Hi everyone, I need to do some step-wise debugging on a custom RequestHandler. I'm trying to spin up a core in a Junit test, with the idea of running it inside of Eclipse for debugging. (If there's an easier way, I'd like to see a walk through!) Problem is the core fails to spin up with:

RE: Solr ssl issue while creating collection

2017-12-15 Thread Sundaram, Dinesh
Thanks again for your valuable reply. Yes that’s correct. Is there a way to start solr alone without any embedded/external zookeeper in solrcloud mode? Dinesh Sundaram MBS Platform Engineering Mastercard -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent:

using rank queries(rq) with grouping in solr cloud

2017-12-15 Thread tomerg
hey, i'm using solr 6.5.1 with solrCloud mode. i use grouping for my results. i want to use rank query(rq) in order to rerank the top groups(with ltr). it's ok for me to rerank the groups only by reranking one of the documents in the group. i saw in issue SOLR-8776 that rank queries doesn't

Re: indexing data to solrcloud with "implicit" is not distributing across cluster.

2017-12-15 Thread Erick Erickson
You're misinterpreting the docs. _route_ is used to tell _queries_ where to go, or to route a document as part of the parameters when you send the doc, not a field in the doc. So when you added the _route_ field to the doc, you didn't have it in the schema in the first place. So you could add a

Re: indexing data to solrcloud with "implicit" is not distributing across cluster.

2017-12-15 Thread hemanth
I created a collection with implicit routing mechanism and my shared names are Active and Disabled , these are the values of one of my collection field: Status. But when I am trying to upload the document using Solr UI documents section : Upload using JSON format with all the fields including

Re: Solr 6.6 using swap space causes recovery?

2017-12-15 Thread Erick Erickson
One mechanism that comes to mind is if the swapping slows down an update. Here's the process - Leader sends doc to follower - follower times out - leader says "that replica must be sick, I'll tell it to recover" The smoking gun here is if you see any messages about "leader-initiated recovery".

Re: How to restart solr in docker?

2017-12-15 Thread Deepak Vohra
Is the Docker container still running, which may be listed with docker ps? Solr may be started with: docker exec -it my_solr start On Fri, 12/15/17, Buckler, Christine wrote: Subject: How to restart solr in

Re: SolrCloud

2017-12-15 Thread John Davis
Thanks Erick. I agree SolrCloud is better than master/slave, however we have some questions between managing replicas separately vs with solrcloud. For eg how much overhead do SolrCloud nodes have wrt memory/cpu/disk in order to be able to sync pending index updates to other replicas? What

Re: legacy replication

2017-12-15 Thread David Hastings
Understandable. Right now we have a large set up of solr 5.x servers that has been doing great for years. But the time to upgrade has come, with some things that we want that are not available in the 5.x branch. I really like legacy ( master/slave) replication, for the reasons you stated, but

Re: Solr 6.6 using swap space causes recovery?

2017-12-15 Thread Shawn Heisey
On 12/15/2017 10:53 AM, Bill Oconnor wrote: > The recovering server has a much larger swap usage than the other servers in > the cluster. We think this this related to the mmap files used for indexes. > The server eventually recovers but it triggers alerts for devops which are > annoying. > > I

Re: legacy replication

2017-12-15 Thread Walter Underwood
I love legacy replication. It is simple and bulletproof. Loose coupling for the win! We only run Solr Cloud when we need sharding or NRT search. Loose coupling is a very, very good thing in distributed systems. Adding a replica (new slave) is trivial. Clone an existing one. This makes

Re: How to sort on dates?

2017-12-15 Thread Shawn Heisey
On 12/15/2017 2:53 AM, Georgios Petasis wrote: > I have a field of type "date_range" defined as: > > multiValued="false" indexed="true" stored="true"/> > > The problem is that sorting on this field does not work (despite the > fact that I put dates in there). Instead I get an error prompting to >

Solr 6.6 using swap space causes recovery?

2017-12-15 Thread Bill Oconnor
Hello, We recently upgraded to SolrCloud 6.6. We are running on Ubuntu servers LTS 14.x - VMware on Nutanics boxs. We have 4 nodes with 32GB each and 16GB for the jvm with 12GB minimum. Usually it is only using 4-7GB. We do nightly indexing of partial fields for all our docs ~200K. This

How to restart solr in docker?

2017-12-15 Thread Buckler, Christine
What is the command for restarting solr on a docker image? I have modified the solrconfig.xml to add the suggest plugin and now I want to update to reflect this change. I was able to stop solr using “$ docker exec -it my_solr stop all” but now I can’t figure out how to restart. Thanks,

Re: Solr upgrade from 4.x to 7.1

2017-12-15 Thread Erick Erickson
What advantage do you see in TLOG and/or PULL replicas? The TLOG and PULL replica types are for some pretty specific use cases, particularly high-indexing-throughput cases where you can't afford to index each doc on every node in your cluster. If you can afford the CPU cycles to index on every

Re: legacy replication

2017-12-15 Thread Erick Erickson
There's pretty much zero chance that it'll go away, too much current and ongoing functionality that depends on it. 1> old-style replication has always been used for "full sync" in SolrCloud when peer sync can't be done. 2> The new TLOG and PULL replica types are a marriage of old-style

Re: SolrCloud

2017-12-15 Thread Erick Erickson
The main advantage in SolrCloud in your setup is HA/DR. You say you have multiple replicas and shards. Either you have to index to each replica separately or you use master/slave replication. In either case you have to manage and fix the case where some node goes down. If you're using

Re: How to restart solr in docker?

2017-12-15 Thread Shawn Heisey
On 12/15/2017 9:55 AM, Buckler, Christine wrote: > What is the command for restarting solr on a docker image? I have modified > the solrconfig.xml to add the suggest plugin and now I want to update to > reflect this change. I was able to stop solr using “$ docker exec -it my_solr > stop all”

Re: How to restart solr in docker?

2017-12-15 Thread Jamie Jackson
The usual procedure with containers is to restart or recreate the container. On Fri, Dec 15, 2017 at 11:55 AM, Buckler, Christine < christine.buck...@nordstrom.com> wrote: > What is the command for restarting solr on a docker image? I have modified > the solrconfig.xml to add the suggest plugin

SolrCloud

2017-12-15 Thread John Davis
Hello, We are thinking about migrating to SolrCloud. Our current setup is: 1. Multiple replicas and shards. 2. Each query typically hits a single shard only. 3. We have an external system that assigns a document to a shard based on it's origin and is also used by solr clients when querying to find

legacy replication

2017-12-15 Thread David Hastings
So i dont step on the other thread, I want to be assured whether or not legacy master/slave/repeater replication will continue to be supported in future solr versions. our infrastructure is set up for this and all the HA redundancies that solrcloud provides we have already spend a lot of time and

How to restart solr in docker?

2017-12-15 Thread Buckler, Christine
What is the command for restarting solr on a docker image? I have modified the solrconfig.xml to add the suggest plugin and now I want to update to reflect this change. I was able to stop solr using “$ docker exec -it my_solr stop all” but now I can’t figure out how to restart. Thanks,

Re: Solr upgrade from 4.x to 7.1

2017-12-15 Thread Drooy Drooy
Hi Erick/Robi, Thanks for your replies! one more question, if I go with solrcloud and having PULL/TLOG replication mixed in the cluster, by the documentation, this would have Master/Slave mode benefit as well, does that seem feasible to you? are there any projects adopting this new feature in

Re: SOLR Rest API for monitoring

2017-12-15 Thread Shawn Heisey
On 12/14/2017 2:27 PM, Abhi Basu wrote: > I am using CDH 5.13 with Solr 4.10. Trying to automate metrics gathering > for JVM (CPU, RAM, Storage etc.) by calling the REST APIs described here -> > https://lucene.apache.org/solr/guide/6_6/metrics-reporting.html. > > Are these not supported in my

Re: Solr upgrade from 4.x to 7.1

2017-12-15 Thread Shawn Heisey
On 12/14/2017 2:27 PM, Drooy Drooy wrote: > We have an in-house project running in Solr 4.7 with Master/Slave mode for > a few years, what is it going to take to upgrade it to SolrCloud with > TLOG/PULL replica mode ? > > I read the upgrade guides, none of them talking about the jump from 4.x to >

Re: Is it safe to give users access to /admin/luke ?

2017-12-15 Thread Shawn Heisey
On 12/13/2017 11:51 PM, Solrmails wrote: > Is it safe to give users access to /admin/luke ? I restricted access for > normal users and I also restrict acces per solr document(via a plugin). But > for some reasonse users need informations from /admin/luke. > Can they destroy something or retrieve

SOLR nested dataimport issues

2017-12-15 Thread Triveni
I am trying to import a nested xml using URLdatasource. But indexing is not happening. XML: ABC 1512016450886 XYZ access public access12 public12 My data-config.xml: http://abc:123/api/sample_api.xml; processor="XPathEntityProcessor"

Re: Wildcard searches with special character gives zero result

2017-12-15 Thread Michael Kuhlmann
Solr does not analyze queries with wildcards in it. So, with ch*p-seq, it will search for terms that start with ch and end with p-seq. Since your indexer has analyzed all tokens before, only chip and seq are in the index. See

Re: Wildcard searches with special character gives zero result

2017-12-15 Thread Selvam Raman
I am using edismax query parser. On Fri, Dec 15, 2017 at 10:37 AM, Selvam Raman wrote: > Solr version - 6.4.0 > > "title_en":["Chip-seq"] > > When i fired query like below > > 1) chip-seq > 2) chi* > > it is giving expected result, for this case one result. > > But when i am

Re: No Live SolrServer available to handle this request

2017-12-15 Thread Selvam Raman
Hi Steve, i have raised the jira ticket SOLR-11764 . I am happy to work with you to solve this problem. Thanks, selvam R On Thu, Dec 7, 2017 at 2:48 PM, Steve Rowe wrote: > Hi Selvam, > > This sounds like it may be a bug -

Wildcard searches with special character gives zero result

2017-12-15 Thread Selvam Raman
Solr version - 6.4.0 "title_en":["Chip-seq"] When i fired query like below 1) chip-seq 2) chi* it is giving expected result, for this case one result. But when i am searching with wildcard it produce zero result. 1) ch*p-seq if i use escape character in '-' it creates two terms rather than

Re: How to sort on dates?

2017-12-15 Thread Michael Kuhlmann
Hi Georgios, DateRangeField is a kind of SpatialField which is not sortable at all. For sorting, use a DatePointField instead. It's not deprecated; the deprecated class is TrieDateField. Best, Michael Am 15.12.2017 um 10:53 schrieb Georgios Petasis: > Hi all, > > I have a field of type

How to sort on dates?

2017-12-15 Thread Georgios Petasis
Hi all, I have a field of type "date_range" defined as: multiValued="false" indexed="true" stored="true"/> The problem is that sorting on this field does not work (despite the fact that I put dates in there). Instead I get an error prompting to perform sorting through a query. How can I