search properties using Lucene search

cancel
Showing results for 
Search instead for 
Did you mean: 
faispis
Member II

search properties using Lucene search

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"

 

node search.pngproperties.png

 

 

1 Reply
abhinavmishra14
Advanced

Re: search properties using Lucene search

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, GAIQ)