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

 }

 }, {

 rich: {

 order: desc,

 mode: sum

 }

 }, {

 picture: {

 order: desc,

 mode: sum

 }

 }],

 query: {

 filtered: {

 query: {

 bool: {

 should: [{

 constant_score: {

 query: {

 match: {

 _all: {

 query: Daryl

 }

 }

 },

 boost: 1.0

 }

 }, {

 constant_score: {

 query: {

 match: {

 _all: {

 query: Davies

 }

 }

 },

 boost: 1.0

 }

 }],

 disable_coord: 1

 }

 },

 filter: [{

 or: [{

 query: {

 match: {

 _all: {

 query: Daryl

 }

 }

 }

 }, {

 query: {

 match: {

 _all: {

 query: Davies

 }

 }

 }

 }]

 }]

 }

 },

 rescore: [{

 query: {

 query_weight: 0.0,

 rescore_query_weight: 1.0,

 score_mode: total,

 rescore_query: {

 bool: {

 should: [{

 match_all: {

 boost: 20.0

 }

 }],

 disable_coord: 1

 }

 }

 },

 window_size: 50

 }]

 }


Results showing weird scores when the scores should all total up to 20.0

 

{

  took : 470,

  timed_out : false,

  _shards : {

total : 8,

successful : 8,

failed : 0

  },

  hits : {

total : 84244,

max_score : null,

hits : [ {

  _index : crawledpeople_completepeople_v1,

  _type : zeepexmanager_buisnessobjects_zeepexsearch_zeepexprofile,

  _id : 51c3c56f6dd2bc0854e9e333,

  _score : 1.4142135,

  sort : [ 1.4142135, 2, 66, 1 ]

}, {

  _index : crawledpeople_completepeople_v1,

  _type : zeepexmanager_buisnessobjects_zeepexsearch_zeepexprofile,

  _id : 51c6d25e6dd2bc08543fa577,

  _score : 1.4142135,

  sort : [ 1.4142135, 2, 54, 1 ]

}, {

  _index : crawledpeople_completepeople_v1,

  _type : zeepexmanager_buisnessobjects_zeepexsearch_zeepexprofile,

  _id : 51f342e06dd2bc0b788c6372,

  _score : 1.4142135,

  sort : [ 1.4142135, 1, 298, -9223372036854775808 ]

}, {

  _index : crawledpeople_completepeople_v1,

  _type : zeepexmanager_buisnessobjects_zeepexsearch_zeepexprofile,

  _id : 51e162e16dd2bc08549fb2b5,

  _score : 1.4142135,

  sort : [ 1.4142135, 1, 253, -9223372036854775808 ]

}, {

  _index : crawledpeople_completepeople_v1,

  _type : zeepexmanager_buisnessobjects_zeepexsearch_zeepexprofile,

  _id : 52a3b8ad6dd2bc053c372722,

  _score : 1.4142135,

  sort : [ 1.4142135, 1, 104, 1 ]

}, {

  _index : crawledpeople_completepeople_v1,

  _type : zeepexmanager_buisnessobjects_zeepexsearch_zeepexprofile,

  _id : 5155e11bd25e9d09d0602aa9,

  _score : 1.4142135,

  sort : [ 1.4142135, 1, 97, 1 ]

}, {

  _index : crawledpeople_completepeople_v1,

  _type : zeepexmanager_buisnessobjects_zeepexsearch_zeepexprofile,

  _id : 52a798656dd2bc053c7e6950,

  _score : 1.4142135,

  sort : [ 1.4142135, 1, 67, 1 ]

}, {

  _index : crawledpeople_completepeople_v1,

  _type : zeepexmanager_buisnessobjects_zeepexsearch_zeepexprofile,

  _id : 51db66f86dd2bc0854e0ddc2,

  _score : 1.4142135,

  sort : [ 1.4142135, 1, 63, 1 ]

}, {

  _index : crawledpeople_completepeople_v1,

  _type : zeepexmanager_buisnessobjects_zeepexsearch_zeepexprofile,

  _id : 

Re: Rescore Sorting

2014-08-13 Thread Shawn Ritchie
Tried simplfying the query but no luck still getting the original query 
score

Tried Simplifying the Query but with no luck still getting the same scores


 {

 from: 0,

 size: 10,

 explain: false,

 sort: [_score, {

 networks: {

 order: desc,

 mode: sum

 }

 }, {

 rich: {

 order: desc,

 mode: sum

 }

 }, {

 picture: {

 order: desc,

 mode: sum

 }

 }],

 query: {

 filtered: {

 query: {

 bool: {

 should: [{

 constant_score: {

 query: {

 match: {

 _all: {

 query: Daryl

 }

 }

 },

 boost: 1.0

 }

 }, {

 constant_score: {

 query: {

 match: {

 _all: {

 query: Davies

 }

 }

 },

 boost: 1.0

 }

 }],

 disable_coord: 1

 }

 },

 filter: [{

 or: [{

 query: {

 match: {

 _all: {

 query: Daryl

 }

 }

 }

 }, {

 query: {

 match: {

 _all: {

 query: Davies

 }

 }

 }

 }]

 }]

 }

 },

 rescore: [{

 query: {

 query_weight: 0.0,

 rescore_query_weight: 1.0,

 score_mode: total,

 rescore_query: {

 constant_score: {

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

 }

 }, {

 rich: {

 order: desc,

 mode: sum

 }

 }, {

 picture: {

 order: desc,

 mode: sum

 }

 }],

 query: {

 filtered: {

 query: {

 bool: {

 should: [{

 constant_score: {

 query: {

 match: {

 _all: {

 query: Daryl

 }

 }

 },

 boost: 1.0

 }

 }, {

 constant_score: {

 query: {

 match: {

 _all: {

 query: Davies

 }

 }

 },

 boost: 1.0

 }

 }],

 disable_coord: 1

 }

 },

 filter: [{

 or: [{

 query: {

 match: {

 _all: {

 query: Daryl

 }

 }

 }

 }, {

 query: {

 match: {

 _all: {

 query: Davies

 }

 }

 }

 }]

 }]

 }

 },

 rescore: [{

 query: {

 query_weight: 0.0,

 rescore_query_weight: 1.0,

 score_mode: total

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 the original query score.



-- 
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://groups.google.com/d/msgid/elasticsearch/73aa1295-82ee-4341-8d53-b815806bee73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

 should: [{

 constant_score: {

 query: {

 match: {

 _all: {

 query: test

 }

 }

 },

 boost: 1.0

 }

 }, {

 constant_score: {

 query: {

 match: {

 _all: {

 query: check

 }

 }

 },

 boost: 1.0

 }

 }]

 },

 disable_coord: 1

 },

 filter: [{

 or: [{

 query: {

 match: {

 _all: {

 query: test

 }

 }

 }

 }, {

 query: {

 match: {

 _all: {

 query: check

 }

 }

 }

 }]

 }]

 }

 }

 }


Shouldn't the above query either return a score of either 1 OR 2 why is it 
returning score of lets say 1.4 if I am wrapping the sub queries  with a 
constant score query?

Regards
Shawn

-- 
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://groups.google.com/d/msgid/elasticsearch/b749780a-23f3-4e1d-bdea-b6d59c9507e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

  min_shingle_size: 2,

  max_shingle_size: 4,

  type: shingle

  },

  synoynm_filter: {

  synonyms_path: .. path ...,

  type: synonym

  }

  },

  analyzer: {

  title_analyzer: {

  filter: [standard, lowercase, asciifolding, 
 synoynm_filter, porter_stem, token_ngrams],

  type: custom,

  tokenizer: standard

  }

  }

  }

  }

  

 

  match: {

  _all: {

  query: CompassMD is a SaaS platform,

  type: phrase,

  analyzer: title_analyzer

  }

  }



-- 
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://groups.google.com/d/msgid/elasticsearch/86a59b42-8e7d-4a37-a2ab-91f2e85fb7e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Phrase Match Query Problem

2014-06-27 Thread Shawn Ritchie
So I did some more digging into the problem and apparently the problem is 
not with the Phase Query but with the Analyser being user on the _all 
field. When an Analyser is specified no results are returned but when I 
omit the Analyser I get the expected results.

So the question is what 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 this is happening? 

 Below one can find the mapping and query being used

  settings: {

  analysis: {

  filter: {

  token_ngrams: {

  min_shingle_size: 2,

  max_shingle_size: 4,

  type: shingle

  },

  synoynm_filter: {

  synonyms_path: .. path ...,

  type: synonym

  }

  },

  analyzer: {

  title_analyzer: {

  filter: [standard, lowercase, asciifolding, 
 synoynm_filter, porter_stem, token_ngrams],

  type: custom,

  tokenizer: standard

  }

  }

  }

  }

  

 

  match: {

  _all: {

  query: CompassMD is a SaaS platform,

  type: phrase,

  analyzer: title_analyzer

  }

  }



-- 
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://groups.google.com/d/msgid/elasticsearch/4cf8962d-d18c-4ee8-964e-7f85882e1549%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/ab904d52-65f5-4304-a3c3-cc103ff33211%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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,
id : 1200,
max_file_descriptors : 4096,
mlockall : true
  },

yet when I run 

ulimit -n I get

65535

ElasticSearch is installed as a service and running as root? Any idea why 
this is happening?

-- 
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://groups.google.com/d/msgid/elasticsearch/53e168b5-8834-4b63-98ec-4c5a3080a91b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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,
 id : 1200,
 max_file_descriptors : 4096,
 mlockall : true
   },

 yet when I run

 ulimit -n I get

 65535

 ElasticSearch is installed as a service and running as root? Any idea why
 this is happening?

 --
 You received this message because you are subscribed to a topic in the
 Google Groups elasticsearch group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/elasticsearch/SIKIWq40MKY/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 elasticsearch+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/elasticsearch/53e168b5-8834-4b63-98ec-4c5a3080a91b%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/53e168b5-8834-4b63-98ec-4c5a3080a91b%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
Thanks
Shawn Ritchie

-- 
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://groups.google.com/d/msgid/elasticsearch/CAP0uL7zMEv-dDh1N1ZhY%3D2k9SPDt8bdiBPNqjn%2BPgYHqU0oRrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 PM, Shawn Ritchie xritc...@gmail.comwrote:

 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,
 id : 1200,
 max_file_descriptors : 4096,
 mlockall : true
   },

 yet when I run

 ulimit -n I get

 65535

 ElasticSearch is installed as a service and running as root? Any idea why
 this is happening?

 --
 You received this message because you are subscribed to a topic in the
 Google Groups elasticsearch group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/elasticsearch/SIKIWq40MKY/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 elasticsearch+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/elasticsearch/53e168b5-8834-4b63-98ec-4c5a3080a91b%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/53e168b5-8834-4b63-98ec-4c5a3080a91b%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




 --
 Thanks
 Shawn Ritchie




-- 
Thanks
Shawn Ritchie

-- 
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://groups.google.com/d/msgid/elasticsearch/CAP0uL7xtHLT6%2ByjPMSENxQEZKYHJL_31ZuLW%2BUXNrO2GOJsSPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: File Descriptors

2014-05-22 Thread Shawn Ritchie
No I did not use RPM used .tar for the installation process and my ulimit
settings are in

 /etc/security/limits.conf
* - nofile 65535

/etc/sysctl.conf
fs.file-max = 512000



On Thu, May 22, 2014 at 12:37 PM, Mark Walkom ma...@campaignmonitor.comwrote:

 Did you use the RPMs? Where are you 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...@gmail.comwrote:

 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.comwrote:

 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,
 id : 1200,
 max_file_descriptors : 4096,
 mlockall : true
   },

 yet when I run

 ulimit -n I get

 65535

 ElasticSearch is installed as a service and running as root? Any idea
 why this is happening?

 --
 You received this message because you are subscribed to a topic in the
 Google Groups elasticsearch group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/elasticsearch/SIKIWq40MKY/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 elasticsearch+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/elasticsearch/53e168b5-8834-4b63-98ec-4c5a3080a91b%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/53e168b5-8834-4b63-98ec-4c5a3080a91b%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




 --
 Thanks
 Shawn Ritchie




 --
 Thanks
 Shawn Ritchie

 --
 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://groups.google.com/d/msgid/elasticsearch/CAP0uL7xtHLT6%2ByjPMSENxQEZKYHJL_31ZuLW%2BUXNrO2GOJsSPw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAP0uL7xtHLT6%2ByjPMSENxQEZKYHJL_31ZuLW%2BUXNrO2GOJsSPw%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


  --
 You received this message because you are subscribed to a topic in the
 Google Groups elasticsearch group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/elasticsearch/SIKIWq40MKY/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 elasticsearch+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/elasticsearch/CAEM624bonFrf5V1eK%3D9Ug8SpSiC%3DWL3%3Dc6MRiOSmaK9Hkjz6KA%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAEM624bonFrf5V1eK%3D9Ug8SpSiC%3DWL3%3Dc6MRiOSmaK9Hkjz6KA%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
Thanks
Shawn Ritchie

-- 
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://groups.google.com/d/msgid/elasticsearch/CAP0uL7zxoJe_W80wRU4Kqomv0MBzC67cwo8M%2B0WTmepvgs7CEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Slow Staging Cluster

2014-05-20 Thread Shawn Ritchie
https://gist.github.com/xritchie/37938d5ec38a7903dccf

Thereis the config which is identical on both servers.

On Monday, 19 May 2014 23:39:41 UTC+2, Mark Walkom wrote:

 What are the new settings you are referring to? Can you gist your config?

 Also try changing to Oracle Java, 1.7u55, you'll 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 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 Google Groups 
 elasticsearch group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to elasticsearc...@googlegroups.com javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/elasticsearch/3b8adfaa-a0e8-4047-87c3-0bf22d845a69%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/3b8adfaa-a0e8-4047-87c3-0bf22d845a69%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
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://groups.google.com/d/msgid/elasticsearch/998b6b14-0c7b-47c4-bfc7-7577489600cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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://groups.google.com/d/msgid/elasticsearch/3b8adfaa-a0e8-4047-87c3-0bf22d845a69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 been configured],status:400}

Any idea what it might be?

-- 
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://groups.google.com/d/msgid/elasticsearch/cf7b547d-b8aa-4b23-8d97-75e7244082c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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/5333df0b34bb61316092f4b0?parent=5333de6034bb61316092f4a6
  

 {error:ElasticsearchIllegalArgumentException[Can't specify parent if no 
 parent field has been configured],status:400}

 Any idea what it might be?


-- 
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://groups.google.com/d/msgid/elasticsearch/21e446a2-41e5-4e58-a95f-6c7460c4e478%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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=5333de6034bb61316092f4a6
  

 {error:ElasticsearchIllegalArgumentException[Can't specify parent if no 
 parent field has been configured],status:400}

 Any idea what it might be?


-- 
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://groups.google.com/d/msgid/elasticsearch/41295520-4f1e-47c7-8a64-e8216e3dbae6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


_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

elasticsearch_tests_utilityobjects_searchableentity: {
properties: {

...

},
  _all: {
  enabled: true
  }
  },
  elasticsearch_tests_utilityobjects_zeepextag: {
  properties: {
  UID: {
  type: long
  },
  Type: {
  type: integer
  },
  Tag: {
  fields: {
  Tag: {
  index_options: offsets,
  type: string,
  store: yes
  }
  },
  type: multi_field
  }
  },
  _parent: {
  type: search_tests_utilityobjects_searchableentity
  },
  _all: {
  enabled: true
  }
  }




-- 
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://groups.google.com/d/msgid/elasticsearch/a92decd4-2950-4cc3-bc06-7f1c72278d8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 
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://groups.google.com/d/msgid/elasticsearch/47f70ff6-5795-4a74-9e9d-a62cf498a853%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 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 a topic in the
 Google Groups elasticsearch group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/elasticsearch/dYL8tftwwyo/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 elasticsearch+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/elasticsearch/47f70ff6-5795-4a74-9e9d-a62cf498a853%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Thanks
Shawn Ritchie

-- 
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://groups.google.com/d/msgid/elasticsearch/CAP0uL7xXUwuKuAm%3DtSt89FDPcSr%3DwBp%2BtoB5AOSv%2BK%3DZ%2By87fQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.