Swarm 15 introduced the setting search.enableDelimiterPaths=True
, so that any search feeds created will have a new paths
field which allows for faster delimiter listings when gateway.cfg has [folder_listings] usePaths=true
(https://perifery.atlassian.net/wiki/spaces/public/pages/2443810201/Gateway+Configuration#%5Bfolder_listings%5D ).
Gateway will log a warning if it cannot take effect because some elasticsearch entries are missing the field. This can happen if the search feed was created before that setting or if the setting was temporarily changed to False while adding/updating objects.
\uD83D\uDCD8 Instructions
You must have access to the elasticsearch endpoint, which should only be available on the internal storage network.
Choose an elasticesarch node name or ip from the Search Feed.
Note the
cluster.name
and search feed number (the first is 0).Issue this curl:
curl -H 'Content-type: application/json' 'ELASTICSEARCH-HOST:9200/index_CLUSTER-NAME0/_search?pretty&size=100' --data-binary ' { "query": { "bool": { "must": { "terms": { "stype": [ "NAMED" ] } }, "must_not": { "exists": { "field": "paths.p1" } } } } }
The resulting entries are at least some of the entries preventing the use of
usePaths=true
.
A new search feed must be created if any entries are found. Refreshing the feed will not add the “paths” field to existing entries.
\uD83D\uDCCB Related articles
Filter by label
There are no items with the selected labels at this time.