Replace document field value on querying

I've around 10 million plus docs in an index each having address field that contains ' in its value. I need to omit ' when I get records using query. Is it possible using Pattern Replace Char Filter?
I need to get records as we do in SQL like:
select replace( address, ''', '') from MYTABLE

Is their any method in query dsl?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.