在移动设备上运行Elasticsearch服务器(android / iphone / ios) [英] Running Elasticsearch server on a mobile device (android / iphone / ios)

查看:130
本文介绍了在移动设备上运行Elasticsearch服务器(android / iphone / ios)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以在移动设备(android / iphone / ios)上运行Elasticsearch服务器,如果是这样,我该如何去做。

I would like to know if it is possible to run an Elasticsearch server on a mobile device (android / iphone / ios) and if so, how I should go about doing it.

在我的情况下,这样做的原因是在设备上设置一个易于搜索的离线数据库(具有所有弹性搜索高级功能)

In my case, the reason for doing it is to have an offline database on the device that is easily searchable (with all elasticsearch advanced functions)

我也许也可以使用elasticsearch的集群/复制能力来保持与服务器同步的设备上的脱机数据。

Optionally, I would maybe also use elasticsearch's cluster/replication capacities to keep the offline data on the device synced with a server.

推荐答案

,也许(至少在Android上,iPhone的答案是否定的)。其他人已经讨论过,并不确定任何人是否成功。 Android Dalvik是一个JVM,只是缺少一些通常不需要移动应用程序的东西。理论上你应该可以尝试编译ES并在Android上运行它。但是,您可能遇到ES需要的缺少图书馆和apis的问题,所以这一切都取决于您如何舒适地使用ES源代码解决问题。

Well, maybe (at least on Android, for iPhone the answer is no). Others have discussed it not certain that anyone has succeeded. The Android Dalvik is a JVM, just missing some things that are typically not required for mobile apps. In theory you should be able to try to compile ES and run it on Android. However, you are likely to run into issues with missing libraries and apis that ES requires, so it all depends on how comfortable you are diving in to ES source code to resolve them.

以前的讨论可能是有帮助的,你可以尝试与线程上的人联系,看看有没有人成功:

This previous discussion might be of help, you might try to reach out to those on the thread to see if anyone succeeded:

http://elasticsearch-users.115913.n3.nabble.com/ElasticSearch -HTTP-Server-on-Android-td4056423.html

这篇关于在移动设备上运行Elasticsearch服务器(android / iphone / ios)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆