elasticsearch


Copy one column in elasticsearch index into another column applying analyzers


I am using logstash jdbc plugin to insert data from db to already created custom index in elastic search. I have some columns in the index which are analyzed using custom analyzers.
For example I am getting column1 from database which is not analyzed. I have created two columns column2 and column3 for which analyzers are applied while creating an index. Now I want the same data of column1 to be copied into column2 and column3 while the data is being inserted.
I am using the following pattern while creating index:
"mappings": {
"itemsnew": {
"properties": {
"column1": {
"type": "string",
"copy_to": "column2",
"copy_to": "column3"
},
"column2": {
"index_analyzer": "custom analyzer",
"search_analyzer": "standard",
"type": "string"
}
}
}
Will the data get inserted into the column2 and column3 and will it be analyzed ?

Related Links

Why Elasticsearch snapshot stats number_of_files differs from actual indices count?
Specifying data type and analyzer while creating index
elasticsearch regroups aggs by regex
get unique values from elasticsearch
Elasticsearch dies on primary node at random times. What should I look for in troubleshooting?
elasticsearch problems with queries
Normalize elasticsearch query/results
ElasticSearch max shard size
Elasticsearch: Group results of different types in response structure
Storing data in Elasticsearch - OLTP
Elasticsearch + Shield, security_exception happens when Document Level Security is enabled
ElasticSearch Parent/Child Restriction
How to configure kibana for multiple nodes in the same cluster?
Get latest records in elastic search
Put filtered mustache search template on AWS elasticsearch cluster using javascript API
Get Percentage of Values in Elasticsearch

Categories

HOME
php
events
xcode
kendo-dropdown
tcsh
command-prompt
hdfs
out-of-memory
moodle-api
tibco
supercollider
scheduler
azure-logic-apps
msmq
azure-graph-api
vimeo
buffer
orc
bundler
hidden
google-sites
maven-plugin
boomi
spam
multiple-tables
home
spring-shell
social-tables
anova
android-permissions
tracing
multi-dimensional-scaling
onchange
gravity-forms-plugin
bitbake
nic
opnet
om-next
ms-solver-foundation
cartopy
variable-variables
flipkart
pyttsx
google-prediction
code-push
aws-kinesis-firehose
entropy
spring.net
gnome-terminal
kendo-editor
instafeedjs
cognos-tm1
oracle-fusion-apps
ogg
libharu
e
nclam
decoder
traversable
facebook-ios-sdk
taco
currency-exchange-rates
psd
trust
certificate-authority
bjam
espresso
supersocket.net
vdm-sl
domino-designer-eclipse
physicsjs
kotlin-android-extensions
famo.us
igor
siena
prism.js
air-native-extension
accountmanager
cpu-time
meteorite
infinite
boinc
handshake
playorm
stretch
chronometer
telerik-ajax
system-information
java.lang.class
algol68
uploading
dynamic-c
azure-acs
multiple-users
main-method
xap
tso
icon-language
server-load

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile