Product DocsMenu

What Is the Difference between a Collection and a Source?

Collections and sources are subdivisions of the index. Collections are groups of sources built around a theme (ex.: Human Resources and R&D collections); whereas, sources are groups of documents from a single repository (ex.: all documents from the Coveo website). Each collection and source has its own security permissions, meaning that it is possible to limit their access to subgroups of users.

Example: The Human Resources collection can be accessed only by HR employees, while the Salaries source within it can be accessed only by the directors of that department. Example of the index structure:

Note: Users cannot query a source unless they have access to its parent collection and cannot query a document unless they have access to its parent source.

People who viewed this topic also viewed