Hi,
A very simple question:
I'm trying to search a content and restrict it inside a Site but I don't know how to do.
For example if I try to search in site commerce and name Valencia I try this lucene query in home search and home advanced search but it doesn't work:
PATH:"/app:company_home/st:sites/cm:COMMERCE" AND @cm\:name:'Valencia'
I know that I can access site Commerce and use site search dashlet, but I want to do the same from Alfresco home search
Thanks
Hi:
You can search in a site context from:
- Site context defined in Alfresco search (combo selection)
- Site facet in Alfresco search results
- Live query search can search in one site in recent Alfresco 5.2 versions
By the way, your query should be something like:
PATH:"/app:company_home/st:sites/cm:COMMERCE//*" AND @cm\:name:'*Valencia*'
Regards.
--C.
I didn't find it in the docs (couldn't verify) but if I want to search in my "testsite", I use
SITE:"testsite"
in the query - I used it since 5.0 and can't say if it worked before. This should work in Share and the Search-API.
For you the query could be
SITE:"COMMERCE" cm:name:"*Valencia"
this is an alfresco FTS query.
Just here Martin Ehe (hidden in RM documentation):
Search for fields | Alfresco Documentation
Alfresco Full Text Search Reference | Alfresco Documentation
Regards.
--C.
Thanks , have to bookmark that...
SITE:savvas-asset-library AND @nameAL101033062.jpg
select lucene dropdown list.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.