Re: Start/End overlap between all documents

2015-03-18 Thread Phil
c_count > 1 would be overlapping. 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,

Intersection between any documents

2015-03-18 Thread Phil
I'm trying to wrap my head around this but it may not be possible due to the nature of ES. I have an index of appointments with start time, end time, location and participants. I'd like to search for *any *appointments that have overlapping start and end times at the same location. I understan

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"

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
, id: 3939, date: "2/3/2012" } … etc 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 be

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

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

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 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? Or > shou

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&

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
chooses which server to return data from 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 t

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. Th

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 :)

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 rea

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 rega

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, Phi

Nested cardinality values way off with filter?

2014-05-22 Thread Phil Price
at the summation of doc_count adds up exactly to hits.total. So I don't think this is an issue with the query, but I could be wrong. Any ideas whats up? Have I structured the query incorrectly, Is this a bug? Or is this just expected behavior? Some notes: - UserId's data

Re: searching most recent objects

2014-04-18 Thread Phil Greenberg
reference/current/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/> > > >

Re: searching most recent objects

2014-04-17 Thread Phil Greenberg
> 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:36 AM, Phil Greenberg > > > wro

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 i

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 -->3

Re: problem with kibana and index

2014-02-28 Thread Phil gib
gstash. I > had 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 w

problem with kibana and index

2014-02-27 Thread Phil gib
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 with different configured dashboards ) but now when i try to send directly json format to ES it works , but kibana

Re: hadoop to ES problem

2014-02-04 Thread Phil gib
d host 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... :-( >

Re: hadoop to ES problem

2014-02-04 Thread Phil gib
n Tuesday, February 4, 2014 11:07:37 AM UTC+1, Costin Leau wrote: > > If you are using M1 you 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:

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", "lo

Re: Uncertain how to properly filter when certain fields do not always exist

2014-01-09 Thread Phil Barresi
hits. Can anyone explain why that is? On Thursday, January 9, 2014 10:17:29 AM UTC-5, Phil Barresi wrote: > > I am trying to filter based on a field that, on some objects, does not > exist. I was under the impression that ES would match objects that don't > have that field.

Uncertain how to properly filter when certain fields do not always exist

2014-01-09 Thread Phil Barresi
I am trying to filter based on a field that, on some objects, does not exist. I was under the impression that ES would match objects that don't have that field. Ultimately, I am trying to filter as such: - Field A will always exist, and should match on any of tags 1,2,3 - When it exis