Hibernate Search and microService

How to create micro-service for indexing and another micro-service for searching using Hibernate Search and Spring boot.

I’m not an expert in micro services, and I doubt anyone here is, so you’re unlikely to get useful answers.

That being said, from what I know, micro-services are not supposed to share their datastore with each other, so I doubt what you’re trying to achieve (one service for indexing and one for searching) makes much sense.

I need to create micro-service for indexing because i don’t need to re-index data every time i run the service when i add feature in search like search by label , advanced search …etc.
So i need micro-service for indexing and other for search . @yrodiere