2018-09-18 17:25:27 +08:00
|
|
|
/*
|
2021-02-03 05:41:39 +08:00
|
|
|
* 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.
|
2018-09-18 17:25:27 +08:00
|
|
|
*/
|
2021-08-31 14:45:52 +08:00
|
|
|
apply plugin: 'elasticsearch.internal-yaml-rest-test'
|
2021-04-09 05:11:50 +08:00
|
|
|
apply plugin: 'elasticsearch.yaml-rest-compat-test'
|
2020-07-29 05:43:17 +08:00
|
|
|
apply plugin: 'elasticsearch.internal-cluster-test'
|
2018-09-18 17:25:27 +08:00
|
|
|
|
|
|
|
esplugin {
|
|
|
|
description 'The Mapper Annotated_text plugin adds support for text fields with markup used to inject annotation tokens into the index.'
|
|
|
|
classname 'org.elasticsearch.plugin.mapper.AnnotatedTextPlugin'
|
|
|
|
}
|
2020-03-18 22:09:29 +08:00
|
|
|
|
|
|
|
restResources {
|
|
|
|
restApi {
|
2021-03-27 07:20:14 +08:00
|
|
|
include '_common', 'indices', 'index', 'search'
|
2020-03-18 22:09:29 +08:00
|
|
|
}
|
|
|
|
}
|
2021-06-09 06:04:23 +08:00
|
|
|
|
|
|
|
tasks.named('splitPackagesAudit').configure {
|
|
|
|
// TODO: rename this package to be annotated text specific
|
|
|
|
ignoreClasses 'org.elasticsearch.search.fetch.subphase.highlight.AnnotatedPassageFormatter',
|
|
|
|
'org.elasticsearch.search.fetch.subphase.highlight.AnnotatedTextHighlighter'
|
|
|
|
}
|