elasticsearch - what is the equivalent data type for geo_point in hibernate search? -




i using elastic search hibernate search.i want make 1 property data type geo_point ,so can draw tile map using kibana.is there equivalent data type in hibernate search geo_point in elastic search?

you can use spatial feature of hibernate search:

import org.hibernate.search.annotations.*;  @entity @indexed @spatial public class hotel {    @latitude   double latitude    @longitude   double longitude    // ... } 

you end geo_point field named location in document.

for more information: https://docs.jboss.org/hibernate/stable/search/reference/en-us/html_single/#spatial





wiki

Comments

  1. Wonderful article. I really appreciate how you addressed major problematic areas of concern to hiring a full-stack engineer in an enterprise. While training my hiring teams to hire the right professionals, I came across a wonderful platform, Eiliana.com. It was a great experience to hire a talent pool through easy-conveying of the requirements to the emerging platform offering services to business communities like us.

    ReplyDelete

Post a Comment

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -