How to make sure that only one node is running??
On Tue, Jul 2, 2013 at 11:21 PM, David Pilato david@pilato.fr wrote:
I have a concern about that: 10.0.0.2:9301
If you have only one node running that should be something like
10.0.0.2:9300 http://10.0.0.2:9301/My advice here is:
- make sure that you have only one node running
- delete all: curl -XDELETE localhost:9200/
- create again the river
- run again the same query
If it does not work, check your SQL connection (login/password), run the
same query "select * from details" and check that it works fine.HTH
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr
| @scrutmydocs https://twitter.com/scrutmydocsLe 2 juil. 2013 à 19:23, Puneeth Parala babloopuneeth@gmail.com a écrit
:Lolz... No sir i didnt try for whatever...
http://localhost:9200/_search?q= http://localhost:9200/_search?q=whatever*
When i tried this, im getting the following:-
{"took":22,"timed_out":false,"_shards":{"total":6,"successful":6,"failed":0},"hits":{"total":2,"max_score":1.0,"hits":[{"_index":"_river","_type":"my_jdbc_river","_id":"_meta","_score":1.0, "_source" : {
"type" : "jdbc",
"jdbc" : {
"driver" : "com.mysql.jdbc.Driver",
"url" : "jdbc:mysql://localhost:3306/bablool",
"user" : "root",
"password" : "babloo",
"sql" : "select * from details"
},
"index" : {
"index" : "jdbc",
"type" : "jdbc"
}
}},{"_index":"_river","_type":"my_jdbc_river","_id":"_status","_score":1.0, "_source" : {"ok":true,"node":{"id":"QGFMld-xSISaYNqBDB5dCg","name":"Bible John","transport_address":"inet[/10.0.0.2:9301]"}}}]}}On Tue, Jul 2, 2013 at 5:13 PM, David Pilato david@pilato.fr wrote:
Seriously? You searched for "whatever"?
Try this.
http://localhost:9200/_search?q= http://localhost:9200/_search?q=whatever*
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocsLe 2 juil. 2013 à 12:58, Puneeth Parala babloopuneeth@gmail.com a
écrit :http://localhost:9200/_search?q=whatever
when i tried the above thing, im getting this:-{"took":16,"timed_out":false,"_shards":{"total":6,"successful":6,"failed":0},"hits":{"total":0,"max_score":null,"hits":}}
I cant figure out wat is this.....
On Tue, Jul 2, 2013 at 3:10 PM, David Pilato david@pilato.fr wrote:
Use search API.
http://localhost:9200/_search?q=whateverAlso, give a look at README file in elasticsearch/elasticsearch github
repository. It could help you as well.--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocsLe 2 juil. 2013 à 11:33, Puneeth Parala babloopuneeth@gmail.com a
écrit :Sir i really very new to elasticsearch... Am i correctly following the
steps till now to index and search mysql dB? I just followed that
tutorial...On Tue, Jul 2, 2013 at 3:01 PM, Puneeth Parala babloopuneeth@gmail.comwrote:
ya im using elasticsearch -f only....
On Tue, Jul 2, 2013 at 2:59 PM, Puneeth Parala <babloopuneeth@gmail.com
wrote:
ya thank you sir now im nt getting any errors... How can i know that
my mysql db is indexed??On Tue, Jul 2, 2013 at 2:48 PM, Christian Th. chth.exensio@gmail.comwrote:
Your es node is bound to 9204 and you are trysing to curl port 9200 ?
Could this be the problem?--
You received this message because you are subscribed to a topic in
the Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/fJkeJXoRrLo/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com.For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/fJkeJXoRrLo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/fJkeJXoRrLo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.