Re: Start/End overlap between all documents

2015-03-18 Thread Phil
. On Wednesday, 18 March 2015 12:42:49 UTC-4, Mark Walkom wrote: You could do a terms filter on the location along with a range filter query for the period you are after. That's probably the closest thing. On 18 March 2015 at 06:34, Phil philtr...@gmail.com javascript: wrote: I'm trying

ES2Hadoop and Hadoop2ES

2015-03-05 Thread Phil gib
reading and writing data to different Elasticsearch indices within the *same* job. es.resource.write PS: i tried without success the backup/restore possibility from ES Best R Phil -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe

Re: Best pratices for index , search and updates

2015-01-16 Thread Phil
Please create your own mappings and don't rely on type detection. On Thursday, January 15, 2015 at 6:41:14 PM UTC-5, bvnr wrote: Am new to the elastic search ... Can some body throw me ideas about the best practices one should follow to get good performance for index ,search and updates

Kibana and nested documents -- include_in_parent

2015-01-15 Thread Phil
Hello, I am new to ElasticSearch and I have a very specific question. We have implemented our ElasticSearch cluster with a nested document structure. Each document is made of one ID, a key element and one field including several nested records that are inserted by the script api and the bulk

best approach to pull back only relevant fields

2015-01-05 Thread phil swenson
a bunch of other stuff } When I search on “appendectomy” I want to only return the following: “userId” and the matching “procedures” fields….. Any thoughts on the best approach to do this? thanks phil -- You received this message because you are subscribed to the Google Groups elasticsearch

Re: javascript es client - should es clients be pooled?

2014-12-29 Thread phil swenson
it at one time. We plan to start stress testing the system soon. Cheers Jack On Fri, Dec 26, 2014 at 9:55 AM, phil swenson phil.swen...@gmail.com wrote: no answer, so let me ask a different way. how are most of the es javascript client apps managing the instance of the client? do you have

Re: javascript es client - should es clients be pooled?

2014-12-26 Thread phil swenson
something like https://github.com/coopernurse/node-pool ? Thanks for any comments! phil On Wed, Dec 24, 2014 at 10:34 AM, Phil Swenson phil.swen...@gmail.com wrote: I'm writing a node/es app using the es javascript api Is there any reason to use pooling for all the javascript clients

javascript es client - should es clients be pooled?

2014-12-24 Thread Phil Swenson
I'm writing a node/es app using the es javascript api Is there any reason to use pooling for all the javascript clients? Or should I just use one client for the app? Thanks, phil -- You received this message because you are subscribed to the Google Groups elasticsearch group

Re: Are rivers still being deprecated?

2014-12-10 Thread Phil Swenson
did you ever find an answer to this question? On Thursday, November 6, 2014 7:17:36 PM UTC-7, Alexandre Rafalovitch wrote: ElasticSearch 1.4 is out and I can't see any mentions that Rivers are deprecated. Has that (informal) decision been reversed? Or was the timeline further out?

Searching across 2 nodes on 2 different servers

2014-10-13 Thread Phil Morley
automatically, instead of having to manually specify either server1 or server2? I will be drastically increasing the number of indexes shortly and I'd like Elasticsearch to automate which node it selects depending on whether the other is in use, etc. Is this possible? Many thanks, Phil. -- You

Access to AbstractAggregationBuilder.name

2014-08-13 Thread Phil Wills
Hello, In the Java API AbstractAggregationBuilder's name property is protected. Is there a particular reason it can't be public, or have an accessor added, or is this something you'd consider a PR for? Not having access is making things more complicated than I'd like. Thanks, Phil -- You

Re: ES + spark 1.0.1 - unable to send RDDs to ES

2014-08-07 Thread Phil gib
Hi Costin Thanks for your help! it works now after the update :-) Best Regards phil On Wednesday, August 6, 2014 6:46:57 PM UTC+2, Costin Leau wrote: Hi Phil, Glad to see the work in es-hadoop master is being picked up even without any public announcement of it :) The issue has been

ES + spark 1.0.1 - unable to send RDDs to ES

2014-08-06 Thread Phil gib
hello my context : spark, spark-shell 1.0.1 jdk1.7 scala 2.10.4, ES-Hadoop 2.1.0 ( nighly build) my problem: - unable to send RDDs from spark to ES i got a NoClassDefFoundError see below ( org/codehaus/jackson/annotate/JsonClass) jackson Jars to add to spark shell? philippe best

Re: ES + spark 1.0.1 - unable to send RDDs to ES

2014-08-06 Thread Phil gib
sorry for the mistake : -- unable to read from ES and create RDDS On Wednesday, August 6, 2014 6:32:02 PM UTC+2, Phil gib wrote: hello my context : spark, spark-shell 1.0.1 jdk1.7 scala 2.10.4, ES-Hadoop 2.1.0 ( nighly build) my problem: - unable to read from ES and create RDDS i

Nested cardinality values way off with filter?

2014-05-22 Thread Phil Price
notes: - UserId's data type is a *long, *but the values only fill up integer space. (510,539 to 418,346,844) - I'm running elasticsearch 1.1.0 - I've tried playing around with the precision threshold, but it doesn't appear to make a difference. Thanks in advance, Cheers Phil

Re: Nested cardinality values way off with filter?

2014-05-22 Thread Phil Price
Doh! You are correct, my bad. I assumed the filter was an exclusive per user property, but in fact - it is not. Thanks for getting back to me Cheers Phil On Thursday, May 22, 2014 4:36:02 PM UTC-7, Adrien Grand wrote: distinct_countOn Thu, May 22, 2014 at 10:34 PM, Phil Price phil

Re: searching most recent objects

2014-04-18 Thread Phil Greenberg
/mapping-timestamp-field.html -- Itamar Syn-Hershko http://code972.com | @synhershko https://twitter.com/synhershko Freelance Developer Consultant Author of RavenDB in Action http://manning.com/synhershko/ On Fri, Apr 18, 2014 at 12:43 AM, Phil Greenberg philip.n@gmail.comjavascript

Re: searching most recent objects

2014-04-17 Thread Phil Greenberg
I am also facing the same issue. Right now, I am just doing a filter myself, but I would assume this is a common use case, an ES must have a way to deal with it? On Tuesday, April 15, 2014 6:24:52 PM UTC-7, Joris Bolsens wrote: I am using the javascript API and want to do a search and have it

Re: searching most recent objects

2014-04-17 Thread Phil Greenberg
| @synhershko https://twitter.com/synhershko Freelance Developer Consultant Author of RavenDB in Action http://manning.com/synhershko/ On Fri, Apr 18, 2014 at 12:36 AM, Phil Greenberg philip.n@gmail.comjavascript: wrote: I am also facing the same issue. Right now, I am just doing

Hadoop metrics (Elasticsearch for Apache Hadoop) + marvel

2014-04-09 Thread Phil gib
hello, is there a possibility to get Hadoop metrics (http://www.elasticsearch.org/blog/elasticsearch-apache-hadoop-1-3-m3/ ) monitored in realtime through marvel plugin or through a kibana dashboard ? and in this case what index to use to query ? Phi thanks a lot -- You received this

Re: query edition problem kibana

2014-03-17 Thread Phil gib
thanks ok, understood now it works philippe On Friday, March 14, 2014 7:13:28 PM UTC+1, Binh Ly wrote: You'll need to use the query_string syntax: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html It should be something like:

query edition problem kibana

2014-03-14 Thread Phil gib
hello my context kibana + ES 0.90.11 + ES Head plugin i have some problem with kibana query editor : i have indexed my logs in ES, and displayed in kibana using basic queries . Perfect ! i need more complex queries on a max_bitrate field ( integer) for example, i need this query --

Re: problem with kibana and index

2014-02-28 Thread Phil gib
to ensure tcp input type was set to codex = json On Thursday, February 27, 2014 11:26:55 AM UTC-5, Phil gib wrote: Hello my context : logstash 1.3.2 + ES 0.90.11 + kibana3 I have a perfect pipe of these tools when i send my own logs files tranformed by logstash ( ES works and kibana also

hadoop to ES problem

2014-02-04 Thread Phil gib
hello my context: ES 0.90.3, elasticsearch-hadoop-1.3.0.M1 , eclipse- java i am experimenting ES-Hadoop and Hadoop-ES no problem with Hadoop2ES with these 3 settings ( i see the index + data through head plugin, perfect) job.set(es.resource, eshindex2/eshlog2); job.set(es.host,

Re: hadoop to ES problem

2014-02-04 Thread Phil gib
should use es.resource instead of es.query in your latest example. es.query is supported in the upcoming 1.3.0.M2 (not in m1). On 04/02/2014 12:01 PM, Phil gib wrote: hello my context: ES 0.90.3, elasticsearch-hadoop-1.3.0.M1 , eclipse- java i am experimenting ES-Hadoop and Hadoop-ES

Re: hadoop to ES problem

2014-02-04 Thread Phil gib
are 9200 and localhost by default. What's your ES version? ES-Hadoop requires 0.90 or higher (preferably the latest 0.90). On 04/02/2014 12:59 PM, Phil gib wrote: Hello Costin, changing to es.resource does not help... :-( argh.. i see the socket connection closed in the ES logs