Re: simple query string with flags returns no results

2015-04-28 Thread Daniel Nill
I'm not. Sorry, copy and paste fail. On Tuesday, April 28, 2015 at 10:31:58 AM UTC-7, Roger de Cordova Farias wrote: > > Are you actually using a comma after the "firstname^1.3"? It is invalid > JSON in both cases > > 2015-04-28 14:15 GMT-03:00 Daniel Nill >: > >> curl -XPUT "http://0.0.0.0:920

Re: simple query string with flags returns no results

2015-04-28 Thread Roger de Cordova Farias
Are you actually using a comma after the "firstname^1.3"? It is invalid JSON in both cases 2015-04-28 14:15 GMT-03:00 Daniel Nill : > curl -XPUT "http://0.0.0.0:9200/users"; -d '{ > "first_name": "daniel", > "last_name": "nill" > }' > > > curl -XGET 'http://0.0.0.0:9200/users/_search"; -d '{

simple query string with flags returns no results

2015-04-28 Thread Daniel Nill
curl -XPUT "http://0.0.0.0:9200/users"; -d '{ "first_name": "daniel", "last_name": "nill" }' curl -XGET 'http://0.0.0.0:9200/users/_search"; -d '{ "query": { "bool": { "must": { "simple_query_string": { "query":"daniel nill", "fields":[ "la