RE: Customizing the search result

2016-12-28 Thread Daisy
And another one more issue is our pagination. Our pagination is displayed according to the number of products found. If we use group by, the pagination won't tally with number of products anymore. And there may be some cases the products will never get displayed as we use group by throughout the

Re: Easy way to preserve Solr Admin form input

2016-12-28 Thread Alexandre Rafalovitch
Ok, good to know. I was under the impression that search screen was more 'magic'. But I did not poke around those internals. Regards, Alex. http://www.solr-start.com/ - Resources for Solr users, new and experienced On 28 December 2016 at 05:26, Stefan Matheis wrote: > Alex, this is wha

Re: Configuring Solr for Maximum Concurrency

2016-12-28 Thread Erick Erickson
You'll see some lines with three different times in them, "user" "sys" and "real". The one that really counts is "real", that's the time that the process was stopped while GC went on. The "stop" in "Stop the world" (STW) GC What you're looking for is two things: 1> outrageously long times and/or

Solr basic-authentication with Unity.SolrNetIntegration

2016-12-28 Thread rphilip
Hello! I need to use Unity.SolrNetIntegration with a Solr instance which has basic authentication enabled. Below is the start-up code I use now and it works fine against Solr with no-authentication; var solrServers = new Unity.SolrNetIntegration.Config.SolrServers { new Unity.SolrN

Re: Configuring Solr for Maximum Concurrency

2016-12-28 Thread Dave Seltzer
Hi Erick, You're probably right about it not being a threading issue. In general it seems that CPU contention could indeed be the issue. Most of the settings we're using in Solr came "right out of the box" including Jetty's configuration which specifies: solr.jetty.threads.min: 10 solr.jetty.thr

Re: Configuring Solr for Maximum Concurrency

2016-12-28 Thread Dave Seltzer
Hi Pablo, I'm not sure what settings govern Solr's jetty container. /opt/solr/server/etc/jetty.xml includes the following: solr.jetty.threads.min: 10 solr.jetty.threads.max: 1 solr.jetty.threads.idle.timeout: 5000 solr.jetty.threads.stop.timeout: 6 MAX_CONNECTIONS_PER_HOST could certain

Indexing architecture

2016-12-28 Thread suriya prakash
Hi, I have 100 thousand indexes in Hadoop grid because 90% of my indexes will be inactive and I can distribute the other active indexes based on load. Scoring will work better for each index but I don't worry about it now. What are the optimisations I need to do to Scale better? I do commit ever

Re: Configuring Solr for Maximum Concurrency

2016-12-28 Thread Erick Erickson
Threads are usually a container parameter I think. True, Solr wants lots of threads. My return volley would be how busy is your CPU when this happens? If it's pegged more threads probably aren't really going to help. And if it's a GC issue then more threads would probably hurt. Best, Erick On Wed

Re: Configuring Solr for Maximum Concurrency

2016-12-28 Thread Pablo Anzorena
Dave, there is something similar like MAX_CONNECTIONS and MAX_CONNECTIONS_PER_HOST which control the number of connections. Are you leaving open the connection to zookeeper after you establish it? Are you using the singleton pattern? 2016-12-28 14:14 GMT-03:00 Dave Seltzer : > Hi Erick, > > I'l

Re: Configuring Solr for Maximum Concurrency

2016-12-28 Thread Dave Seltzer
Hi Erick, I'll dig in on these timeout settings and see how changes affect behavior. One interesting aspect is that we're not indexing any content at the moment. The rate of ingress is something like 10 to 20 documents per day. So my guess is that ZK simply is deciding that these servers are dea

Re: Configuring Solr for Maximum Concurrency

2016-12-28 Thread Erick Erickson
Dave: There are at least 4 timeouts (not even including ZK) that can be relevant, defined in solr.xml: socketTimeout connTimeout distribUpdateConnTimeout distribUpdateSoTimeout Plus the ZK timeout zkClientTimeout Plus the ZK configurations. So it would help narrow down what's going on if we kne

Configuring Solr for Maximum Concurrency

2016-12-28 Thread Dave Seltzer
Hello Everyone, I'm working on a Solr Cloud cluster which is used in a hash matching application. For performance reasons we've opted to batch-execute hash matching queries. This means that a single query will contain many nested queries. As you might expect, these queries take a while to execute

Re: Easy way to preserve Solr Admin form input

2016-12-28 Thread Rick Leir
Agreed, this would be handy. I had that need just last week. There are a few chrome tools which claim to do save/load. This only saves once: https://chrome.google.com/webstore/detail/form-save-and-restore/jknhanfpdjpnkfjjkpofcpegcbhpigcd/related Best solution: right click, choose 'Inspect'. U

Re: How to solve?

2016-12-28 Thread Erik Hatcher
I'll have to not be mobile and thumbing a reply to give a concrete example but you'll need to use the nested query parsing facility to make a boolean AND query of two geofilts or bboxes, each with local params. Erik > On Dec 28, 2016, at 02:12, William Bell wrote: > > We are entering en

Re: Easy way to preserve Solr Admin form input

2016-12-28 Thread Stefan Matheis
Alex, this is what we already do for the analysis screen - not that much magic happening there ;) -Stefan On Dec 27, 2016 11:54 PM, "Alexandre Rafalovitch" wrote: > I think there may be a ticket for something similar. Or related to > rerunning a same query/configuration on a new core. > > Worth