cancel
Showing results for 
Search instead for 
Did you mean: 

search properties using Lucene search

faispis
Champ in-the-making
Champ in-the-making

Hi,

I have some questions on the search . I want to search properties managepermissionSmiley TongueermissionName = "FAIS". how i can do that?

search syntax:-

PATH:"//app:company_home/cm:AHMAD"

imageimage

1 REPLY 1

abhinavmishra14
World-Class Innovator
World-Class Innovator

Always use FTS. Refer the documentation: https://docs.alfresco.com/search-services/latest/using/

Here are some examples:

Approach 1 [Search on the repository with exact match]: 

=@managepermission:permissionName:"FAIS"

another example based on name:

=@cm:name:"AHMAD"

Approach 2 [Search on the site (here site name is 'test') documentlibrary with exact match]: 

PATH:"/app:company_home/st:sites/cm:test/cm:documentLibrary//*" AND =@managepermission:permissionName:"FAIS"

Based on name:

PATH:"/app:company_home/st:sites/cm:test/cm:documentLibrary//*" AND =@cm:name:"AHMAD"

Approach 3 [Search on the site (here site name is 'test') documentlibrary and specified content type with exact match]: 

PATH:"/app:company_home/st:sites/cm:test/cm:documentLibrary//*" AND (TYPE:managepermission:managepermission AND =@managepermission:permissionName:"FAIS")


PATH:"/app:company_home/st:sites/cm:test/cm:documentLibrary//*" AND (TYPE:cm:content AND =@cm:name:"AHMAD")
~Abhinav
(ACSCE, AWS SAA, Azure Admin)