plugin-descriptor.properties 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # Elasticsearch plugin descriptor file
  2. # This file must exist as 'plugin-descriptor.properties' at
  3. # the root directory of all plugins.
  4. #
  5. # A plugin can be 'site', 'jvm', or both.
  6. #
  7. ### example site plugin for "foo":
  8. #
  9. # foo.zip <-- zip file for the plugin, with this structure:
  10. # _site/ <-- the contents that will be served
  11. # plugin-descriptor.properties <-- example contents below:
  12. #
  13. # site=true
  14. # description=My cool plugin
  15. # version=1.0
  16. #
  17. ### example jvm plugin for "foo"
  18. #
  19. # foo.zip <-- zip file for the plugin, with this structure:
  20. # <arbitrary name1>.jar <-- classes, resources, dependencies
  21. # <arbitrary nameN>.jar <-- any number of jars
  22. # plugin-descriptor.properties <-- example contents below:
  23. #
  24. # jvm=true
  25. # classname=foo.bar.BazPlugin
  26. # description=My cool plugin
  27. # version=2.0.0-rc1
  28. # elasticsearch.version=2.0
  29. # java.version=1.7
  30. #
  31. ### mandatory elements for all plugins:
  32. #
  33. # 'description': simple summary of the plugin
  34. description=IK Analyzer for Elasticsearch
  35. #
  36. # 'version': plugin's version
  37. version=5.6.16
  38. #
  39. # 'name': the plugin name
  40. name=analysis-ik
  41. ### mandatory elements for site plugins:
  42. #
  43. # 'site': set to true to indicate contents of the _site/
  44. # directory in the root of the plugin should be served.
  45. site=${elasticsearch.plugin.site}
  46. #
  47. ### mandatory elements for jvm plugins :
  48. #
  49. # 'jvm': true if the 'classname' class should be loaded
  50. # from jar files in the root directory of the plugin.
  51. # Note that only jar files in the root directory are
  52. # added to the classpath for the plugin! If you need
  53. # other resources, package them into a resources jar.
  54. jvm=true
  55. #
  56. # 'classname': the name of the class to load, fully-qualified.
  57. classname=org.elasticsearch.plugin.analysis.ik.AnalysisIkPlugin
  58. #
  59. # 'java.version' version of java the code is built against
  60. # use the system property java.specification.version
  61. # version string must be a sequence of nonnegative decimal integers
  62. # separated by "."'s and may have leading zeros
  63. java.version=1.8
  64. #
  65. # 'elasticsearch.version' version of elasticsearch compiled against
  66. # You will have to release a new version of the plugin for each new
  67. # elasticsearch release. This version is checked when the plugin
  68. # is loaded so Elasticsearch will refuse to start in the presence of
  69. # plugins with the incorrect elasticsearch.version.
  70. elasticsearch.version=5.6.16
  71. #
  72. ### deprecated elements for jvm plugins :
  73. #
  74. # 'isolated': true if the plugin should have its own classloader.
  75. # passing false is deprecated, and only intended to support plugins
  76. # that have hard dependencies against each other. If this is
  77. # not specified, then the plugin is isolated by default.
  78. isolated=${elasticsearch.plugin.isolated}
  79. #