cancel
Showing results for 
Search instead for 
Did you mean: 

Metadata Search WCM

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

I have the following requirement (search on WCM webproject only)

1. Given a path like /mywebapp/ROOT/first.pdf, should return a node which contains metadata.

2. Given type (newsarticle) should return node(s) which contains metadata like title, URL, description…etc.

3. Given a text (Hello World) should return all the nodes with the metadata.

I tried the text search but i could not get to the metadata.

Please let me know

Thanks,
Vijay
3 REPLIES 3

kevinr
Star Contributor
Star Contributor
Are you using the JavaScript/FreeMarker APIs to do this?

Kevin

vijay_alfresco
Champ in-the-making
Champ in-the-making
Hi Kevin,

I am using JCR JNDI API to achieve this, but there is no Lucene search available in JCR and I do not know about XPATH and SQL Search in JCR, I looked at the forums, but they are very abstract and could not follow.

If you can provide the XPATH search statements for the above, it would be great.

Thanks,
Vijay

vijay_alfresco
Champ in-the-making
Champ in-the-making
Please let me know how can i achieve this