Reputation: 207
I'm using hibernate search and lucene index in infinispan. But the time for indexing is too long.
I'm trying to optimize the performance of indexing with tuning options.
I.e, set hibernate.search.[default|<indexname>].indexwriter.ram_buffer_size
to 64MB
.
I dont know how to set it in Infinispan, can someone give me a example for this solve that?
Upvotes: 2
Views: 707
Reputation: 733
I used this configuration, it is taken from upstream and should be optimized. However, I don't know which version of Infinispan are you using, this was for 6.x. The issue with indexing and queries is that performance is very configuration sensitive and it may took some time to tune it properly for your use case.
https://github.com/tsykora/infinispan-odata-server/blob/master/src/main/resources/indexing-perf.xml
Upvotes: 4