Re: Same field name cannot be added in newer Solr versions

2019-01-21 Thread Arunan Sugunakumar
to be created. - When the index process is run again and again, fieldnames might already be defined in the schema. In that case creating part has to be ignored. @Shawn It is likely to be the issue. Thanks for sharing. Regards, Arunan *Sugunakumar Arunan* Undergraduate - CSE | UOM Email

Same field name cannot be added in newer Solr versions

2019-01-19 Thread Arunan Sugunakumar
(QueuedThreadPool.java:680) at java.lang.Thread.run(Thread.java:748) Thanks in advance Regards, Arunan *Sugunakumar Arunan* Undergraduate - CSE | UOM Email : aruna ns...@cse.mrt.ac.lk Mobile : 0094 766016272 <076%20601%206272> LinkedIn : https://www.linkedin.com/in/arunans23/

Re: Should Solr and SolrJ version should match?

2019-01-19 Thread Arunan Sugunakumar
create a separate mail thread to discuss this matter. Thanks again, Regards, Arunan *Sugunakumar Arunan* Undergraduate - CSE | UOM Email : aruna ns...@cse.mrt.ac.lk Mobile : 0094 766016272 <076%20601%206272> LinkedIn : https://www.linkedin.com/in/arunans23/ On Sun, 20 Jan 2019 at 02:26,

Should Solr and SolrJ version should match?

2019-01-19 Thread Arunan Sugunakumar
(CreateSearchIndexProcess.java:66) [corePostProcess] at org.intermine.task.PostProcessorTask.execute(PostProcessorTask.java:70) Thank you, Arunan *Sugunakumar Arunan* Undergraduate - CSE | UOM Email : aruna ns...@cse.mrt.ac.lk LinkedIn : https://www.linkedin.com/in/arunans23/

Moving Solr index from Staging to Production

2018-11-28 Thread Arunan Sugunakumar
Hi, I have deployed Solr 7.2 in a staging server in standalone mode. I want to move it to the production server. I would like to know whether I need to run the indexing process again or is there any easier way to move the existing index? I went through this documentation but I couldn't figure

Re: Good practices on indexing larger amount of documents at once using SolrJ

2018-07-24 Thread Arunan Sugunakumar
o the > solrClient. > > So I dont think I have the problem of ever increasing ArrayList. (I hope > > the add method in solrClient flushes the previous documents added). But > as > > you said I do a hard commit during the loop. I can change it by adding > > commitWithin. What i

Re: Good practices on indexing larger amount of documents at once using SolrJ

2018-07-20 Thread Arunan Sugunakumar
added). But as you said I do a hard commit during the loop. I can change it by adding commitWithin. What is the value you would recommend for this type of scenario. Thank you, Arunan *Sugunakumar Arunan* Undergraduate - CSE | UOM Email : aruna ns...@cse.mrt.ac.lk Mobile : 0094 766016272 <076%20

Good practices on indexing larger amount of documents at once using SolrJ

2018-07-20 Thread Arunan Sugunakumar
Hi, I have around 12 millions objects in my PostgreSQL database to be indexed. I'm running a thread to fetch the rows from the database. The thread will also create the documents and put it in an indexing queue. While this is happening my main process will retrieve the documents from the queue

Re: Creating a collection in Solr standalone mode using solrj

2018-07-20 Thread Arunan Sugunakumar
Hi Jason and Shawn, As you mentioned, I've mixed up the concept of a collection and core. Thank you for clearing up. Thank you, Arunan On 20 July 2018 at 20:31, Shawn Heisey wrote: > On 7/20/2018 12:09 AM, Arunan Sugunakumar wrote: > > I would like to know whether it is possible

Creating a collection in Solr standalone mode using solrj

2018-07-20 Thread Arunan Sugunakumar
Hi, I would like to know whether it is possible to create a collection in Solr through SolrJ. I tried to create and it throws me an error saying that "Solr instance is not running in SolrCloud mode. " I am trying to upgrade a system to use solr which used lucene library in the past. In lucene,

Re: Filtering solr suggest results

2018-07-04 Thread Arunan Sugunakumar
Hi Peter, Thanks for the help. Didn't see it before. Thanks, Arunan *Sugunakumar Arunan* Undergraduate - CSE | UOM On 3 July 2018 at 18:50, Peter Lancaster wrote: > Hi Arunan, > > You can use a context filter query as described https://lucene.apache.org/ > solr/guide/6_6/su

Filtering solr suggest results

2018-07-03 Thread Arunan Sugunakumar
, Arunan *Sugunakumar Arunan* Undergraduate - CSE | UOM Email : aruna ns...@cse.mrt.ac.lk

Re: Achieving AutoComplete feature using Solrj client

2018-06-18 Thread Arunan Sugunakumar
Hi, Thank you for your help. As far as I understood, I cannot configure and enable the suggester through solrj client. The configuration should be done manually. Arunan On 18 June 2018 at 14:50, Alessandro Benedetti wrote: > Hi, > me and Tommaso contributed this few years ago.[1] > You can

Achieving AutoComplete feature using Solrj client

2018-06-16 Thread Arunan Sugunakumar
Hi, I am trying to upgrade a system which had an older version of Lucene library. I want to implement AutoCompletion feature using solrj client. In the earlier version they have used IndexSearcher class of lucene to do that. Is there any similar way to achieve it using solrj? I basically want to