I am looking for the elegant solution where script can serve the purpose.
Some of my conditions are like this :-
changing the name of the field, Some script should run as part of the query
itself and should return the modified field name.
For example
Data indexed in elasticsearch :- _myField=_myValue
I want to change the _myField to _newField so the query should
be constructed in such a way that response returned by Elasticsearch should
have _newField = _myValue in the response object.
I trying to find the script that can run dynamically that changes this
value, but not able to get that. Can anybody help on this scenarios?????
I am looking for the elegant solution where script can serve the purpose.
Some of my conditions are like this :-
changing the name of the field, Some script should run as part of the query
itself and should return the modified field name.
For example
Data indexed in elasticsearch :- _myField=_myValue
I want to change the _myField to _newField so the query should be
constructed in such a way that response returned by Elasticsearch should
have _newField = _myValue in the response object.
I trying to find the script that can run dynamically that changes this
value, but not able to get that. Can anybody help on this scenarios?????
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.