Re: Solr 4 to Solr7 migration DIH behavior change

2019-11-22 Thread Shashank Bellary
I've not upgraded mysql driver to latest, I can you explain whats the issue here? thanks On 11/22/19, 4:40 PM, "Shashank Bellary" wrote: Note - This message originated from outside Care.com - Please use caution before opening attachments, clicking on links or sharing information.

Re: Solr 4 to Solr7 migration DIH behavior change

2019-11-22 Thread Shashank Bellary
Yes, I'm on java 8 and mysql driver 5.1.13 Thanks On 11/22/19, 3:00 PM, "Jörn Franke" wrote: Note - This message originated from outside Care.com - Please use caution before opening attachments, clicking on links or sharing information. Did you update the java version to 8? Did you

Re: Solr 4 to Solr7 migration DIH behavior change

2019-11-22 Thread Jörn Franke
Did you update the java version to 8? Did you upgrade the MySQL driver to the latest version? > Am 22.11.2019 um 20:43 schrieb Shashank Bellary : > >  > > Hi Folks > I migrated from Solr 4 to 7.5 and I see an issue with the way DIH is working. > I use `JdbcDataSource` and here the config

Solr 4 to Solr7 migration DIH behavior change

2019-11-22 Thread Shashank Bellary
Hi Folks I migrated from Solr 4 to 7.5 and I see an issue with the way DIH is working. I use `JdbcDataSource` and here the config file is attached 1) I started seeing OutOfMemory issue since MySQL JDBC driver has that issue of not respecting `batchSize` (though Solr4 didn't show this

FW: Solr 4 to Solr7 migration DIH behavior change

2019-11-22 Thread Shashank Bellary
Hi Folks I migrated from Solr 4 to 7.5 and I see an issue with the way DIH is working. I use `JdbcDataSource` and here the config file is attached 1) I started seeing OutOfMemory issue since MySQL JDBC driver has that issue of not respecting `batchSize` (though Solr4 didn't show this

Re: How to tell which core was used based on Json or XML response from Solr

2019-11-22 Thread David Hastings
i personally dont like php, but it may just be the easiest way to do what you need assuming you have a basic web server, send your search query to php, and use $_GET or $_POST to read it into a variable: https://www.php.net/manual/en/reserved.variables.get.php then send that to the solr server in

Re: async BACKUP under Solr8.3

2019-11-22 Thread Erick Erickson
Hmmm, any idea how/why it was set to zero? I just looked at the Git history for that file and don’t see it ever being set to 0…. > On Nov 22, 2019, at 11:19 AM, Oakley, Craig (NIH/NLM/NCBI) [C] > wrote: > > For the record, the solution was to edit solr.xml changing > > ${socketTimeout:0} >

Re: How to tell which core was used based on Json or XML response from Solr

2019-11-22 Thread rhys J
On Fri, Nov 22, 2019 at 1:39 PM David Hastings wrote: > 2 things (maybe 3): > 1. dont have this code facing a client thats not you, otherwise anyone > could view the source and see where the solr server is, which means they > can destroy your index or anything they want. put at the very least

Re: How to tell which core was used based on Json or XML response from Solr

2019-11-22 Thread David Hastings
2 things (maybe 3): 1. dont have this code facing a client thats not you, otherwise anyone could view the source and see where the solr server is, which means they can destroy your index or anything they want. put at the very least a simple api/front end in between the javascript page for the

How to tell which core was used based on Json or XML response from Solr

2019-11-22 Thread rhys J
I'm implementing an autocomplete search box for Solr. I'm using JSON as my response style, and this is the jquery code. var url='http://10.40.10.14:8983/solr/'+core+'/select/?q='+queryField + query+'=2.2=true=0=50=on=json=?=on_data'; jQuery_3_4_1.getJSON(url); ___ on_data(data) { var

RE: async BACKUP under Solr8.3

2019-11-22 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
For the record, the solution was to edit solr.xml changing ${socketTimeout:0} to ${socketTimeout:60} -Original Message- From: Oakley, Craig (NIH/NLM/NCBI) [C] Sent: Tuesday, November 19, 2019 6:19 PM To: solr-user@lucene.apache.org Subject: RE: async BACKUP under Solr8.3 In some

Re: Solr process takes several minutes before accepting commands after restart

2019-11-22 Thread Erick Erickson
right, doesn’t sound likely that it’s rebuilding suggesters/spellcheckers. Throwing a profiler at it to see where it’s spending the time might be easiest. > On Nov 22, 2019, at 3:45 AM, Koen De Groote > wrote: > > Thanks for the link, that's some nice documentation and guidelines. > > I'll

Re: Odd Edge Case for SpellCheck

2019-11-22 Thread Jörn Franke
Stemming involved ? > Am 22.11.2019 um 14:23 schrieb Moyer, Brett : > > Hello, we have spellcheck running, using the index as the dictionary. An odd > use case came up today wanted to get your thoughts and see if what we > determined is correct. Use case: User sends a query for q=brokerage,

Odd Edge Case for SpellCheck

2019-11-22 Thread Moyer, Brett
Hello, we have spellcheck running, using the index as the dictionary. An odd use case came up today wanted to get your thoughts and see if what we determined is correct. Use case: User sends a query for q=brokerage, spellcheck fires and returns "brokerage". Looking at the output I see that solr

Re: Solr process takes several minutes before accepting commands after restart

2019-11-22 Thread Koen De Groote
Thanks for the link, that's some nice documentation and guidelines. I'll probably have time to test again next week, but in the meantime, it does make me scratch my head. I deleted the root folder and re-instrumented the environment. So, there's nothing there. Nothing. The text says: "Do you

Re: Nested SubQuery

2019-11-22 Thread Mikhail Khludnev
Hello, You may try to add =q,row.id and check logs