The Exclusion Filter index stage is used to remove fields or documents that match items in a pre-defined exclusion list. There are two ways to supply an exclusion list:Documentation Index
Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
Use this file to discover all available pages before exploring further.
- Upload a file containing a newline-separated list, using the Blob Store. When configuring the index stage, reference the list by its blob name in the
locationproperty (Exclusion List URI in the Lucidworks Search UI). - When configuring the index stage, enter an array of values for exclusion in the
excludeValuesproperty (Exclusion List in the Lucidworks Search UI).
regexPattern is configured, the pattern is applied to the field before the result is compared to the combined list.
By default, any matching field is excluded from indexing. To exclude the whole document, set skipDocument to “true” (Skip Document in the Lucidworks Search UI).
Uploading an exclusion list
Before you can configure thelocation property, you must upload one or more exclusion lists to Lucidworks Search using the Blob Store API.
Lucidworks Search comes with an example exclusion list at https://EXAMPLE_COMPANY.lucidworks.cloud/data/nlp/excludes/excludes.txt. Here is an example of how to upload this file using curl, where USERNAME:PASSWORD are the credentials for an admin-level user:
Replace
EXAMPLE_COMPANY with the name provided by your Lucidworks representative.