AnsweredAssumed Answered

Indexing XML on Alfresco 5.1.x

Question asked by pcuvecle2 on Jul 30, 2018
Latest reply on Sep 7, 2018 by pcuvecle2

Hi,

 

I am using Alfresco 5.1 and I have XML files to index. My XML contains tags such as

<paragraph eId="id-00000967-2e30-ecab-ad49-685fecd94436">
   <content>
      <p>Some text</p>
   </content>
</paragraph>

I would like to be able to discard XML attribute such as eId during indexing. For now if I search for eca (that is a substring of the eId) I get some results.

I've seen that I could use <charFilter class="solr.HTMLStripCharFilterFactory"/> in SOLR schema.xml but so far this does not seem to give any results.


Does someone know how to achieve this ?

 

Thanks !

Outcomes