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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

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

c# - Search and Add Comment with OpenXML for Word -