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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -