cancel
Showing results for 
Search instead for 
Did you mean: 

mimetype

koolalfdev
Champ in-the-making
Champ in-the-making
Hi All,

I am trying to make a lucene query as  store.luceneSearch("TYPE:\"{http://www.alfresco.org/model/content/1.0}content\"" + " AND " + ("@cm\\:abstract.mimetype:" + "test/xml") and get xml files under a folder iin wcm but it does not give me any results back. Does anyone know why?

thanks.
1 REPLY 1

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

Try the following



TYPE:"{http://www.alfresco.org/model/content/1.0}content" AND @cm\:content.mimetype:"text/xml"


You could run this lucene directly in the node browser. For running it in the code please add appropriate escape characters.

Best regards,
Shagul