在react native中,我可以用作客户端的Elasticsearch前端实现的任何核心或示例吗? 我已经在我的Firebase云函数后端中成功安装了elasticsearch,并且也尝试在前端中使用elasticsearch查询。
自从过去几天以来,我一直在尝试在我的反应本机前端中实现elasticsearch,但一直没有成功,这让我感到很沮丧。我什至尝试了https://www.npmjs.com/package/elasticsearch,当我运行client.search({...})
Promise
console.error:“错误:2018-07-28T11:44:18Z
错误@ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:182044:67 checkRespForFailure @ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:179496:25 http://localhost:8081/index.delta?platform=android&dev=true&minify=false:184020:11 包装器@ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:67207:26 发射@ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:182145:23 onerror @ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:184307:14 dispatchEvent @ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:19965:43 setReadyState @ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:19720:33 __didCompleteResponse @ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:19547:29 http://localhost:8081/index.delta?platform=android&dev=true&minify=false:19657:52 发射@ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:5543:42 __callFunction @ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:4449:49 http://localhost:8081/index.delta?platform=android&dev=true&minify=false:4219:31 __guardSafe @ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:4411:13 callFunctionReturnFlushedQueue @ http://localhost:8081/index.delta?platform=android&dev=true&minify=false:4218:21 callFunctionReturnFlushedQueue @ [本机代码]”