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

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