elastcisearch and loopback4 #7176
Unanswered
ScottYueqiang
asked this question in
Q&A
Replies: 1 comment
-
@ScottYueqiang , perhaps contact the creator of the connector you are using? e.g. https://www.npmjs.com/package/loopback-connector-esv6 . The loopback team does not maintain the elastic search connector. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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:



Beta Was this translation helpful? Give feedback.
All reactions