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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -