Rescore Sorting

2014-08-13 Thread Shawn Ritchie
Hi Guys, I'm getting weird score from my rescore anyone mind explaining why the rescore score is getting ignored in my query? { from: 0, size: 10, explain: false, sort: [_score, { networks: { order: desc, mode: sum }

Re: Rescore Sorting

2014-08-13 Thread Shawn Ritchie
: { query: { match_all: {} }, boost: 20.0 } } }, window_size: 50 }] } On Wednesday, 13 August 2014 10:53:45 UTC+2, Shawn Ritchie wrote: Hi Guys, I'm

Re: Rescore Sorting

2014-08-13 Thread Shawn Ritchie
Ok, So I managed to fix this issue but I'm not entirely sure if I found a Bug or if the functionality is intended to work like so. Basically if I remove the sort functionality the query works as intended, If I use any kind of Sort, the rescore query is totally ignored and sorting is done on

Constant Score Query Bool Query

2014-07-31 Thread Shawn Ritchie
Hi Guys, Quick question regarding scoring when ConstantScoreQuery Bool Query are used in conjunction So here is the query { from: 0, size: 10, explain: false, sort: [_score], query: { filtered: { query: { bool: {

Phrase Match Query Problem

2014-06-27 Thread Shawn Ritchie
Hi Guys, For some reason when I do the following Phrase Match query I do not get any results does anyone mind explaining why this is happening? Below one can find the mapping and query being used settings: { analysis: { filter: { token_ngrams: {

Re: Phrase Match Query Problem

2014-06-27 Thread Shawn Ritchie
is exactly happening internally on the _all field is it using the standard analyser? is it not analysed? On Friday, 27 June 2014 10:38:39 UTC+2, Shawn Ritchie wrote: Hi Guys, For some reason when I do the following Phrase Match query I do not get any results does anyone mind explaining why

Update to include _all

2014-06-26 Thread Shawn Ritchie
Hi, Our current mapping does not support _all field, is their a way to update the mapping to include it or is re indexing required? Regards Shawn -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from this group and stop

File Descriptors

2014-05-22 Thread Shawn Ritchie
Hi guys, Kind of stuck with a fresh installation of an ElasticSearch cluster. everything is installed file descriptor limits are set yet when I run curl -XGET http://10.0.8.62:9200/_nodes?os=trueprocess=truepretty=true; stats.txt I get process : { refresh_interval : 1000,

Re: File Descriptors

2014-05-22 Thread Shawn Ritchie
so this issue only occurs on server restart. If I had to restart elasticsearch service it would load the correct number of file descriptors. Regards Shawn On Thu, May 22, 2014 at 12:19 PM, Shawn Ritchie xritc...@gmail.com wrote: Hi guys, Kind of stuck with a fresh installation

Re: File Descriptors

2014-05-22 Thread Shawn Ritchie
CentOS 6.5 and Java 1.7u55 On Thu, May 22, 2014 at 12:28 PM, Shawn Ritchie xritc...@gmail.com wrote: so this issue only occurs on server restart. If I had to restart elasticsearch service it would load the correct number of file descriptors. Regards Shawn On Thu, May 22, 2014 at 12:19

Re: File Descriptors

2014-05-22 Thread Shawn Ritchie
setting the ulimit? Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com web: www.campaignmonitor.com On 22 May 2014 20:30, Shawn Ritchie xritc...@gmail.com wrote: CentOS 6.5 and Java 1.7u55 On Thu, May 22, 2014 at 12:28 PM, Shawn Ritchie xritc

Re: Slow Staging Cluster

2014-05-20 Thread Shawn Ritchie
definitely see a performance increase there. Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com javascript: web: www.campaignmonitor.com On 20 May 2014 00:47, Shawn Ritchie xrit...@gmail.com javascript:wrote: Hi Guys, I set up a staging

Slow Staging Cluster

2014-05-19 Thread Shawn Ritchie
Hi Guys, I set up a staging environment with some new settings and it's really slow pasting some stat's does anyone have any idea cause I'm kind of puzzled? https://gist.github.com/xritchie/a1a56915eacc5e179984 Regards Shawn -- You received this message because you are subscribed to the

Re: _parent missing during mapping - error inserting objects with parent

2014-03-27 Thread Shawn Ritchie
That is what I am doing yet I get the following exception http://127.0.0.1:9200/testcollection/elasticsearch_tests_utilityobjects_zeepextag/5333df0b34bb61316092f4b0?parent=5333de6034bb61316092f4a6 {error:ElasticsearchIllegalArgumentException[Can't specify parent if no parent field has

Re: _parent missing during mapping - error inserting objects with parent

2014-03-27 Thread Shawn Ritchie
Found the issue it was related to me using an incorrect index in the URL. On Thursday, 27 March 2014 09:20:41 UTC+1, Shawn Ritchie wrote: That is what I am doing yet I get the following exception http://127.0.0.1:9200/testcollection/elasticsearch_tests_utilityobjects_zeepextag

Re: _parent missing during mapping - error inserting objects with parent

2014-03-27 Thread Shawn Ritchie
resolved the issue was with the mapping On Thursday, 27 March 2014 09:20:41 UTC+1, Shawn Ritchie wrote: That is what I am doing yet I get the following exception http://127.0.0.1:9200/testcollection/elasticsearch_tests_utilityobjects_zeepextag/5333df0b34bb61316092f4b0?parent

_parent missing during mapping

2014-03-26 Thread Shawn Ritchie
Hi, I'm trying to add a _ parent with the following mappings but for some reason the _parent field gets ignored so when I go to insert a new object in Elastic search I get an exception that no parent field was specified anyone knows why this is happening? Regards Shawn

Facets on Object Types

2014-01-21 Thread Shawn Ritchie
Hi Guys, Quick Question as i can't get this working? Can *Facets *work on object of *type:object* As all the examples i am finding all work on type:nested If so can anyone provide a small example. Regards Shawn -- You received this message because you are subscribed to the Google Groups

Re: Facets on Object Types

2014-01-21 Thread Shawn Ritchie
Ok so i Solved that but another question how do you tackle when you got Embedded Objects which have the same field name apparently when the field name is not unique faceting returns no results On Tue, Jan 21, 2014 at 1:53 PM, Shawn Ritchie xritc...@gmail.com wrote: Hi Guys, Quick Question