Query of death? Collapsing Query Parser - Solr 7.5

2019-03-25 Thread IZaBEE_Keeper
Hi.. I'm wondering if I've found a query of death or just a really expensive query.. It's killing my solr with OOM.. Collapsing query parser using: fq={!collapse field=domain nullPolicy=expand} Everything works fine using words & phrases.. However as soon as there are numbers involved it

Re: Problem with white space or special characters in function queries

2019-03-25 Thread Zheng Lin Edwin Yeo
Hi Shamik, What fieldType are you using for the field that you are doing the function queries on? Regards, Edwin On Tue, 26 Mar 2019 at 06:40, Shamik Bandopadhyay wrote: > Hi, > >I'm having trouble handling white space or special characters in > function queries. Here's a sample function:

Re: solr _route_ key now working

2019-03-25 Thread Zheng Lin Edwin Yeo
Hi, Sorry, didn't see that you have an exclamation mark in your query as well. You will need to escape the exclamation mark as well. So you can try it with the query _route_=“123\:456\!” You can refer to the message in the link on which special characters requires escaping.

Problem with white space or special characters in function queries

2019-03-25 Thread Shamik Bandopadhyay
Hi, I'm having trouble handling white space or special characters in function queries. Here's a sample function: if(termfreq(ADSKFeature,'CUI (Command)'),log(CaseCount),sqrt(CaseCount)) I tried escaping the space with "\", but that didn't work either. Here's the exception being thrown:

Re: Java 9 & solr 7.7.0

2019-03-25 Thread Tim Underwood
Yes, we run on OpenJDK 11 (the Oracle open source build, not the commercial version). There are several free OpenJDK distributions to choose from: Oracle Built: https://jdk.java.net/11/ AdoptOpenJDK: https://adoptopenjdk.net/ Amazon Corretto: https://aws.amazon.com/corretto/ RedHat:

Re: Help with slow retrieving data

2019-03-25 Thread Erick Erickson
Glad it’s working out for you. There are a couple of things here that bear a bit more investigation. Using SSDs shouldn’t materially affect the response if: 1> the searcher is warmed. Before trying your query, execute a few queries like “q="some search that hits a log of docs"=myfield asc” 2>

Re: Java 9 & solr 7.7.0

2019-03-25 Thread Jay Potharaju
I just learnt that java 11 is . Is anyone using open jdk11 in production? Thanks > On Mar 23, 2019, at 5:15 PM, Jay Potharaju wrote: > > I have not kept up with jdk versions ...will try with jdk 11 and see if it > addresses the high cpu issue. Thanks > > >> On Mar 23, 2019, at 11:48 AM,

Re: Help with slow retrieving data

2019-03-25 Thread Wendy2
Hi Eric, Thank you very much for your response! I tried "Try this: 1> insure docValues=true for the field. You’ll have to re-index all your docs. " I tried the above approach as you recommended, the performance was getting better, reduced about 3 seconds. Then I tested on a new cloud server

Re: solr _route_ key now working

2019-03-25 Thread Jay Potharaju
That did not work . Any other suggestions My id is 123:456!678 Tried running query as _route_=“123\:456!” But didn’t give expected results Thanks Jay > On Mar 24, 2019, at 8:30 PM, Zheng Lin Edwin Yeo wrote: > > Hi, > > The character ":" is a special character, so it requires escaping

Re: Help with slow retrieving data

2019-03-25 Thread Wendy2
Hi Eric, Thank you very much for your response! "Try this: 1> insure docValues=true for the field. You’ll have to re-index all your docs." I tried use docValues and reduced about 3 seconds. Now I am going to "try 2> if that doesn’t make much of a difference, try adding useDocValuesAsStored

Re: need one sample application

2019-03-25 Thread Gora Mohanty
On Mon, 25 Mar 2019 at 15:58, Suresh Kumar Shanmugavel wrote: > > the example which I need is in Solr7.4.0 and above > > On Mon, 25 Mar 2019 at 15:31, Suresh Kumar Shanmugavel < > sureshkumar.shanmuga...@lastminute.com> wrote: > > > Hi Team, > > I need one sample web application on Solr with

Re: Upgrading solarj from 6.5.1 to 8.0.0

2019-03-25 Thread Jason Gerlowski
Hi Lahiru, I had a chance to refresh myself on how this works over the weekend. There are two ways in SolrJ to talk to a Solr protected by basic-auth: 1. The SolrRequest.setBasicAuthCredentials() method I mentioned before. This can be painful though, and isn't even possible in all usecases. 2.

Re: need one sample application

2019-03-25 Thread Suresh Kumar Shanmugavel
the example which I need is in Solr7.4.0 and above On Mon, 25 Mar 2019 at 15:31, Suresh Kumar Shanmugavel < sureshkumar.shanmuga...@lastminute.com> wrote: > Hi Team, > I need one sample web application on Solr with master and slave > configurations having at least one core with it. > > If

Re: High CPU usage with Solr 7.7.0

2019-03-25 Thread Lukas Weiss
I forward this message. Thanks Adam. Hi, Apologies, I can’t figure out how to reply to the Solr mailing list. I just ran across the same high CPU usage issue. I believe it’’s caused by this commit which was introduced in Solr 7.7.0

Re: Solr boolean query with phrase match

2019-03-25 Thread David Santamauro
Perhaps the Complex Phrase Query Parser might be what you are looking for. https://lucene.apache.org/solr/guide/7_3/other-parsers.html // On 3/25/19, 1:41 AM, "krishan goyal" wrote: Hi, I want to execute a solr query with boolean clauses using the eDismax Query Parser.