...
By default, ELO limits a search result to 10.000 entries. This limit can be adjusted - see the ELO Indexserver Documentation.
Settings
Name | |||||||||
---|---|---|---|---|---|---|---|---|---|
id | Name of the source | ||||||||
conn | Used connection. | ||||||||
sourceType | In case of ELO: | ||||||||
keyName
| Name of the indexed object. If not set, it will default to | ||||||||
key
| Unique Id of the indexed object. If not set, it will default to
| ||||||||
runInterval | reindex interval of the source in seconds | ||||||||
runDelay
| delay before the first reindex run in seconds. | ||||||||
runAt | instead of using an interval, you can define a specific time when the reindex will be triggered. Example:
| ||||||||
maxResultSize
| Per default, the ELO results are limited to 10.000 elements. By defining this property, you can overwrite the default to a higher value. | ||||||||
excludeKeysFromSuggestions | This list excludes the Keys from being added to the suggesters. Suggesters are used inside the search as “Completion Suggester” and “Did you Mean”. For ELO sources, a good practice is to filter all the internal fields |
. Example:
| |||||||||||
icon | See Entry Icons | ||||||||||
sourceSpecific.mask | Keywording mask Either the name of the mask or the SordID | ||||||||||
sourceSpecific.searchParams | A list of ELO index fields to narrow the search. A list entry consists of the internal group name of an ELO index field and the value. Example:
| ||||||||||
sourceSpecific.documentDate
from Integer or Date to Integer or Date | These settings are under The range will be applied on the ELO-Sord property “External Date“ (aka. Document Date). Example:
This example limits the reindex to documents that are older than two years or newer than a year. It is also possible to use exact dates. The dates have to be written in the ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html) format. Example:
This example limits the reindex to all documents from 2021. | ||||||||||
sourceSpecific.archivingDate
from Integer or Date to Integer or Date | These settings are under The range will be applied on the ELO-Sord property “Internal Date“ (aka. Archiving Date). Example:
This example limits the reindex to documents that are archived at max for 90 days. The property |
newerThanDays
It is also possible to use exact dates. The dates have to be written in the ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html) format. Example:
This example limits the reindex to all documents that have been archived in 2021. | ||||||||||||
sourceSpecific.maps
| Index ELO maps of a given object. Due to a lot of different configuration setups, you must define which fields are imported. Example:
Domain You can also define your own domain (e.g. Type Name Given the above examples, the map fields can be accessed via the following names from the UI:
| |||||||||||
sourceSpecific.excludeEntriesWithinAdministration
| Default: true Determines if sords within the ‘administration’ folder are blacklisted and therefore not indexed. | |||||||||||
sourceSpecific.excludeEntriesWithinChaosFolder
| Default: true Determines if sords within the ‘chaosablage’ folder are blacklisted and therefore not indexed. | |||||||||||
sourceSpecific.excludeEntriesWithinFolder
| Default: empty Can be set to exclude certain directories for indexing. All Sords within the specified folders and its subdirectories are ignored. Example
|
Index Documents/Files
It is possible to index files referenced by an entry. Currently only supported when providing public access to them.
Configuration:
Code Block |
---|
sourceSpecific:
mask: Application Entry
files:
publicCache: true
nesting: 1
mask: Application Attachment |
Name | |
---|---|
| Must be true |
| Mask selector for Entries you want to cache. This should be the document mask. |
| Hierarchy level for the search. Defaults to |
Storage Location
The Files are cached during reindex and stored on the local file system alongside the configuration.
Code Block |
---|
/portrait
/config
/application-prod.yml
/public
/<sourceID>
/(<ELOGUID>).<DocExtensionFromELO> |
The files can then be retrieved via the URL
Code Block |
---|
https://<portraitBaseURL>/api/files/<sourceID>/(<GUID>).<extension> |
One example use case is to include images into preformatted HTML or Markdown content.
Info |
---|
Please keep in mind, that there is no login required to access the cached files |