Re: Discovery on EC2 - unicast, separate VPCs, public IPs

2015-02-08 Thread Ivan G
DNS queries inside vpc are resolved to the internal IP by aws servers. One simple way is to use elastic IP for this computer and then point A register to that IP. El 07/02/2015 23:43, "Eugen Paraschiv" escribió: > Hi, > I have the following simple EC2 topology: > - a VPC with my entire cluster,

Re: Discovery on EC2 - unicast, separate VPCs, public IPs

2015-02-08 Thread Norberto Meijome
Sure...the interesting point in the OP is the fact both servers are in different VPCs - not sure if it should be possible to resolve across vpcs ... On 08/02/2015 7:04 pm, "Ivan G" wrote: > > DNS queries inside vpc are resolved to the internal IP by aws servers. > > One simple way is to use elas

Re: Doc Values

2015-02-08 Thread David Pilato
May be some ideas here? https://github.com/elasticsearch/logstash/blob/v1.4.2/lib/logstash/outputs/elasticsearch/elasticsearch-template.json David > Le 8 févr. 2015 à 06:25, Kadaan a écrit : > > Great! That does look pretty close. Guessing I could use an index template > with order=int.max,

Re: Discovery on EC2 - unicast, separate VPCs, public IPs

2015-02-08 Thread Ivan G
It will work for sure, I was using this approach on some use cases The point is that if this server is not going to be running usually, aws will continue charging you for the elastic ip even if no instance is up in that IP, but for the cost it is, I think it represents, the elastic ip is the best

Negative query : all the documents that DONT have the word "cat' in the title?

2015-02-08 Thread NM
hi , How to formulate a negative query in ES that matches : all the documents that don't have the word "cat' in the title? thanks NM -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails

DSL best practices

2015-02-08 Thread unlucio
Hello everybody, I'm new to elastic search and trying to work my way with it since a couple of weeks. I'm using the node.js client (https://github.com/elasticsearch/elasticsearch-js) and as I proceed in my journey I'm facing quite a bit of problems with the DSL as I'm often confused by it's syn

Re: Negative query : all the documents that DONT have the word "cat' in the title?

2015-02-08 Thread David Pilato
Using a query string query -cat should work. David > Le 8 févr. 2015 à 14:36, NM a écrit : > > hi , > > How to formulate a negative query in ES that matches : all the documents that > don't have the word "cat' in the title? > > thanks > > NM > -- > You received this message because you a

Re: Filter by _version and show _version in elasticsearch query

2015-02-08 Thread Adrien Grand
Hi, While using the _version might seem to work in certain cases, I would recommend to never use it for anything else than optimistic locking of updates. In particular, versions do not carry any meaning: they might look like the number of times a document has been modified but it is not always the

Re: Pagination using search type Query_and_fetch

2015-02-08 Thread Adrien Grand
I think this is a bug indeed. The QUERY_AND_FETCH search mode has been designed as an optimization of QUERY_THE_FETCH for the single shard case (which is typically the case when you use routing) rather than a search mode on its own. As a side note, using QUERY_AND_FETCH when paginating on several

Re: Single low memory data node impact whole cluster

2015-02-08 Thread Adrien Grand
Indeed JVMs sometimes need to "stop the world" in case of memory pressure. You might find some advices about GC tuning here or there but these but I would advise to avoid it as it is very hard to evaluate the impact of these settings. If this issue happens on a regular basis, it might mean that yo

Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع

2015-02-08 Thread bader salmeen
YouTube videos of U.S. Congress money laundering hearing of Saudi Billionaire " Maan Al sanea" with *bank of America* and The owner of Saad Hospital and Schools in the Eastern Province in *Saudi Arabia* and the Chairman of the Board of Directors of Awal Bank in *Bahrain* Wit

Mapping es.mapping.id to a nested field in the json?

2015-02-08 Thread Deepak Subhramanian
Does the mapping id parameter in elasticsearch support mapping to a nested field in a json. If yes what is the configuration to specify a nested field. I tried different formats as given below without much success. sc.hadoopConfiguration.set("es.mapping.id", "Batch.BatchId") Thanks in advance

Elasticsearch plugin for Liferay avaiable on Liferay marketplace

2015-02-08 Thread K. C. Ramakrishna
Very pleased to announce elasticsearch plugin for Liferay: elasticray (elasticray.com) - elasticsearch plugin for Liferay has been published in the Liferay marketplace. https://www.liferay.com/marketplace https://www.liferay.com/marketplace/-/mp/application/41044606 Thanks, kc -- You received

Ask for suggestion on what analyzer to use

2015-02-08 Thread Xudong You
I have document like this: {"Title":"This is my test title"} I want to return the doc with exactly matched title, but allowing case insensitive and redundant white space between words. That is, all of these queries: "this is my test TITLE", "this is my test title" and "this is my t

Re: Ask for suggestion on what analyzer to use

2015-02-08 Thread David Pilato
May be keep the default analyzer but use a phrase search? http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-match-query.html#_phrase -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > Le 9 févr. 2015 à 06:37, Xudong You a écrit : > > I have docu

equivalent for _search_shards in transport client

2015-02-08 Thread Puneet Jaiswal
I am looking for _search_shards equivalent in transport client. Is there a way to find the following using Transport client in Java? 1. List of all nodes 2. shard details per node Thanks. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To u

Re: equivalent for _search_shards in transport client

2015-02-08 Thread David Pilato
This should help: https://github.com/elasticsearch/elasticsearch/blob/4ab268bab2cfd7fc3cb4c4808f706d5049c1fae5/src/main/java/org/elasticsearch/rest/action/admin/cluster/shards/RestClusterSearchShardsAction.java#L63 David > Le 9 févr. 2015 à 07:09, Puneet Jaiswal a écrit : > > > I am looking f