cancel
Showing results for 
Search instead for 
Did you mean: 

How the xml content is indexed?

jeyaa
Champ in-the-making
Champ in-the-making
Hi all,

When am going through indexing i have a doubt on my mind that, how indexing is happened in XML. While adding xml content will be transformed into a text format. So how could the tags been indexed.

Eg : If I have an xml called sample.xml

<try>my sample</try>

According to me it should be indexed as
<try>
my
sample
</try>

Is my understanding right?
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Yes.

We consider from time to time whether we should add an XML database to Alfresco.   However it never gets onto the "must have" list.

jeyaa
Champ in-the-making
Champ in-the-making
Thanks Rogers,

Thanks Rogers,

If that is how the index is happening, then I want to avoid searching the xml elements from the text search.

ie., 

If should exclude the xml element "<try>" in the above example. Is that possible?  Please provide me some suggestions to achieve this.