I have installed the elastic search and jdk 1.7 in windows.
When I start elastic search , Its gets started.
C:\elasticsearch-1.1.1\bin>service.bat start
The service 'elasticsearch-service-x64' has been started
http://localhost:9200/ returns proper json in browser
{
"status" : 200,
"name" : "Ever",
"version" : {
"number" : "1.1.1",
"build_hash" : "f1585f096d3f3985e73456debdc1a0745f512bbc",
"build_timestamp" : "2014-04-16T14:27:12Z",
"build_snapshot" : false,
"lucene_version" : "4.7"
},
"tagline" : "You Know, for Search"
}
I have set my JAVA_HOME to
'C:\Program Files\Java\jdk1.7.0_55\jre'
And my java version
java -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
But when I am trying to do search or import the database to elastic search
FundraiserCamapignsIndex.import
I gives this error.
Faraday::Error::ConnectionFailed: getaddrinfo: No such host is known.
from c:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/net/http.rb:762:in `initialize'
Can you tell what I am missing here.
it looks as if your ruby script cannot resolve the host name you specified to connect. Please ask questions like this on the google group at https://groups.google.com/forum/#!forum/elasticsearch, we try to use this for elasticsearch issues and bugs only.