mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 13:08:29 +00:00
79b507dbf5
* ingest: Introduce the dissect processor The ingest node dissect processor is an alternative to Grok to split a string based on a pattern. Dissect differs from Grok such that regular expressions are not used to split the string. Dissect can be used to parse a source text field with a simpler pattern, and is often faster the Grok for basic string parsing. This processor uses the dissect library which does most of the work.
37 lines
1.4 KiB
Groovy
37 lines
1.4 KiB
Groovy
/*
|
|
* Licensed to Elasticsearch under one or more contributor
|
|
* license agreements. See the NOTICE file distributed with
|
|
* this work for additional information regarding copyright
|
|
* ownership. Elasticsearch licenses this file to you under
|
|
* the Apache License, Version 2.0 (the "License"); you may
|
|
* not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing,
|
|
* software distributed under the License is distributed on an
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
* KIND, either express or implied. See the License for the
|
|
* specific language governing permissions and limitations
|
|
* under the License.
|
|
*/
|
|
|
|
esplugin {
|
|
description 'Module for ingest processors that do not require additional security permissions or have large dependencies and resources'
|
|
classname 'org.elasticsearch.ingest.common.IngestCommonPlugin'
|
|
extendedPlugins = ['lang-painless']
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly project(':modules:lang-painless')
|
|
compile project(':libs:grok')
|
|
compile project(':libs:dissect')
|
|
}
|
|
|
|
compileJava.options.compilerArgs << "-Xlint:-unchecked,-rawtypes"
|
|
compileTestJava.options.compilerArgs << "-Xlint:-unchecked,-rawtypes"
|
|
|
|
integTestCluster {
|
|
module project(':modules:lang-painless')
|
|
} |