How to pass two multiple query params to from ADF to search the two params in ACS by using search api

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

How to pass two multiple query params to from ADF to search the two params in ACS by using search api

Hello Everyone,

  I'am working on ADF integrated with ACS.I made custom UI in ADF in that i'am using a text field to search in ACS (using Search API).By using this simple query 


{
"query": {
"query": "moh:name:Raghu"
},
"include": [ "properties"]

}

I'am able to get the Data.Please help me how to pass two query param's like moh:fatherName,moh:name to the query .

1 Reply
dvuika
Alfresco Employee

Re: How to pass two multiple query params to from ADF to search the two params in ACS by using search api

Search can be a very complex area, so I suggest reading documentation first.

Available api and docs: Alfresco Content Services REST API Explorer 

Reference: Alfresco Full Text Search Reference | Alfresco Documentation 

In your case it might be:

(moh:name:"FirstName" AND moh:fatherName:"Some value")

But please read the docs before raising questions on how the search works