Skip to content

Instantly share code, notes, and snippets.

@hlwanghl
Created May 14, 2019 12:00
Show Gist options
  • Save hlwanghl/f24f0a2da645751784185fb6d7c6b8ba to your computer and use it in GitHub Desktop.
Save hlwanghl/f24f0a2da645751784185fb6d7c6b8ba to your computer and use it in GitHub Desktop.
Elasticsearch File Policy
grant {
permission java.io.FilePermission "/data/elasticsearch/analysis/synonym.txt", "read";
};
-Djava.security.policy=file:///opt/elasticsearch/config/dicts.policy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment