Getting full XML when searching ES documents


(Salvador G. Aguallo Perez) #1

Hello guys,
I'm working on a tool on php for a client where he writes a mobile phone number and we look for it in ES and retrieve everything we find for that number, problem is, some of those fields is an XML, and the php client removes all xml tags.

If I run a tcpdump I see ES is returning the full XML correctly, but PHP is removing all xml tags.
I'm using the Elasticsearch PHP Api: https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/index.html

Has anyone ran into this kind of behavior? How did you solve it?

Thanks in advance!


(system) #2

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