Re: function_score and elasticsearch-php

2014-03-13 Thread Erdal Gunyar
`random_score : {}`, which will break the array notation. Objects make sure that doesn't happen. On Wednesday, March 12, 2014 2:47:00 PM UTC-4, Erdal Gunyar wrote: Hi everybody, Does anyone here successfully implemented function_score with elasticsearch-php? Of course, without passing all

Re: function_score and elasticsearch-php

2014-03-13 Thread Zachary Tong
implemented function_score with elasticsearch-php? Of course, without passing all the body as a JSON string. I've actually tried but it failed, it looks like it's impossible to pass the array+object located in the functions part : query: { function_score: { query

Re: function_score and elasticsearch-php

2014-03-12 Thread Zachary Tong
successfully implemented function_score with elasticsearch-php? Of course, without passing all the body as a JSON string. I've actually tried but it failed, it looks like it's impossible to pass the array+object located in the functions part : query: { function_score: { query

Re: function_score and elasticsearch-php

2014-03-12 Thread Zachary Tong
notation. Objects make sure that doesn't happen. On Wednesday, March 12, 2014 2:47:00 PM UTC-4, Erdal Gunyar wrote: Hi everybody, Does anyone here successfully implemented function_score with elasticsearch-php? Of course, without passing all the body as a JSON string. I've actually tried