I need to use the Suggester when I enable the DLS

When I enable the security and want to use the Suggester, I get this error:

org.elasticsearch.ElasticsearchException: Elasticsearch exception [type=security_exception, reason=Suggest isn't supported if document level security is enabled]

How to do the Suggester when I enable the security?
Thank you.

Hi @sjp.jamalian, thanks for reaching out to Elastic Security! I believe your question is better directed at Elasticsearch

Does anyone have any ideas?

It's not possible to use suggesters alongside DLS.

Thank you for your response,

What is your recommendation to use suggestion when we enable the security?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.