Advertisement
Guest User

ElasticSearchResults

a guest
Sep 1st, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.10 KB | None | 0 0
  1. {
  2. "from" : 0,
  3. "size" : 10,
  4. "query" : {
  5. "multi_match" : {
  6. "query": "מנות",
  7. "fields": [ "properties.name^7", "properties.name*", "properties._name" ],
  8. "type": "best_fields",
  9. "fuzziness": "AUTO"
  10. }
  11. }
  12. }
  13.  
  14. Results:
  15. {
  16. "took": 72,
  17. "timed_out": false,
  18. "_shards": {
  19. "total": 5,
  20. "successful": 5,
  21. "failed": 0
  22. },
  23. "hits": {
  24. "total": 207,
  25. "max_score": 3.8016267,
  26. "hits": [
  27. {
  28. "_index": "osm",
  29. "_type": "feature",
  30. "_id": "Point_278478444",
  31. "_score": 3.8016267,
  32. "_source": {
  33. "geometry": {
  34. "coordinates": [
  35. 35.1829753,
  36. 31.751465800000002
  37. ],
  38. "type": "Point"
  39. },
  40. "properties": {
  41. "name": "מלחה",
  42. "place": "suburb",
  43. "source": "GEOnet Names Server (gns)",
  44. "gns_ref": "-780568",
  45. "name:en": "Malha",
  46. "name:he": "מלחה",
  47. "accuracy": "minutes",
  48. "name:en1": "Al Malha",
  49. "name:en2": "Al Maliha",
  50. "name:en3": "Manahat",
  51. "name:en4": "Malhah",
  52. "name:en5": "Maliha",
  53. "name:he1": "מנחת",
  54. "osm_id": 278478444,
  55. "search_factor": 1,
  56. "icon": "http://www.sjjb.co.uk/mapicons/png/accommodation_alpinehut.p.16.png"
  57. },
  58. "type": "Feature"
  59. }
  60. },
  61. {
  62. "_index": "osm",
  63. "_type": "feature",
  64. "_id": "Point_1425183128",
  65. "_score": 3.710832,
  66. "_source": {
  67. "geometry": {
  68. "coordinates": [
  69. 35.2760929,
  70. 32.912814000000004
  71. ],
  72. "type": "Point"
  73. },
  74. "properties": {
  75. "name": "חנות מתנות",
  76. "shop": "gift",
  77. "name:en": "Gift shop",
  78. "name:he": "חנות מתנות",
  79. "osm_id": 1425183128,
  80. "search_factor": 0.5,
  81. "icon": ""
  82. },
  83. "type": "Feature"
  84. }
  85. },
  86. {
  87. "_index": "osm",
  88. "_type": "feature",
  89. "_id": "LineString_145251052",
  90. "_score": 3.2932615,
  91. "_source": {
  92. "geometry": {
  93. "coordinates": [
  94. [
  95. 34.7982067,
  96. 32.0159722
  97. ],
  98. [
  99. 34.797727300000005,
  100. 32.0161991
  101. ]
  102. ],
  103. "type": "LineString"
  104. },
  105. "properties": {
  106. "name": "מנוח",
  107. "source": "bing",
  108. "highway": "residential",
  109. "name:en": "Manoh",
  110. "name:he": "מנוח",
  111. "osm_id": 145251052,
  112. "search_factor": 0.5,
  113. "icon": ""
  114. },
  115. "type": "Feature"
  116. }
  117. },
  118. {
  119. "_index": "osm",
  120. "_type": "feature",
  121. "_id": "Polygon_91936684",
  122. "_score": 3.2403934,
  123. "_source": {
  124. "geometry": {
  125. "coordinates": [
  126. [
  127. [
  128. 35.1970412,
  129. 33.0414952
  130. ],
  131. [
  132. 35.1955242,
  133. 33.0415092
  134. ],
  135. [
  136. 35.192363400000005,
  137. 33.040236
  138. ],
  139. [
  140. 35.190432200000004,
  141. 33.0395525
  142. ],
  143. [
  144. 35.190217700000005,
  145. 33.0384732
  146. ],
  147. [
  148. 35.1916339,
  149. 33.0374659
  150. ],
  151. [
  152. 35.1936509,
  153. 33.037322
  154. ],
  155. [
  156. 35.1912905,
  157. 33.036098800000005
  158. ],
  159. [
  160. 35.191326600000004,
  161. 33.035344200000004
  162. ],
  163. [
  164. 35.1923618,
  165. 33.035192200000004
  166. ],
  167. [
  168. 35.19614,
  169. 33.0362067
  170. ],
  171. [
  172. 35.196869500000005,
  173. 33.037358000000005
  174. ],
  175. [
  176. 35.1969554,
  177. 33.0382574
  178. ],
  179. [
  180. 35.1985432,
  181. 33.0394086
  182. ],
  183. [
  184. 35.1996161,
  185. 33.0405238
  186. ],
  187. [
  188. 35.1970412,
  189. 33.0414952
  190. ]
  191. ]
  192. ],
  193. "type": "Polygon"
  194. },
  195. "properties": {
  196. "landuse": "residential",
  197. "name": "מנות",
  198. "name:en": "Manot",
  199. "name:he": "מנות",
  200. "place": "village",
  201. "place_name:en": "Manot",
  202. "lat": "33.0383637",
  203. "lng": "35.1946918",
  204. "source": "GEOnet Names Server (gns)",
  205. "gns_ref": "-780573",
  206. "name:en1": "Al Manawat",
  207. "name:en2": "El Manaouat",
  208. "osm_id": 91936684,
  209. "search_factor": 1,
  210. "icon": "http://www.sjjb.co.uk/mapicons/png/accommodation_alpinehut.p.16.png"
  211. },
  212. "type": "Feature"
  213. }
  214. },
  215. {
  216. "_index": "osm",
  217. "_type": "feature",
  218. "_id": "LineString_93176705",
  219. "_score": 3.1428368,
  220. "_source": {
  221. "geometry": {
  222. "coordinates": [
  223. [
  224. 34.979326,
  225. 31.748402700000003
  226. ],
  227. [
  228. 34.979275,
  229. 31.7483137
  230. ],
  231. [
  232. 34.9792348,
  233. 31.748183700000002
  234. ],
  235. [
  236. 34.979205300000004,
  237. 31.748024100000002
  238. ],
  239. [
  240. 34.979205300000004,
  241. 31.747862100000003
  242. ],
  243. [
  244. 34.9792482,
  245. 31.747748100000003
  246. ],
  247. [
  248. 34.9793448,
  249. 31.747636300000003
  250. ],
  251. [
  252. 34.979427900000005,
  253. 31.747581600000004
  254. ],
  255. [
  256. 34.9795996,
  257. 31.747517700000003
  258. ],
  259. [
  260. 34.979779300000004,
  261. 31.747490300000003
  262. ],
  263. [
  264. 34.9798946,
  265. 31.7474835
  266. ],
  267. [
  268. 34.980001900000005,
  269. 31.7474744
  270. ],
  271. [
  272. 34.9801334,
  273. 31.747472100000003
  274. ],
  275. [
  276. 34.980235300000004,
  277. 31.747501800000002
  278. ],
  279. [
  280. 34.980398900000004,
  281. 31.7475154
  282. ]
  283. ],
  284. "type": "LineString"
  285. },
  286. "properties": {
  287. "name": "מנוח",
  288. "highway": "residential",
  289. "name:en": "Manoh",
  290. "name:he": "מנוח",
  291. "osm_id": 93176705,
  292. "search_factor": 0.5,
  293. "icon": ""
  294. },
  295. "type": "Feature"
  296. }
  297. },
  298. {
  299. "_index": "osm",
  300. "_type": "feature",
  301. "_id": "Polygon_92387602",
  302. "_score": 3.0439765,
  303. "_source": {
  304. "geometry": {
  305. "coordinates": [
  306. [
  307. [
  308. 34.748806200000004,
  309. 31.8031994
  310. ],
  311. [
  312. 34.7485488,
  313. 31.802105200000003
  314. ],
  315. [
  316. 34.7491925,
  317. 31.800901600000003
  318. ],
  319. [
  320. 34.7524478,
  321. 31.799544500000003
  322. ],
  323. [
  324. 34.753691700000005,
  325. 31.7995781
  326. ],
  327. [
  328. 34.754521000000004,
  329. 31.8001487
  330. ],
  331. [
  332. 34.7544711,
  333. 31.8019958
  334. ],
  335. [
  336. 34.7536128,
  337. 31.805570000000003
  338. ],
  339. [
  340. 34.7519933,
  341. 31.805037600000002
  342. ],
  343. [
  344. 34.750908200000005,
  345. 31.804977500000003
  346. ],
  347. [
  348. 34.7499527,
  349. 31.804802100000003
  350. ],
  351. [
  352. 34.7497504,
  353. 31.8040017
  354. ],
  355. [
  356. 34.748806200000004,
  357. 31.8031994
  358. ]
  359. ]
  360. ],
  361. "type": "Polygon"
  362. },
  363. "properties": {
  364. "landuse": "residential",
  365. "name": "כנות",
  366. "name:en": "Kannot",
  367. "name:he": "כנות",
  368. "place": "village",
  369. "place_name:en": "Kannot",
  370. "lat": "31.8025261",
  371. "lng": "34.752106",
  372. "source": "GEOnet Names Server (gns)",
  373. "gns_ref": "-780324",
  374. "accuracy": "minutes",
  375. "osm_id": 92387602,
  376. "search_factor": 1,
  377. "icon": "http://www.sjjb.co.uk/mapicons/png/accommodation_alpinehut.p.16.png"
  378. },
  379. "type": "Feature"
  380. }
  381. },
  382. {
  383. "_index": "osm",
  384. "_type": "feature",
  385. "_id": "Polygon_91245311",
  386. "_score": 3.0439765,
  387. "_source": {
  388. "geometry": {
  389. "coordinates": [
  390. [
  391. [
  392. 35.2358301,
  393. 32.856500000000004
  394. ],
  395. [
  396. 35.2352581,
  397. 32.856630100000004
  398. ],
  399. [
  400. 35.2348172,
  401. 32.8566001
  402. ],
  403. [
  404. 35.2339592,
  405. 32.856049500000005
  406. ],
  407. [
  408. 35.2337924,
  409. 32.855549
  410. ],
  411. [
  412. 35.2334826,
  413. 32.8553988
  414. ],
  415. [
  416. 35.2330774,
  417. 32.8551485
  418. ],
  419. [
  420. 35.232851000000004,
  421. 32.8540073
  422. ],
  423. [
  424. 35.2333753,
  425. 32.853827100000004
  426. ],
  427. [
  428. 35.2350675,
  429. 32.8516248
  430. ],
  431. [
  432. 35.2361519,
  433. 32.851454600000004
  434. ],
  435. [
  436. 35.2366881,
  437. 32.8521653
  438. ],
  439. [
  440. 35.237367400000004,
  441. 32.8520752
  442. ],
  443. [
  444. 35.2379394,
  445. 32.8513344
  446. ],
  447. [
  448. 35.239000000000004,
  449. 32.8517949
  450. ],
  451. [
  452. 35.239143000000006,
  453. 32.8521353
  454. ],
  455. [
  456. 35.2391491,
  457. 32.8526784
  458. ],
  459. [
  460. 35.238774,
  461. 32.853097600000005
  462. ],
  463. [
  464. 35.238472,
  465. 32.8532083
  466. ],
  467. [
  468. 35.238702100000005,
  469. 32.854497900000005
  470. ],
  471. [
  472. 35.2386782,
  473. 32.8549183
  474. ],
  475. [
  476. 35.2383207,
  477. 32.8551285
  478. ],
  479. [
  480. 35.2363664,
  481. 32.855539
  482. ],
  483. [
  484. 35.236426,
  485. 32.8559994
  486. ],
  487. [
  488. 35.2359136,
  489. 32.856179600000004
  490. ],
  491. [
  492. 35.2358301,
  493. 32.856500000000004
  494. ]
  495. ]
  496. ],
  497. "type": "Polygon"
  498. },
  499. "properties": {
  500. "name": "מנוף",
  501. "place": "village",
  502. "landuse": "residential",
  503. "name:he": "מנוף",
  504. "place_name:en": "Manof",
  505. "lat": "32.854132",
  506. "lng": "35.2367701",
  507. "name:en": "Manof",
  508. "osm_id": 91245311,
  509. "search_factor": 1,
  510. "icon": "http://www.sjjb.co.uk/mapicons/png/accommodation_alpinehut.p.16.png"
  511. },
  512. "type": "Feature"
  513. }
  514. },
  515. {
  516. "_index": "osm",
  517. "_type": "feature",
  518. "_id": "LineString_8008029",
  519. "_score": 2.9686656,
  520. "_source": {
  521. "geometry": {
  522. "coordinates": [
  523. [
  524. 35.3224493,
  525. 32.699934500000005
  526. ],
  527. [
  528. 35.3223937,
  529. 32.6995181
  530. ],
  531. [
  532. 35.3221605,
  533. 32.6990343
  534. ],
  535. [
  536. 35.3220022,
  537. 32.6984349
  538. ]
  539. ],
  540. "type": "LineString"
  541. },
  542. "properties": {
  543. "name": "גנות",
  544. "highway": "residential",
  545. "name:en": "Ganot",
  546. "name:he": "גנות",
  547. "osm_id": 8008029,
  548. "search_factor": 0.5,
  549. "icon": ""
  550. },
  551. "type": "Feature"
  552. }
  553. },
  554. {
  555. "_index": "osm",
  556. "_type": "feature",
  557. "_id": "Polygon_401241636",
  558. "_score": 2.9686656,
  559. "_source": {
  560. "geometry": {
  561. "coordinates": [
  562. [
  563. [
  564. 34.825009200000004,
  565. 32.0209209
  566. ],
  567. [
  568. 34.8244604,
  569. 32.0211697
  570. ],
  571. [
  572. 34.8240855,
  573. 32.0206844
  574. ],
  575. [
  576. 34.8244502,
  577. 32.0204842
  578. ],
  579. [
  580. 34.824139100000004,
  581. 32.020074900000004
  582. ],
  583. [
  584. 34.823667,
  585. 32.020302300000004
  586. ],
  587. [
  588. 34.823034,
  589. 32.0193931
  590. ],
  591. [
  592. 34.8233629,
  593. 32.019150700000004
  594. ],
  595. [
  596. 34.8231628,
  597. 32.018874600000004
  598. ],
  599. [
  600. 34.8232057,
  601. 32.0185653
  602. ],
  603. [
  604. 34.8230984,
  605. 32.0181741
  606. ],
  607. [
  608. 34.823044800000005,
  609. 32.0178467
  610. ],
  611. [
  612. 34.8230732,
  613. 32.017704300000005
  614. ],
  615. [
  616. 34.8232701,
  617. 32.0175101
  618. ],
  619. [
  620. 34.824042500000004,
  621. 32.016973400000005
  622. ],
  623. [
  624. 34.824517300000004,
  625. 32.0173841
  626. ],
  627. [
  628. 34.8258664,
  629. 32.0163912
  630. ],
  631. [
  632. 34.826038100000005,
  633. 32.0165822
  634. ],
  635. [
  636. 34.826553100000005,
  637. 32.0161273
  638. ],
  639. [
  640. 34.825984500000004,
  641. 32.015526900000005
  642. ],
  643. [
  644. 34.8292852,
  645. 32.013174
  646. ],
  647. [
  648. 34.829925200000005,
  649. 32.013854900000005
  650. ],
  651. [
  652. 34.829297000000004,
  653. 32.014302
  654. ],
  655. [
  656. 34.8325146,
  657. 32.0175405
  658. ],
  659. [
  660. 34.8331798,
  661. 32.0170857
  662. ],
  663. [
  664. 34.832636300000004,
  665. 32.016500300000004
  666. ],
  667. [
  668. 34.8332801,
  669. 32.016018200000005
  670. ],
  671. [
  672. 34.833866400000005,
  673. 32.0166036
  674. ],
  675. [
  676. 34.8350895,
  677. 32.0157212
  678. ],
  679. [
  680. 34.835511700000005,
  681. 32.0161273
  682. ],
  683. [
  684. 34.834982700000005,
  685. 32.0165363
  686. ],
  687. [
  688. 34.8354221,
  689. 32.0169493
  690. ],
  691. [
  692. 34.8342526,
  693. 32.017758900000004
  694. ],
  695. [
  696. 34.834303500000004,
  697. 32.017805800000005
  698. ],
  699. [
  700. 34.8348535,
  701. 32.0183138
  702. ],
  703. [
  704. 34.834531600000005,
  705. 32.0185594
  706. ],
  707. [
  708. 34.8338557,
  709. 32.017931700000005
  710. ],
  711. [
  712. 34.833018800000005,
  713. 32.0185048
  714. ],
  715. [
  716. 34.833448000000004,
  717. 32.0189869
  718. ],
  719. [
  720. 34.8330296,
  721. 32.019278
  722. ],
  723. [
  724. 34.832450200000004,
  725. 32.018714
  726. ],
  727. [
  728. 34.8321069,
  729. 32.018914200000005
  730. ],
  731. [
  732. 34.8322464,
  733. 32.019087
  734. ],
  735. [
  736. 34.8318601,
  737. 32.0193144
  738. ],
  739. [
  740. 34.8313773,
  741. 32.019751
  742. ],
  743. [
  744. 34.831538200000004,
  745. 32.0199057
  746. ],
  747. [
  748. 34.8307765,
  749. 32.0205061
  750. ],
  751. [
  752. 34.830089900000004,
  753. 32.0198693
  754. ],
  755. [
  756. 34.8301864,
  757. 32.0197874
  758. ],
  759. [
  760. 34.8294821,
  761. 32.0191202
  762. ],
  763. [
  764. 34.8279264,
  765. 32.020184
  766. ],
  767. [
  768. 34.8281968,
  769. 32.020457900000004
  770. ],
  771. [
  772. 34.8279371,
  773. 32.0206753
  774. ],
  775. [
  776. 34.8271432,
  777. 32.0199111
  778. ],
  779. [
  780. 34.8269071,
  781. 32.020093100000004
  782. ],
  783. [
  784. 34.8275616,
  785. 32.020729800000005
  786. ],
  787. [
  788. 34.8270466,
  789. 32.0211028
  790. ],
  791. [
  792. 34.8268245,
  793. 32.0208822
  794. ],
  795. [
  796. 34.8264243,
  797. 32.0211301
  798. ],
  799. [
  800. 34.827347,
  801. 32.022421800000004
  802. ],
  803. [
  804. 34.827111,
  805. 32.0224673
  806. ],
  807. [
  808. 34.8264887,
  809. 32.022731
  810. ],
  811. [
  812. 34.8257484,
  813. 32.0231768
  814. ],
  815. [
  816. 34.8253944,
  817. 32.0226765
  818. ],
  819. [
  820. 34.8258412,
  821. 32.0224527
  822. ],
  823. [
  824. 34.825437300000004,
  825. 32.021876
  826. ],
  827. [
  828. 34.8257983,
  829. 32.0216431
  830. ],
  831. [
  832. 34.825490900000005,
  833. 32.0212665
  834. ],
  835. [
  836. 34.825308500000006,
  837. 32.0213575
  838. ],
  839. [
  840. 34.825009200000004,
  841. 32.0209209
  842. ]
  843. ]
  844. ],
  845. "type": "Polygon"
  846. },
  847. "properties": {
  848. "landuse": "residential",
  849. "note": "fixme as its very unaccurate",
  850. "place": "village",
  851. "place_name": "גנות",
  852. "place_name:en": "Gannot",
  853. "lat": "32.018733",
  854. "lng": "34.829012",
  855. "name": "גנות",
  856. "source": "GEOnet Names Server (gns)",
  857. "gns_ref": "-779820",
  858. "name:en": "Gannot",
  859. "name:he": "גנות",
  860. "accuracy": "minutes",
  861. "name:en1": "Ganot",
  862. "osm_id": 401241636,
  863. "search_factor": 1,
  864. "icon": "http://www.sjjb.co.uk/mapicons/png/accommodation_alpinehut.p.16.png"
  865. },
  866. "type": "Feature"
  867. }
  868. },
  869. {
  870. "_index": "osm",
  871. "_type": "feature",
  872. "_id": "Point_1543978013",
  873. "_score": 2.7369533,
  874. "_source": {
  875. "geometry": {
  876. "coordinates": [
  877. 34.997482600000005,
  878. 32.819574200000005
  879. ],
  880. "type": "Point"
  881. },
  882. "properties": {
  883. "name": "מתנות",
  884. "shop": "gift",
  885. "osm_id": 1543978013,
  886. "search_factor": 0.5,
  887. "icon": ""
  888. },
  889. "type": "Feature"
  890. }
  891. }
  892. ]
  893. }
  894. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement