I’m guessing that it’s impractical to self-host something big enough to be useful.
You take the search engine docker image and keep scaling the number of nodes that are running it in the cluster till your search result time is fast enough for you.
Now someone just needs to configure, Apache Lucene as a proper docker image that can consume this index.