Hi. I tried 3 methods. But it seems the performance of Hibernate Search is poor.
Did I miss something?
1. Hibernate Search with spatial search
2. Hibernate Search with spatial search with latitude/longitude distance where optimization
3. Hibernate ORM only with NamedStoreProcedure in MySQL with latitude/longitude distance where optimization
< 100000 meters
Quote:
hibernate search time is : 10980.0,71593
hibernate search time is : 11683.0,71593
procedure time is : 6836.0,71593
< 10000 meters
Quote:
hibernate search time is : 1019.0,7041
hibernate search time is : 1006.0,7041
procedure time is : 836.0,7041
< 1000 meters
Quote:
hibernate search time is : 406.0,702
hibernate search time is : 385.0,702
procedure time is : 21.0,702
< 100 meters
Quote:
hibernate search time is : 267.0,78
hibernate search time is : 263.0,78
procedure time is : 4.0,78
The first number is time in ms. The second number is the result list size. And there're 100000 records in the database.
It seems that it's with poorer performance with Hibernate Search compared with Hibernate ORM only with NamedStoreProcedure.
The gap is even bigger with low result list size.