diff --git a/users/ref-config/searchalicious-config-schema.html b/users/ref-config/searchalicious-config-schema.html index 5f4e5643..c6391272 100644 --- a/users/ref-config/searchalicious-config-schema.html +++ b/users/ref-config/searchalicious-config-schema.html @@ -30,4 +30,4 @@
The full qualified reference to the preprocessor
to use before data import.
This class must inherit app.indexing.BaseDocumentPreprocessor
and specialize the preprocess
method.
This is used to adapt the data schema
or to add search-a-licious specific fields
for example.
app.openfoodfacts.DocumentPreprocessor
The full qualified reference to the elasticsearch result processor
to use after search query to Elasticsearch.
) This class must inherit app.postprocessing.BaseResultProcessor
and specialize the process_after
This is can be used to add custom fields computed from index content.
app.openfoodfacts.ResultProcessor
-
You can add scripts that can be used for sorting results.
Each key is a script name, with it's configuration.
Each additional property must conform to the following schema
Type: objectScripts can be used to sort results of a search.
This use ElasticSearch internal capabilities
The script language, as supported by Elasticsearch
The source of the script
Params for the scripts. We need this to retrieve and validate parameters
Additional params for the scripts that can't be supplied by the API (constants)
How much we boost exact matches on individual fields
This only makes sense when using "best match" order.
list of documents IDs to ignore.
Use this to skip some documents at indexing time.
All items must be unique
No Additional ItemsName of the Redis stream to read from when listening to document updates.
If not provided, document updates won't be listened to for this index.
the default index to use when no index is specified in the query