performance - Restrict Elasticsearch/Lucene results (security-wise) -


i have index 100k documents. user may search index must results documents has access. list of documents user has authorization on provided system , volatile, cannot store information in document.

a suggested solution use filtered query using filter documents user has authorization on. know filters cachable , all, if user should have access eg 50k of documents not seem efficient include 50k clauses in filtered query restrict result every time.

so questions are: should request size concern me? there more approriate way achieve task @ hand?


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -