Hi @08382095
To index specific document libraries, you can use the useQuery
parameter in the search indexing pipeline. The useQuery
parameter allows you to specify a KQL query that filters the documents to be indexed. Here’s an example of how you can use the useQuery
parameter to index multiple document libraries:
{
"name": "indexer-name",
"dataSourceName": "datasource-name",
"targetIndexName": "index-name",
"parameters": {
"configuration": {
"useQuery": "path:\"https://your-sharepoint-site.sharepoint.com/sites/your-site-name/DocumentLibrary1\" OR path:\"https://your-sharepoint-site.sharepoint.com/sites/your-site-name/DocumentLibrary2\""
}
}
}
In the above example, the useQuery
parameter specifies a KQL query that filters documents based on the path of the document library. You can modify the query to include the paths of the document libraries that you want to index
-Grace