Where is the spatial (geo based) search functionality in RHDG 8.1?
Issue
- When migrating from RHDG 7 to RHDG 8.1+ the spatial search can not be found
- The following code can not be migrated to RHDG 8.1+, what is the related search using Ickle?
Query query = Search.getSearchManager(geoCache)
.buildQueryBuilderForClass(Location.class)
.get().spatial()
.within(param.getPerimeter(), Unit.KM)
.ofLatitude(param.getPoint().getY())
.andLongitude(param.getPoint().getX())
.createQuery();
CacheQuery cacheQuery = Search.getSearchManager(geoCache).getQuery(query,Location.class);
Environment
- Red Hat Data Grid (RHDG)
- 8.1, 8.2, 8.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.