Hello,
I'm trying to search for a string in an xml file.
This XML contains:
<initialize communication="xxx" version="xxx" tdr="true"/>
1. When entering this search request
*xml path:diver path:xxx
the xml file is returned -> OK
2. When entering this search request
*xml path:diver path:xxx content:tdr
the xml file is not returned -> NOK
3. I copy this xml as a txt file
When entering this search request
*txt path:diver path:xxx content:tdr
the xml renamed as txt file is returned -> OK
Is there a restriction concerning searching in an xml file?
Thanks.
Problem when searching content in an XML file
Re: Problem when searching content in an XML file
This will likely have to do with the (Windows or third party) iFilter that is being used to extract this information for searching/indexing.
I guess "trd" is left out by the iFilter as it is not considered content/data, but part of the " structure" of the XML.
To bypass the XML iFilter and read the file as plain text, use utf8content: instead of content:
( or ansicontent: utf16content: utf16becontent: , depending on encoding of the files).
BTW: Are you using Everything 1.4 or 1.5?
Everything 1.5 has many more ways to handle this.
I guess "trd" is left out by the iFilter as it is not considered content/data, but part of the " structure" of the XML.
To bypass the XML iFilter and read the file as plain text, use utf8content: instead of content:
( or ansicontent: utf16content: utf16becontent: , depending on encoding of the files).
BTW: Are you using Everything 1.4 or 1.5?
Everything 1.5 has many more ways to handle this.
Re: Problem when searching content in an XML file
Thanks for your reply. Using 1.4 currently...