[okfn-labs] About elasticsearch
Alioune Dia
dia.aliounes at gmail.com
Fri Dec 20 18:49:13 UTC 2013
Hello
I don't Know if It is the best place To ask question about elasticsearch,
but I found many interresting link into the labs , that allow me to progres
with elasticsearch installation and Query DSL
http://okfnlabs.org/blog/2013/07/01/elasticsearch-query-tutorial.html
Thank for putting This Up . So my question is : Is it possible to tell
elasticseach
to poll new insertion from postgres db . In my case I found that
elastichsearch
take too time to poll new insertion. I changed My River to add poll
attribute and set it to 10s ,
but it take too time to index , is it normale ?
curl -XPUT 'localhost:9200/_river/my_jdbc_river/_meta' -d '{
"type" : "jdbc",
"jdbc" : {
"driver" : "com.mysql.jdbc.Driver",
"url" : "jdbc:mysql://localhost:3306/test",
"user" : "",
"password" : "",
"sql" : "select * from orders",
"index" : "my_jdbc_index",
"type" : "my_jdbc_type",
"poll" :''10s"
}
}'
Any help will be appreciate
--Ad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/okfn-labs/attachments/20131220/2c97388e/attachment-0003.html>
More information about the okfn-labs
mailing list