Re: HTTPSolrClient - help required

2021-06-29 Thread Reej M
Oh ok Walter. For the moment, we too cannot update to cloudsolrclient, and we are trying to find a way to resume the connections for now, and later work on the code cleanup. Thanks > On 30 Jun 2021, at 12:49 AM, Walter Underwood wrote: > > CloudSolrClient is not an absolute requirement for a

Request help / steps to upgrade from apache solr 7.x to 8.x

2021-06-29 Thread utsav sahavasi
Hi, I have some requirements those are I mentioned below, please do the needful 1. I have an apache solr 7.7.3 version. Want to upgrade to the 8.5.2 version. Want to upgrade JDK to version 8 from 6 Please advise the steps for the same. 2. How to take backup of Solr data? 3. How to

Request help / steps to upgrade from apache solr 7.x to 8.x

2021-06-29 Thread utsav sahavasi
Hi, I have some requirements those are I mentioned below, please do the needful 1. I have an apache solr 7.7.3 version. Want to upgrade to the 8.5.2 version. Want to upgrade JDK to version 8 from 6 Please advise the steps for the same. 2. How to take backup of Solr data? 3. How to

Apache Solr 8.5.2

2021-06-29 Thread Prash Inc
Hi, 1. I have apache solr 7.7.3 version. Want to upgrade to 8.5.2 version want to upgrade JDK to version 8 from 6 Please advise the steps for the same. 2. How to take backup of Solr data? 3. How to Export the entire data from version 7.7.3 to csv file ? 4. How to import that CSV file to up

Re: Function query not working

2021-06-29 Thread Rahul Goswami
Ah I see! I must say this was not at all clear from the documentation. A few more examples would have helped. Also the fact that there are several boolean functions available (eg:exists(field)) also led me to thinking that these could be used in 'fq'. And yes, I am aware of the lucene syntax for ne

Request help / steps to upgrade from apache solr 7.7.3 to 8.5.2

2021-06-29 Thread Prash Inc
Hi, 1. I have apache solr 7.7.3 version. Want to upgrade to 8.5.2 version want to upgrade JDK to version 8 from 6 Please advise the steps for the same. 2. How to take backup of Solr data? 3. How to Export the entire data from version 7.7.3 to csv file ? 4. How to import that CSV file to up

Re: Solr nodes crashing

2021-06-29 Thread Walter Underwood
The dashboard page in the admin UI has a graph that shows the current number of open files and the max. It is called “File Descriptor Count”. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jun 29, 2021, at 2:04 PM, Jon Morisi wrote: > > Thanks for

RE: Solr nodes crashing

2021-06-29 Thread Jon Morisi
Thanks for the response Walter. Upon further review it looks like my solr service account has: open files (-n) 128000 max user processes(-u) 65536 When I submit documents to be indexed does it run under my account (the logged in account), or does it run unde

Re: Facing issue in importing data from MySQL using data import handler.

2021-06-29 Thread Dmitri Maziuk
On 6/29/2021 1:17 PM, Janvi T wrote: I have been trying to import data from MySQL using DIH but when I do a full import, it fails and does not fetch anything from the database. What does the log say? Dima

[jira] [Commented] (SOLR-15072) Support building and testing Solr on ARM64 architecture

2021-06-29 Thread Ganesh Raju (Jira)
[ https://issues.apache.org/jira/browse/SOLR-15072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17371605#comment-17371605 ] Ganesh Raju commented on SOLR-15072: If you need ARM hardware, we could provide that

Facing issue in importing data from MySQL using data import handler.

2021-06-29 Thread Janvi T
I have been trying to import data from MySQL using DIH but when I do a full import, it fails and does not fetch anything from the database. I have referred to the following two resources for importing data from MySQL using DIH. Sharing the links: https://gist.github.com/maxivak/3e3ee1fca32f394

Facing issues in using DIH with MySQL.

2021-06-29 Thread Janvi Talreja
I have Installed solr 7.7.3 explored it a little bit like creating a new core and also learned about a few terminologies. I am facing issues with DataImportHandler. I have been trying to import data from mysql database but it does not seem to work. Following this link to use DIH with mysql databa

Re: HTTPSolrClient - help required

2021-06-29 Thread Walter Underwood
CloudSolrClient is not an absolute requirement for a Solr Cloud cluster. We use regular HTTPSolrClient sending all requests to the load balancer. Actually, we use a separate load balancer for indexing, to keep the monitoring separate and to set different timeouts than for queries. This setup is

Re: HTTPSolrClient - help required

2021-06-29 Thread Reej Nayagam
Thanks Shawn & Vicenzo. Will check it out and change accordingly. Thanks again Shawn for your clear explanation. Regards Reej On Tue, 29 Jun 2021 at 9:47 PM, Vincenzo D'Amore wrote: > Right, you should always use CloudSolrClient as a singleton. > To be honest I'm used to reuse a CloudSolrClien

Re: Number of Collections in a SolrCloud

2021-06-29 Thread Brian Lininger
Hi Matt, Solr instance == Solr JVM. 80-90M docs is the total count of docs across all collections we typically have several hundred collections per Solr instance as we have a multi-tenent service and we keep all data segregated by tenent. Brian On Mon, Jun 28, 2021, 7:41 PM mtn search wrote:

Re: HTTPSolrClient - help required

2021-06-29 Thread Vincenzo D'Amore
Right, you should always use CloudSolrClient as a singleton. To be honest I'm used to reuse a CloudSolrClient instance for each collection/index. On Tue, Jun 29, 2021 at 3:12 PM Shawn Heisey wrote: > On 6/29/2021 6:43 AM, Reej Nayagam wrote: > > Hi Vincenzo Yes we are using cloud and initial sol

Re: HTTPSolrClient - help required

2021-06-29 Thread Shawn Heisey
On 6/29/2021 6:43 AM, Reej Nayagam wrote: Hi Vincenzo Yes we are using cloud and initial solr version was 4.10.4 and we upgraded the jars alone to 8.8.2 now in the application side connecting to solr Server to fix some vulnerability. As we have upgraded the jars we changed httpsolrserver connec

Re: HTTPSolrClient - help required

2021-06-29 Thread Reej Nayagam
Hi Vincenzo Yes we are using cloud and initial solr version was 4.10.4 and we upgraded the jars alone to 8.8.2 now in the application side connecting to solr Server to fix some vulnerability. As we have upgraded the jars we changed httpsolrserver connection to httpsolrclient and we guess there i

RE: Synonym Graph Filter with phrase match - Query.

2021-06-29 Thread Shivanadhuni, Saikrishna
Hi Team, Any update on my request. Regards Saikrishna S (SSK) Senior Software Developer CONTENT SYSTEMS DEVELOPMENT S&P Global - 91 9550897735 [cid:image001.png@01D76D10.9C99D2F0] From: Shivanadhuni, Saikrishna Sent: Thursday, June 24, 2021 6:27 PM To: 'users@solr.apache.org' Subject: Synonym G

Re: HTTPSolrClient - help required

2021-06-29 Thread Vincenzo D'Amore
I mean, why are you looking for the leader? On Tue, Jun 29, 2021 at 1:58 PM Vincenzo D'Amore wrote: > not sure I got your answer... are you using solrcloud? > > On Tue, Jun 29, 2021 at 12:18 PM Reej Nayagam wrote: > >> Hi >> Thanks for the reply. >> I'm trying to create a singleton, but my worr

Re: HTTPSolrClient - help required

2021-06-29 Thread Vincenzo D'Amore
not sure I got your answer... are you using solrcloud? On Tue, Jun 29, 2021 at 12:18 PM Reej Nayagam wrote: > Hi > Thanks for the reply. > I'm trying to create a singleton, but my worry is my base url changes based > on the leader. > so we have 14 repositories, and if we need to trigger indexing

RE: HTTPSolrClient - help required

2021-06-29 Thread Srinivas Kashyap
Yes, Update your solrJ class library in your application and you can invoke like below: 1) Your singleton implementation should return you the client till base url( http://xxx.xxx.x.xxx:*8983*/solr/) 2) Once you get client object, you might be doing client.query() or client.commit(), just pas

Re: HTTPSolrClient - help required

2021-06-29 Thread Reej Nayagam
Hi Srinivas, Thanks for the reply. Im solr setup has multiple repositories in a cluster setup, and we are indexing calling the leader url *HTTPSolrClient solrclient = new HTTPSolrcient.Builder(url).build* we neve close this. For each indexing we just call the above and open connection. I'm tryi

Re: HTTPSolrClient - help required

2021-06-29 Thread Reej Nayagam
Hi Thanks for the reply. I'm trying to create a singleton, but my worry is my base url changes based on the leader. so we have 14 repositories, and if we need to trigger indexing for 1 core, then url will be http://xxx.xxx.x.xxx:*8983*/solr/watchlist, for another core it'll be http://xxx.xxx.x.xxx:

RE: HTTPSolrClient - help required

2021-06-29 Thread Srinivas Kashyap
Hi Reej, Yes, create a singleton class of HttpSolrClient for entire scope of application. As mentioned by you, if you don’t close the connection, thread will be in hung state and affects the performance. I too faced this in my implementation. Thanks and Regards, Srinivas Kashyap Leading Retai

Re: HTTPSolrClient - help required

2021-06-29 Thread Vincenzo D'Amore
have you tried to use the httpsolrclient as singletons? Create them only once and reuse. Not sure but I think it’s a best practice. Ciao, Vincenzo > On 29 Jun 2021, at 03:59, Reej Nayagam wrote: > > Hi Team, > Any advise is highly appreciated. > Do we need to use a singleton connection of a c