├── .gitignore ├── src ├── main │ ├── resources │ │ └── es-plugin.properties │ └── java │ │ └── org │ │ └── elasticsearch │ │ ├── plugin │ │ └── view │ │ │ └── engine │ │ │ └── MustacheViewEnginePlugin.java │ │ └── view │ │ └── mustache │ │ └── MustacheViewEngineService.java ├── test │ ├── resources │ │ └── org │ │ │ └── elasticsearch │ │ │ └── test │ │ │ └── integration │ │ │ └── views │ │ │ └── mustache │ │ │ ├── config │ │ │ └── views │ │ │ │ ├── html.mustache │ │ │ │ ├── result.html │ │ │ │ └── result.html~ │ │ │ ├── test.sh │ │ │ ├── mappings │ │ │ └── product.json │ │ │ └── data │ │ │ └── products.json │ └── java │ │ └── org │ │ └── elasticsearch │ │ └── test │ │ └── integration │ │ └── views │ │ └── mustache │ │ └── MustacheViewTests.java └── assembly │ ├── zip.xml~ │ └── zip.xml ├── README.md ├── elasticsearch-view-mustache-plugin.iml └── pom.xml /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | target/ 3 | esticsearch-view-mustache-plugin.iml 4 | 5 | -------------------------------------------------------------------------------- /src/main/resources/es-plugin.properties: -------------------------------------------------------------------------------- 1 | plugin=org.elasticsearch.plugin.view.engine.MustacheViewEnginePlugin -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | elasticsearch-view-mustache-plugin 2 | ================================== 3 | 4 | ElasticSearch plugin that allows to use Mustache templates with the ElasticSearch View Plugin -------------------------------------------------------------------------------- /src/test/resources/org/elasticsearch/test/integration/views/mustache/config/views/html.mustache: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |Renault
14 |Renault
14 |