cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying search query for Full Text Search

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

Alfresco search will search also the contents and I have a constraint that the search should not search and get the details if the search text is a XML tag.

For instance If I have a xml called Sample.xml,

<sample-xml>
      ABCDEFGH
</sample-xml>

If I enter the text "sample-xml", it should not retrieve Sample.xml.  Is it possible to modify Alfresco's search query if so please lemme know how to pursue. If I cant proceed in this way, please suggest me the best approach to find the solution.,
11 REPLIES 11

amitabhandari1
Champ in-the-making
Champ in-the-making
Hi Jeya,

In this case you might have to  check which Analyzer  is using for search.
You can also create your own Analyzers . You need analyzer which will consider "< >" also during search.

Thanks,

jeyaa
Champ in-the-making
Champ in-the-making
Thanks amita, will look on that prespective. Thanks once again.


Regards,
Jeya