Difference in elasticsearch -f and elasticsearch


(Sumit Guptaa) #1

Hi all,

I am very much confused when the we start ES with elasticsearch -f and elasticsearch.

Can Anybody tell me what is the adject difference between both of them..

Thanx

Regards,
Sumit Gupta


(David Pilato) #2

Without -f es is started in background.
To stop it, you have to find its pid and kill the process.

With -f, es is launched in foreground. You have only to type CTRL C to stop it.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 16 sept. 2012 à 09:33, Sumit Guptaa sumit.gupta.ngi@gmail.com a écrit :

Hi all,

I am very much confused when the we start ES with elasticsearch -f and
elasticsearch.

Can Anybody tell me what is the adject difference between both of them..

Thanx

Regards,
Sumit Gupta

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Difference-in-elasticsearch-f-and-elasticsearch-tp4022752.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--

--


(mcot) #3

If using a *nix machine, using -f with the screen program is really nice. The main benefit for -f to me is the log output to stdout versus having to tail a log file.

--


(Sumit Guptaa) #4

Hi dadoonet

Why elasticsearch -f is not working on ES 0.19.0 version?

Thanx

Regards,
Sumit Gupta


(David Pilato) #5

I forgot to tell that it's under Linux.
-f does not work with elasticsearch.bat (It's always launched in foreground).

Are you talking about 0.19.0 or 0.19.x ?
It works fine with 0.19.9. What is your concern?

David.

Le 18 septembre 2012 à 12:49, Sumit Guptaa sumit.gupta.ngi@gmail.com a écrit :

Hi dadoonet

Why elasticsearch -f is not working on ES 0.19.0 version?

Thanx

Regards,
Sumit Gupta

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Difference-in-elasticsearch-f-and-elasticsearch-tp4022752p4022825.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--

--
David Pilato
http://www.scrutmydocs.org/
http://dev.david.pilato.fr/
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--


(system) #6