Range filter acts strange

2014-05-27 Thread Dan
Hi People, I use the following query to filter my data. Everything works great, untill I want to use a price-range filter. This range filter does not do exactly what I expect. I have a product in my collection with the price=10. When I set the filter to gte:1 - lte:11, it works, but gte:2 -

Re: Range filter acts strange

2014-05-28 Thread Dan
. Kind regards, Florentin Am Dienstag, 27. Mai 2014 21:55:03 UTC+2 schrieb Dan: Hi People, I use the following query to filter my data. Everything works great, untill I want to use a price-range filter. This range filter does not do exactly what I expect. I have a product in my collection

Re: MultiMatch with phrase_prefix support for boost ?

2014-04-08 Thread Dan
. Dan On Tuesday, April 8, 2014 1:11:46 PM UTC+1, cyrilforce wrote: Hi, I have a query as below : multi_match : { query : *happy*, fields : [ *DISPLAY_NAME^8*, *PERFORMER* ], type: *phrase_prefix*, operator : AND } Result

Cluster State Red

2014-01-15 Thread Dan
I have 5 nodes in my cluster (I have set replicas to 0 for now), the status is not moving from red: curl -XGET 'http://localhost:9200/_cluster/health?pretty=true' { cluster_name : my-cluster, status : red, timed_out : false, number_of_nodes : 5, number_of_data_nodes : 5,

Re: ES 1.0.0 Source filtering using the Java API

2014-02-25 Thread Dan
Thanks for your response.I can't see the method 'setFetchSource' in the Client class. Are you sure that is in 1.0.0? On Tuesday, February 25, 2014 8:41:37 PM UTC, Binh Ly wrote: Yes you can use the client.setFetchSource() method: SearchResponse response = client.prepareSearch(index)

Re: ES 1.0.0 Source filtering using the Java API

2014-02-25 Thread Dan
Yes, I can see it. Thanks. On 25 Feb 2014, at 22:23, Binh Ly binhly...@yahoo.com wrote: Hmmm, can please double-check. I can see it from the tests here: https://github.com/elasticsearch/elasticsearch/blob/v1.0.0/src/test/java/org/elasticsearch/search/source/SourceFetchingTests.java --

Aggregation for query facets?

2014-02-27 Thread Dan
I’m currently changing all of my facet code to use the new aggregations in ElasticSearch 1.0. What aggregation should be used in place of the QueryFacet? -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from this group and stop

Autocomplete suggester Java API?

2014-03-06 Thread Dan
I'm changing our current autocomplete implementation to use the new autocomplete suggester as below. Is there a Java API available to send the suggest search request to ElasticSearch? http://www.elasticsearch.org/blog/you-complete-me/ -- You received this message because you are subscribed to

Re: Autocomplete suggester Java API?

2014-03-06 Thread Dan
, 2014 4:18:16 PM UTC, Dan wrote: I'm changing our current autocomplete implementation to use the new autocomplete suggester as below. Is there a Java API available to send the suggest search request to ElasticSearch? http://www.elasticsearch.org/blog/you-complete-me/ -- You received

ElasticSearch 1.0.1 keeps stopping

2014-03-06 Thread Dan
I upgraded to ES 1.0.1 and I have it running on our Test server, but it keeps stopping after being up for a few hours. It is just a single node with 5 shards. Any ideas on what might be causing this? [2014-03-06 11:30:40,782][INFO ][node ] [Killraven] started [2014-03-06

copy_to using a path?

2014-03-07 Thread Dan
Is it possible to use a path for the copy_to value? something like: { book: { title: { type: string, properties: { en: { type: string, copy_to: title.newTitle }, newTitle: {

Simple query string does not work

2014-09-10 Thread Dan
Hi Guys, I have a simple query which is not working. I am using the same query on another server with the same mapping; where it does work. Everything else is working like a charm. I am talking about the following query. The problem is to be found when I using the query field tags query.

Re: Simple query string does not work

2014-09-11 Thread Dan
Nobody? :( Op woensdag 10 september 2014 21:24:19 UTC+2 schreef Dan: Hi Guys, I have a simple query which is not working. I am using the same query on another server with the same mapping; where it does work. Everything else is working like a charm. I am talking about the following query

Re: Simple query string does not work

2014-09-11 Thread Dan
vineeth mohan: Hello Dan , Can you paste the above as JSON. I am not exactly able to make out what is the query. Thanks Vineeth On Thu, Sep 11, 2014 at 5:50 PM, Dan da...@adena.nl javascript: wrote: Nobody? :( Op woensdag 10 september 2014 21:24:19 UTC+2 schreef Dan: Hi Guys

Re: Simple query string does not work

2014-09-11 Thread Dan
Thanks!! Thats it. Op donderdag 11 september 2014 18:23:31 UTC+2 schreef vineeth mohan: Hello Dan , The format of the entire query is wrong. You need to at-least specify the type of query that you are using. In this case , wild card query would be the best fit. Thanks Vineeth

Query string order field

2015-03-12 Thread Dan
Hello, Is it possible to do a query string search on multi fields, where I can determine the result order by field? When a string is found in field-A it would be more important then an result in field-B [query] = Array ( [query_string] = Array (

Re: ES 1.1.1 - Plugins _site not found

2014-05-31 Thread Dan Spinner
? Something which call nodes info API for example??? -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs Le 31 mai 2014 à 16:23, Dan Spinner dan.s...@sonian.net javascript: a écrit : Has anyone else ran into this? We didn't have this behavior on 90.5. While testing out

Stats aggregation, return documents at min/max.

2014-06-12 Thread Dan Isla
I'm trying to combine a date_histogram agg with a stats agg to find the min/max within a bucket of documents, so far so good, but now I need a field from the document where the Min/Max was actually found. My index basically has millions of x,y datapoints that I want to search for and plot.

Re: Stats aggregation, return documents at min/max.

2014-06-17 Thread Dan Isla
} } } } } } } } } } On Thursday, June 12, 2014 4:08:13 PM UTC-7, Dan Isla wrote: I'm trying to combine a date_histogram agg with a stats agg to find the min/max within a bucket of documents, so far so good

Result the number of matched terms for a given result.

2014-06-20 Thread Dan Harvey
...], :minimum_should_match = 1}} I would like to know how many user_ids were matched. Thanks, Dan -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr

Re: ES seems slow and ineffecient

2014-06-30 Thread Dan Storm
:26:23 PM UTC+2, Mark Walkom wrote: Can you elaborate on the timeouts? What Elasticsearch version, what java version? Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com javascript: web: www.campaignmonitor.com On 30 June 2014 18:40, Dan

Re: Data lost/ missing after elastic search restart

2014-07-01 Thread Dan Cook
Apartments simplicity or understood do it we. Song such eyes had and off. Removed winding ask explain delight out few behaved lasting. Letters old hastily ham sending not sex chamber because present. Oh is indeed twenty entire figure. Occasional diminution announcing new now literature

Lo tormento gritaron humildes me si encender ni ricachos

2014-07-01 Thread Dan Cook
Apartments simplicity or understood do it we. Song such eyes had and off. Removed winding ask explain delight out few behaved lasting. Letters old hastily ham sending not sex chamber because present. Oh is indeed twenty entire figure. Occasional diminution announcing new now literature

Chef cookbook tutorial: What AWS permissions are needed to run this cookbook?

2014-03-20 Thread Dan Testa
. Thanks, Dan -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https

Re: Querying with Completion Suggesters with Java API

2014-04-07 Thread Dan Tuffery
(compBuilder); SuggestResponse suggestResponse = suggestRequestBuilder.execute().actionGet(); Dan On Mon, Apr 7, 2014 at 8:49 AM, Alexander Reelsen a...@spinscale.de wrote: Hey, looks ok. Minor note: Types are simply ignored for suggestions. What are you getting back? Nothing? Can you create

Re: MultiMatch with phrase_prefix support for boost ?

2014-04-09 Thread Dan Tuffery
is the issue, if you remove that type the boost will be applied. So it doesn't look like you can combine 'multi_match' boosting with the 'phrase_prefix' as the type. Dan On Tuesday, April 8, 2014 5:15:38 PM UTC+1, cyrilforce wrote: Hi Dan, I have enabled an analyzer in mapping due to stopword

Re: Querying with Completion Suggesters with Java API

2014-04-09 Thread Dan Tuffery
).getOptions().get(0);* Where *getSuggestion* is getting the field name you supplied in the request. Dan So it looks like your query is returning zero results. Can you see values indexed for the field 'at' On Tuesday, April 8, 2014 4:07:57 PM UTC+1, Bill Wortinger wrote: Great resource! Thank you

Re: Querying with Completion Suggesters with Java API

2014-04-10 Thread Dan Tuffery
entry = entryList.get(0); ListCompletionSuggestion.Entry.Option options = entry.getOptions(); if (options != null) { CompletionSuggestion.Entry.Option option = options.get(0); //the value of toReturn is 'FooFighters' String toReturn = option.getText().string() } Dan

Re: how scoring computed in wildcard and prefix query

2014-04-10 Thread Dan Tuffery
index, the term 'Happier' in appears twice your index therefore it has a higher score for idf. Dan On Friday, April 11, 2014 4:45:58 AM UTC+1, cyrilforce wrote: Hi, I have a question on how the scoring being computed on the following query : { from : 0, size : 60, explain : true

How to count filtered aggregations on nested types at parent level?

2014-04-14 Thread Dan Testa
aggregations on nested types without having to add a *Key field for each one. Is there a way to filter terms aggregations on nested types while returning the count of parent docs, not nested docs? Thanks, Dan -- You received this message because you are subscribed to the Google Groups elasticsearch

Re: Querying with Completion Suggesters with Java API

2014-04-15 Thread Dan Tuffery
) .field(type, completion) .endObject() .endObject() .endObject().execute().actionGet()); Which will create the JSON: { test: { properties: { suggest: { type: completion } } } } Dan On Tuesday, April 15, 2014 2:31:01 PM UTC+1, Bill

Re: search pattern with a forward slash

2014-04-15 Thread Dan Tuffery
Make it a phrase query: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-match-query.html#_phrase or with the query_string: { bool: { must: { query_string: { query: (symbol:\AUD/USD\) } } } } Dan

Re: How to count filtered aggregations on nested types at parent level?

2014-04-15 Thread Dan Testa
This sounds exactly like what I need! I guess I can live with my workaround until reverse_nested becomes available. Thanks, Dan -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from this group and stop receiving emails from

Re: Querying with Completion Suggesters with Java API

2014-04-15 Thread Dan Tuffery
, completion) .endObject() .endObject() .endObject() .endObject().execute().actionGet()); Dan On Tuesday, April 15, 2014 3:44:23 PM UTC+1, Dan Tuffery wrote: You're missing the index 'type' and 'properties' objects from the index mapping

Re: Wildcard query is not working.

2014-04-18 Thread Dan Tuffery
query: curl -XGET 'http://localhost:9200/message_index/message_indext/_search' -d '{query:{wildcard:{URL.untouched:http://www.mohit-kumar-yadav.com*}}}' Dan On Thursday, April 17, 2014 8:55:20 PM UTC+1, Mohit Kumar Yadav wrote: hi folks, In my document there is a field which contians only URL

Re: Number of characters in field

2014-05-22 Thread Dan Tuffery
You could use a script filter: filtered : { query : { ... }, filter : { script : { script : doc['subject'].value.length() 20 } } } Dan On Thursday, May 22, 2014 8:45:41 AM UTC+1, David Nielsen wrote: Hi. I am trying to find a way

Re: hasParentFilter not working in SearchScrollRequestBuilder in v0.90.10

2014-01-14 Thread Dan Everton
This looks similar to this bug https://github.com/elasticsearch/elasticsearch/issues/4703 thought that's with has_child filters and doesn't throw an error. I wonder if it's a related issue though? There's both curl and JUnit test cases attached there if that helps. Cheers, Dan -- You

Re: ES 0.20.5 adding a new node to a running cluster (unicast mode)

2014-02-03 Thread Dan Fairs
a node is known about, its existence should be communicated to the other nodes. Cheers, Dan -- Dan Fairs | dan.fa...@gmail.com | @danfairs | secondsync.com -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from this group and stop

Re: Knapsack Plugin

2014-02-15 Thread Dan Fairs
Hi Jörg Dan, no problem, I can build a version against 0.19.8 That would be much appreciated - many thanks! :) (Happy to have a go myself if you can point me towards some basic instructions - but I suspect it's a 5-minute thing for you, and two days for me, as a Python person!) Let me know

Re: Relation Between Heap Size and Total Data Size

2014-02-26 Thread Dan Fairs
, Dan -- Dan Fairs | dan.fa...@gmail.com | @danfairs | secondsync.com -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com

Re: Get total of distinct values in a field

2014-03-03 Thread Dan Fairs
a term facet on the field in question, and counting the number of entries. I'd also note that we don't do this in live web requests, but in batch jobs, and store the result! Cheers, Dan -- Dan Fairs | dan.fa...@gmail.com | @danfairs | secondsync.com -- You received this message because you

Re: Autocomplete suggester Java API?

2014-03-06 Thread Dan Tuffery
, Dan dan.tuff...@gmail.com wrote: I found an example in the tests, if anyone else is looking for it and comes across this post: SuggestResponse suggestResponse = client().prepareSuggest(INDEX).addSuggestion( new CompletionSuggestionBuilder(testSuggestions).field(FIELD).text

Re: Autocomplete suggester Java API?

2014-03-06 Thread Dan Tuffery
suggestor for one field here }, id2 : { .//put your suggestor for second field here } } -Amit. On Thu, Mar 6, 2014 at 9:10 AM, Dan Tuffery dan.tuff...@gmail.com wrote: Thanks Amit. Is there anyway to execute the autocomplete suggest on multiple fields within

Re: ElasticSearch 1.0.1 keeps stopping

2014-03-06 Thread Dan Tuffery
There's nothing else in the logs. On Thu, Mar 6, 2014 at 11:18 PM, Binh Ly binhly...@yahoo.com wrote: I would check the log files and see if there is anything else there... -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe

Top hits aggregation default sort

2014-08-18 Thread Dan Tuffery
I using the top hits aggregation with a has_child query. In the top_hits aggregation documentation it says '*By default the hits are sorted by the score of the main query*', but I'm not seeing that in the results for my query { from: 0, size: 3, query: { has_child: {

Re: Top hits aggregation default sort

2014-08-19 Thread Dan Tuffery
} } ] } } This returns the following result. On Tuesday, August 19, 2014 8:47:40 AM UTC+1, Martijn v Groningen wrote: Hi Dan, The buckets of there replies terms agg are sorted by default by their doc count, but the hits inside topChildren agg are sorted by default by the score

Re: Top hits aggregation default sort

2014-08-19 Thread Dan Tuffery
I should have looked at the documentation first :) it is 'doc.score'. http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_score On Tuesday, August 19, 2014 7:07:18 PM UTC+1, Dan Tuffery wrote: Hi Martijn, Thanks for your response, that seems like

Elasticsearch 1.4.0 release data?

2014-09-10 Thread Dan Tuffery
Is there are release date scheduled for ES 1.4.0? I need the child aggregation for the project I'm working on at the moment. https://github.com/elasticsearch/elasticsearch/pull/6936 Dan -- You received this message because you are subscribed to the Google Groups elasticsearch group

Re: Kibana histogram with a value to zero

2014-10-02 Thread Dan Milon
I'm having the exact same issue. Zero values are not drawn on the histogram. Is this a feature or a bug? If I wanted to try and fix this, where should I look in the code? Thanks, Dan. On Tuesday, September 30, 2014 5:09:21 PM UTC+3, Samuel Merlet wrote: Hi, I can't figure out how

Re: Not able to search long values

2014-10-15 Thread Dan Fairs
running your query directly with curl, or something else that doesn't have javascript in the pipeline. (Interesting aside: we also noticed that the popular 'jq' utility also has problems with long values...) Cheers, Dan -- Dan Fairs dan.fa...@gmail.com | @danfairs -- You received this message

How is the idf calculated for an alias that maps to multiple indexes?

2014-11-20 Thread Dan Tuffery
If I have mapped an alias to more than one index and I execute a search using the alias name, will the idf be calculated for each individual index or will the idf calculation take into consideration all of the indexes that are mapped to the alias? -- You received this message because you are

kibana connection failed (even with http.cors.allow-origin in elasticsearch.ym)

2014-12-04 Thread Dan Langille
I'm running: elasticsearch-1.4.0_1 logstash-1.4.2_1 kibana-3.1.1 on FreeBSD 9.3 On initial setup, the prebuilt dashboard: (Logstash Dashboard) at /index.html#/dashboard/file/logstash.json worked I added more panels from github. The Logstash Dashboard still worked. Then it didn't. screen

Re: kibana connection failed (even with http.cors.allow-origin in elasticsearch.ym)

2014-12-04 Thread Dan Langille
SOLVED. Not sure how, but while messing around with the nginx.conf files, it started working. Sorry I do not have more information which points directly to the solution. -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from

ElasticSearch-yarn - how to install plug-ins

2015-01-16 Thread Dan Cieslak
Is it possible to install plug-ins to elasticsearch when running it under yarn? I can't quite seem to figure out how to invoke the plugin command via hadoop Thanks Dan -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from

Re: Where is the data stored? ElasticSearch YARN

2015-01-17 Thread Dan Cieslak
data would live between restarts So how would one configure elasticsearch-yarn for the recommended approach? Does one make changes in the elasticsearch.zip's config files? If so, what settings? Thanks Dan -- You received this message because you are subscribed to the Google Groups

Analyze field for context suggester

2015-01-14 Thread Dan Caragea
seem to achieve anything. OR, is there another way to get autocomplete suggestions for words? Cheers, Dan -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from this group and stop receiving emails from it, send an email

Can you create nested mapping on fields in nested arrays

2015-01-12 Thread Dan Mc
I'd like to create a mapping on an index, specifying a particular field, TCNAME, as a non-analyzed string. This seems straightforward when you're mapping against a field at the root node, or even a field nested deeper within a document in cases where there is a predictable pattern of field

Which analyzer strategy use

2015-04-17 Thread Dan Titan
Hello elasticUs, I want to know which is the best route to index a text that contains codes (for example 1/56DTH) and other normal text but without losing benefits of analyzed text. For example I want index the text: Every night I need to restart my robots 1/56DTH If I use an standard english

Re: red shard status - why please?

2015-04-06 Thread Dan Langille
The logs for the 5th and 6th of April have no error messages. But on the 4th, perhaps this issue? FYI,the IP address mentioned is the box from which this log is taken. 2015-04-03 21:40:06,810][DEBUG][action.admin.indices.stats] [Analyzer] [kibana-int][0], node[7WrGQp7eR96iVCnprjokJA], [P],

Significant Terms - Memory Issues Redux

2015-04-07 Thread Dan Fuller
In a previous discussion of Significant Terms (https://groups.google.com/forum/?utm_medium=emailutm_source=footer#!msg/elasticsearch/EQ1ysXVC5TU/rloTy6ZrHusJ), one of the recommendations to reduce memory usage was: Use Doc Values in your index mappings to hit disk instead of using es

red shard status - why please?

2015-04-04 Thread Dan Langille
I'm seeing this: { cluster_name : elasticsearch, status : red, timed_out : false, number_of_nodes : 4, number_of_data_nodes : 2, active_primary_shards : 4, active_shards : 8, relocating_shards : 0, initializing_shards : 0, unassigned_shards : 2, indices : { kibana-int :