change data dir on fly in solr 4.6

2017-05-25 Thread ankur.168
Hi All, I am using SOLR 4.6, I am running quartz job to trigger solr indexing. I have requirement to maintain index in different locations for different jobs. For ex. I have daily indexing job and monthly indexing job, so I want to main 2 different index location for both. Is there a way we can ch

Re: Running Solr6 on Tomcat7

2017-04-21 Thread ankur.168
As Shawn said, it is not recommended, still if you want to do this you can follow these steps(picked from following post http://lucene.472066.n3.nabble.com/Running-Solr-6-3-on-Tomcat-Help-Please-td4320874.html) The following instructions work with Solr 6.2 + Tomcat 8.5: 1. Copy solr-6.2.0/server/

Re: Getting error while excuting full import

2017-04-18 Thread ankur.168
Thanks for enlightening, Shawn :) I thought DIH does parallel db request for all the entities defined in a document. I do believe that DIH is easier to use that's why I am trying to find a way to use this in my current system. But as I explained above since I have so many sub entities,each retu

Re: Getting error while excuting full import

2017-04-18 Thread ankur.168
Yes, both column names are same. But if we just use property_id=property_id in child entity, then how zipper gets to know which child document to merge with which parent? Any how I just tried with ur suggested where condition which result in arrayindexoutofbound exception, here are the logs Cause

Re: Getting error while excuting full import

2017-04-18 Thread ankur.168
Hi Mikhail, I tried with a simplest zipper entity. Here are the config details- Here child entity have multiple records for a given property id. Hence I believe ful

Re: Getting error while excuting full import

2017-04-18 Thread ankur.168
Hi Mikhail, Thanks for replying, I am currently trying to use zipper join but getting null pointer exception as given below stacktrace 2017-04-18 09:11:51.154 INFO (qtp1348949648-13) [ x:sample_content] o.a.s.u.p.LogUpdateProcessorFactory [sample_content] webapp=/solr path=/dataimport params

Re: Getting error while excuting full import

2017-04-17 Thread ankur.168
Hi Erick, Thanks for replying, As you suggest I can use solrJ to map RDBMS fetched data and index/search it later on. but DIH gives multi db connection for full import and other benefits. Does solrJ supports this or we need to put efforts to make a multithreaded connection pool similar to DIH?

Re: Getting error while excuting full import

2017-04-17 Thread ankur.168
Thanks for replying Shawn, There was an issue with the db connection url, silly mistake. I am facing one another problem, do not know if should post in the same thread or as a new post. Anyways posting here only, let me know if needs to be posted as new one. I am using DIH as you know. I have pr

Getting error while excuting full import

2017-04-10 Thread ankur.168
Hi All,I am trying to use solr with 2 cores interacting with 2 different databases, one core is executing full-import successfully where as when I am running for 2nd one it is throwing table or view not found exception. If I am using the query directly It is running fine. Below is the error meassge