Re: how to index data in solr form database automatically

2015-02-04 Thread Shawn Heisey
On 2/4/2015 12:01 AM, nvmai wrote: > I use crontab > * */1 * * * wget http://blog.nhipvang.com > :8983/solr/imuzik/dataimport?command=full-import&clean=false That will attempt to start a full-import once a minute. Requests sent while an import is already underway will fail, but this basically me

Re: how to index data in solr form database automatically

2015-02-04 Thread nvmai
I use crontab * */1 * * * wget http://blog.nhipvang.com :8983/solr/imuzik/dataimport?command=full-import&clean=false - mẹo làm đẹp -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-index-data-in-solr-form-database-automatically-tp3102893p4183792.html Sent from the

Re: how to index data in solr form database automatically

2012-04-03 Thread Charith Mahawatta
Hi Mates, I followed your steps and it worked for me. Thank you very much. regards, Charith Mahawatta,

Re: how to index data in solr form database automatically

2011-06-27 Thread Renato Eschini
On 27/06/11 11:01, Romi wrote: Can i not use it for full-import ?? yes!!! You must only change urlCmd='http://localhost:8080/solr/mycore/dataimport?command=delta-import&clean=false' in urlCmd='http://localhost:8080/solr/mycore/dataimport?command=full-import&clean=false' or urlCmd='http://l

Re: how to index data in solr form database automatically

2011-06-27 Thread Romi
Can i not use it for full-import ?? - Thanks & Regards Romi -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-index-data-in-solr-form-database-automatically-tp3102893p3113002.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to index data in solr form database automatically

2011-06-27 Thread Renato Eschini
Start from this point: http://wiki.apache.org/solr/DataImportHandler So, you can try to use this script: #!/bin/bash wgetProgram=wget urlCmd='http://localhost:8080/solr/mycore/dataimport?command=delta-import&clean=false' statusCmd='http://localhost:8080/solr/mycore/dataimport?command=status' ou

Re: how to index data in solr form database automatically

2011-06-27 Thread Romi
Thanks for answering but i don't know how to write script for fetching data from database and index it in to solr and how to setup this script as cron-job to run automatically at certain interval. Please suggest . - Thanks & Regards Romi -- View this message in context: http://lucene.4720

Re: how to index data in solr form database automatically

2011-06-24 Thread Renato Eschini
Why don't you use DataImportHandler? We use DIH, we have a wget based bash script that is runned by cron every about 2 minutes. DIH is called in delta-query mode. The bash script waork in this way: 1) first call a wget on DIH status 2) analyze wget DIH status "/dataimport?command=status" 2.1

Re: how to index data in solr form database automatically

2011-06-24 Thread Mohammad Shariq
First write a Script in Python ( or JAVA or PHP or anyLanguage) which reads the data from database and index into Solr. Now setup this script as cron-job to run automatically at certain interval. On 24 June 2011 17:23, Romi wrote: > would you please tell me how can i use Cron for auto inde

Re: how to index data in solr form database automatically

2011-06-24 Thread Romi
would you please tell me how can i use Cron for auto index my database tables in solr - Thanks & Regards Romi -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-index-data-in-solr-form-database-automatically-tp3102893p3103768.html Sent from the Solr - User mailing list

Re: how to index data in solr form database automatically

2011-06-24 Thread Pranav Prakash
Cron is a time-based job scheduler in Unix-like computer operating systems. en.wikipedia.org/wiki/Cron *Pranav Prakash* "temet nosce" Twitter | Blog | Google On Fri, Jun 24, 2011 at 12:26, Romi

Re: how to index data in solr form database automatically

2011-06-23 Thread Romi
Yeah i am using data-import to get data from database and indexing it. but what is cron can you please provide a link for it - Thanks & Regards Romi -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-index-data-in-solr-form-database-automatically-tp3102893p3103072.html

Re: how to index data in solr form database automatically

2011-06-23 Thread Anshum
How about having a delta-import and a cron to trigger the post? -- Anshum Gupta http://ai-cafe.blogspot.com On Fri, Jun 24, 2011 at 11:13 AM, Romi wrote: > I have MySql database for my application. i implemented solr search and > used > dataimporthandler(DIH)to index data from database into so