hi thanks but the attachment don't seem to be working too .
**
Cool.
Try to play with attachments now: Follow this scripthttps://gist.github.com/3907010.
Le 27 décembre 2012 à 11:25, Tan Chween Tah jundatan85@gmail.com a
écrit :
ok it works now .. i can see the localhost:9200 which will return me
{
"ok" : true,
"status" : 200,
"name" : "Strong Guy",
"version" : {
"number" : "0.20.1",
"snapshot_build" : false
},
"tagline" : "You Know, for Search"
}
this mean that it is working fine and running. i will take a look again for the things i mention before.
Thanks for your helps David .
any advice on what is my next step after i get this ES running.
On Thu, Dec 27, 2012 at 4:59 PM, David Pilato david@pilato.fr wrote:
Please keep the thread in the mailing list scope. Not outside (don't
send direct mails).
OK. Here are the steps you have to follow:
1/ stop all running shells and open a new one
Just check if you have an elasticsearch running in the background ( ps
-ef | grep elasticsearch ) and kill the process if you find one.
2/ on a fresh clean elasticsearch dir (you should not find data, logs
dir), start bin/elasticsearch -f
3/ open a new shell and type curl http://localhost:9200
What happens?
Le 27 décembre 2012 à 10:48, jundatan85@gmail.com a écrit :
ok thanks. i will take a look later.
i am using ubuntu linux and using a root account
let solve the problem that my ES instance is not working. when i type in
locahost:9200 it said "unable to connect tp server at localhost:9200"
On Thursday, December 27, 2012 5:30:44 PM UTC+8, David Pilato wrote:
Ok. First, you have to make sure that your ES instance is working fine.
You should be able to do a curl localhost:9200 and see a JSON. If not,
don't go to the next steps and fix your problem! (BTW, tell me if you run
under linux or windows).
What you want to achieve is to index files. It's not one of the basic
feature of ES but it's available as a plugin ( GitHub - elastic/elasticsearch-mapper-attachments: Mapper Attachments Type plugin for Elasticsearch).
You have a full script here to try it:
https://github.com/elasticsearch/elasticsearch-mapper-attachments Test of attachments plugin · GitHub
But, it's without Hadoop. That gives me an idea for my
https://gist.github.com/3907010 scrutmydocshttp://www.scrutmydocs.org/ project.
I should add in the FSRiver (File System River) (or create a new one) the
possibility of fetching content from hdfs...
Does it help?
Le 27 décembre 2012 à 09:38, Tan Chween Tah < junda...@gmail.com> a
écrit :
Thanks david
What i am trying to do is like having big data of text or json file and
put distribute it in different computer using hadoop and using elastic
search to query the words so it will return the result faster .
You said it is working fine. so is there a example on how to insert a text
file or json file into the Elasticsearch and i am able to query the words
out. for eg. Test.txt contain words inside. and i want to search the words
like "happy" inside that test.txt file .. is it possible for elasitc search
to do that ?
nope i did not try just now. but now I have try opening localhost:9200 in
my browser but it throw me an error "problem loading page".
any advice ?
thanks
On Thu, Dec 27, 2012 at 2:54 PM, David Pilato da...@pilato.fr wrote:
Looks like everything is working here.
What do you expect to see?
Did you open localhost:9200 in your browser?
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 27 déc. 2012 à 06:51, Tan Chween Tah < junda...@gmail.com> a écrit :
Thanks for the reply David, i have tried it out before and it still not
working. the terminal will be still hang
elasticsearch-0.20.1# bin/elasticsearch -f
[2012-12-27 17:21:55,023][INFO ][node ] [Boomslang]
{0.20.1}[2187]: initializing ...
[2012-12-27 17:21:55,034][INFO ][plugins ] [Boomslang]
loaded , sites
[2012-12-27 17:21:58,484][INFO ][node ] [Boomslang]
{0.20.1}[2187]: initialized
[2012-12-27 17:21:58,484][INFO ][node ] [Boomslang]
{0.20.1}[2187]: starting ...
[2012-12-27 17:21:58,674][INFO ][transport ] [Boomslang]
bound_address {inet[XXX.XX.XXX.XXX:9300]}, publish_address
{inet[/XXX.XXX.XXX.XXX:9300]}
[2012-12-27 17:22:01,922][INFO ][cluster.service ] [Boomslang]
new_master
[Boomslang][DuJAy1WLSdij0PNFPLt_0g][inet[/XXX.XXX.XXX.XXX:9300]], reason:
zen-disco-join (elected_as_master)
[2012-12-27 17:22:01,971][INFO ][discovery ] [Boomslang]
elasticsearch/DuJAy1WLSdij0PNFPLt_0g
[2012-12-27 17:22:02,010][INFO ][http ] [Boomslang]
bound_address {inet[/XXX.XXX.XXX.XXX:9200]}, publish_address
{inet[/XXX.XXX.XXX.XXX:9200]}
[2012-12-27 17:22:02,010][INFO ][node ] [Boomslang]
{0.20.1}[2187]: started
[2012-12-27 17:22:02,081][INFO ][gateway ] [Boomslang]
recovered [0] indices into cluster_state
I have read th website u have send me but i did not see anything regarding
such error .
Thanks
On Thu, Dec 27, 2012 at 12:36 PM, David Pilato da...@pilato.fr wrote:
Welcome.
1st, try to run ES in standalone (without Hadoop): download, unzip,
launch bin/elasticsearch -f (from UNIX), bin/elasticsearch.bat from windows
2nd, in another shell, try curl localhost:9200
If you use windows, open this URL from a browser.
If it doesn't work, check that you have a Java (6 or 7) somewhere and
that JAVA_HOME is defined.
If it still does not work, report here any error you can see in logs.
BTW, read this: Elasticsearch Platform — Find real-time answers at scale | Elastic
HTH
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 27 déc. 2012 à 06:15,
http://www.elasticsearch.org/guide/reference/setup/installation.html
junda...@gmail.com a écrit :
Hi all
I am new to elasictc search. got some problem here setting up elasictic
search. i got a hadoop running up now . one master and one slave . but
after i download Elasticsearch and try to run /bin/elasticsearch -f. it
hangs there at some command line .. can i know what i need to change in the
config folder ? as i don't really understand the steps on the elastic
search website. can anyone got any better website for me to try it and
refer..
Thanks
Regards
--
--
--
--
--
--
David Pilato
http://www.scrutmydocs.org/
http://dev.david.pilato.fr/
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
--
David Pilato
http://www.scrutmydocs.org/
http://dev.david.pilato.fr/
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
--
--
--
David Pilato
http://www.scrutmydocs.org/
http://dev.david.pilato.fr/
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
--