欢迎来到天天文库
浏览记录
ID:18913028
大小:211.59 KB
页数:10页
时间:2018-09-20
《Search with Polygons Another Approach to Solr Geospatial Search》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、SearchwithPolygonsAnotherApproachtoSolrGeospatialSearchDr.AndrewL.UrquhartMay10,2012Copyright©2012RaytheonCompany.Allrightsreserved.CustomerSuccessIsOurMissionisaregisteredtrademarkofRaytheonCompany.Whatisthe“BurningPlatform”?Needtobreakdependencyonexpen
2、sivelicensesforproprietarydatabase–Majorcostdriver–UnsustainableincurrenteconomicenvironmentSolridentifiedaspromisingreplacementcandidate–Excellentcost–Excellentperformance–Excellentaccesstosourcecode–MajorweaknessinrequiredGeospatialSearchcapability–IsG
3、eospatialSearchweaknessmitigationpossible?MustindexpointsforsearchbypolygonsShouldindexpolygonsforsearchbypolygonsSolrpromising,PolygonGeospatialSearchneeded5/16/122WhatHasBeenProduced?Asingleadd-inJARfileplusSchemaenhancements–OldervariantrequiresaGPL
4、libraryforpoint-in-polygonsupport–NewervariantrequiresnoexternallibrariesInternalsuseinherentthree-dimensionalmathematics–LUCENE-3795/“LuceneSpatialPlayground”geospatialsearchcapabilityusesJTSlibraryforpolygonsupport–JTSusestwo-dimensionalmathematics–JTS
5、hasgreatervulnerabilitytospecialpointsNorthandSouthPoles180°meridianPotentialproblemforcustomerapplications–JTSsupportscomplexpolygonsAlternativeapproachonlysupportssimplepolygonsatthistimeSingleJARfileusing3-Dinternalmathematics5/16/123WhatistheMagic
6、?Variantgeohashcoding–64-bitlongintegersinsteadofstrings–ThreemostsignificantbitsforoctantsofEarth’ssurfaceDividingatequator,primemeridian,90°E/Wmeridians,180°meridian–Followedbythree-bitgroupsOnestop/continuebitOnenorth/southsplitbitOneeast/westspli
7、tbit–Allowsprecisiondownto10cm×10cmsquaresatequator–Producesvarious-size“tiles”representingpartsofEarth’ssurfacePointsindexedbythesmallesttilewhichcontainsthepointE/WN/SE/WC/SN/SE/WC/SN/SE/WC/SN/SE/WC/SN/SE/WIndexingusing64-bitintegersfortrie-drivensearc
8、h5/16/124WhatAboutPolygons?Polygonsindexedascollectionoftilesinsidepolygon–Largertilescompletelycontainedinindexedpolygonarenotsubdivided–SmallestindexedtilesmayextendoutsideindexedpolygonPolygonsindexedwithserieso
此文档下载收益归作者所有