Wrong paging with embedded es instance

2014-06-06 Thread Дмитрий Киселев
Hi everyone. I use embedded ES node as part of java application. Node node = nodeBuilder().clusterName(OSM-Gazetteer).node(); Client client = node.client(); I try to fetch some data paged. SearchRequestBuilder searchQ = client.prepareSearch(gazetteer)

Re: Wrong paging with embedded es instance

2014-06-06 Thread Дмитрий Киселев
Yep. System.out.println(searchQ.toString()); { from : 0, size : 5, query : { match_all : { } }, explain : false, fields : [ ] } Also, I think it's might be connected with sharding. I've tried to change number_of_shards to 1 and paging starts act as I expect. Set

Re: Wrong paging with embedded es instance

2014-06-06 Thread Дмитрий Киселев
, Дмитрий Киселев (dmitry.v.kise...@gmail.com) a écrit: This is with 5 shards. { took : 81, timed_out : false, _shards : { total : 5, successful : 5, failed : 0 }, hits : { total : 3879, max_score : 1.0, hits : [ { _index : gazetteer, _type

Re: Wrong paging with embedded es instance

2014-06-06 Thread Дмитрий Киселев
something I guess. -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs Le 6 juin 2014 à 20:02, Дмитрий Киселев dmitry.v.kise...@gmail.com a écrit : Sorry, there littlebit different dataset. Here is answer with same data and 1 shard { took : 63, timed_out : false, _shards

Re: Wrong paging with embedded es instance

2014-06-06 Thread Дмитрий Киселев
Le 6 juin 2014 à 20:26, Дмитрий Киселев dmitry.v.kise...@gmail.com a écrit : I asked for 5 docs. With 1 shard - I got 5 docs. With 5 shards - I got 25 docs. With 5 shards, using curl instead of embedded java client - I got 5 docs. 2014-06-06 20:20 GMT+02:00 David Pilato da...@pilato.fr

Re: geo_shape type

2014-05-16 Thread Дмитрий Киселев
Hi everyone. I have got exactly the same error org.elasticsearch.index.mapper.MapperParsingException: No handler for type [geo_shape] declared on field [full_geometry] This is a part of mapping center_point: { type: geo_point, index: not_analyzed }, full_geometry: { type: geo_shape

Re: geo_shape type

2014-05-16 Thread Дмитрий Киселев
Got it. I was miss JTS dependency. dependency groupIdcom.vividsolutions/groupId artifactIdjts/artifactId version1.13/version /dependency -- You received this message because you are subscribed to the Google Groups elasticsearch group. To unsubscribe from this group and stop