We're updating the issue view to help you get more done. 

Search 6 groundwork - Restore support for (static) sharding

Description

Implement sharding:

  • When indexing, using the routing key provided by the mapper.

  • When querying, using the routing key provided by the user (note that we only need to target a superset of the documents with this routing key; if the users needs more, he'll need to use an additional predicate).

For Elasticsearch it might already be done (it’s quite easy, we just pass the key to ES), but there will be more work for Lucene.

Also, test sharding. See org.hibernate.search.v6poc.integrationtest.backend.tck.RoutingIT.

See also for dynamic sharding / "partitioning"

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Priority

Major