-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
i get data from elastic, and the error happens:
Trace: [illegal_argument_exception] Fielddata is disabled on text fields by default. Set fielddata=true on [id] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.
at D:\lb4\es\node_modules\loopback-connector-es\lib\esConnector.js:869:19
at tryCallOne (D:\lb4\es\node_modules\promise\lib\core.js:37:12)
at D:\lb4\es\node_modules\promise\lib\core.js:123:15
at flush (D:\lb4\es\node_modules\asap\raw.js:50:29)
at processTicksAndRejections (internal/process/task_queues.js:75:11)
below are my model, datasource config and controller function:


