I am using the Document Library of SharePoint online for document storage. I have added certain custom columns to the SharePoint Document Library to store additional metadata for a document.
Now, I want to do fulltext search in SharePoint through REST API's. We are able to do full text search on the custom column data. However, one more requirement is to filter the results based on certain columns like 'ASSET TYPE = image'.
How can i achieve this functionality? my current query is as follows:
_api/search/query?querytext='(cloud computing)'&querytemplate='{searchTerms} path:"https://DOMAIN_NAME.sharepoint.com/sites/LOREM_IPSUM/Shared%20Documents" ContentTypeId:0x0* IsDocument:true'&SummaryLength=100&RowLimit=500&culture=1033&BypassResultTypes=true&EnableQueryRules=false&ProcessBestBets=false&ProcessPersonalFavorites=false&properties='EnableDynamicGroups:true'