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
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
Hi Mates,
I followed your steps and it worked for me. Thank you very much.
regards,
Charith Mahawatta,
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
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.
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
://lucene.472066.n3.nabble.com/how-to-index-data-in-solr-form-database-automatically-tp3102893p3112772.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
uto 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 a
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 mai
n Fri, Jun 24, 2011 at 12:26, Romi wrote:
> 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.4
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-tp3102893p310
e how can i achieve this.
>
> -
> Thanks & Regards
> Romi
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/how-to-index-data-in-solr-form-database-automatically-tp3102893p3102893.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
need not to run index process manually every time data base tables
changes.If yes then please tell me how can i achieve this.
-
Thanks & Regards
Romi
--
View this message in context:
http://lucene.472066.n3.nabble.com/how-to-index-data-in-solr-form-database-automatically-tp3102893p3102893.
14 matches
Mail list logo