Custom Lucene Sharding with Hibernate Search [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 months ago.
Improve this question 开发者_如何转开发Has anyone experience with custom Lucene sharding / paritioning using Hibernate Search?
The documentation of Hibernate Search says the following about Lucene Sharding :
In some cases, it is necessary to split (shard) the indexing data of a given entity type into several Lucene indexes. This solution is not recommended unless there is a pressing need because by default, searches will be slower as all shards have to be opened for a single search. In other words don't do it until you have problems :)
Has anyone implemented sharding in such a way for Hibernate Search that also queries can be target to one of the shards?
In our case we have Lucene queries that should target only one shard per query.
精彩评论