36 lines
1.2 KiB
Groovy
36 lines
1.2 KiB
Groovy
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
apply plugin: 'elasticsearch.yaml-rest-test'
|
|
apply plugin: 'elasticsearch.yaml-rest-compat-test'
|
|
apply plugin: 'elasticsearch.internal-cluster-test'
|
|
|
|
esplugin {
|
|
description 'Adds "built in" analyzers to Elasticsearch.'
|
|
classname 'org.elasticsearch.analysis.common.CommonAnalysisPlugin'
|
|
extendedPlugins = ['lang-painless']
|
|
}
|
|
|
|
restResources {
|
|
restApi {
|
|
include '_common', 'indices', 'index', 'cluster', 'search', 'nodes', 'bulk', 'termvectors', 'explain', 'count'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly project(':modules:lang-painless')
|
|
}
|
|
|
|
tasks.named("yamlRestCompatTest").configure {
|
|
systemProperty 'tests.rest.blacklist', [
|
|
'search.query/50_queries_with_synonyms/Test common terms query with stacked tokens',
|
|
'indices.analyze/10_analyze/htmlStrip_deprecated',
|
|
'analysis-common/40_token_filters/delimited_payload_filter_error',
|
|
'analysis-common/20_analyzers/standard_html_strip'
|
|
].join(',')
|
|
}
|