elasticsearch-2.0

    1热度

    2回答

    这似乎是一个非常简单的问题,但是我从其他解决方案和网站尝试的所有内容都无法正常工作。我有三个字段,我不想索引或查询 - :p_s,:gender和:part_of_speech - 但elasticsearch仍然从这些字段返回值,即使我没有指定它们应该被索引或查询。大约一半下来,this article说要no索引,但他们不表示这会发生。 期限控制器: def search @term

    1热度

    1回答

    我安装elasticsearch在centos6.X ....(转) 但服务elasticsearch启动命令出现错误 如何解决这个问题 我的Java版本1.7.0 我elasticsearch版本2.3.3 enter image description here

    1热度

    2回答

    我正在尝试为Elasticsearch查询获得最佳性能。 我需要类似这样的MySQL查询的内容: SELECT * FROM table WHERE field_a IN ('value1', 'value2') AND field_b = value 值的field_a数目可以是1之间,让我们说20 所有字段要求完全匹配。 现在,我使用的查询: { "query" : {

    1热度

    1回答

    我想使用弹性云托管elasticsearch服务https://www.elastic.co/cloud 我使用Python和elasticsearch-PY包在我flaks应用程序连接: es_connection = Elasticsearch( ["https://myuser:[email protected]:9243"] ) es_connection.indices.c

    0热度

    1回答

    在elasticsearch 1.x版,我可以设置index.number_of_replicas静态(在elasticsearch.yml文件): # Set the number of replicas (additional copies) of an index (1 by default): index.number_of_replicas: 0 不过,我现在放在一起的配置文件V2

    0热度

    1回答

    每当我尝试给出下面的映射时,都会收到错误。 有什么你需要做的“copy_to”。 PUT myindex/mytype/_mapping { "mappings": { "properties": { "manufacturer": { "type": "string", "copy_to": "full_make_model_name"

    1热度

    1回答

    我正在使用弹性搜索与Python。我找不到用口音进行不敏感搜索的方法。例如: 我有两个单词。 “Camión”和“Camion”。 当用户搜索“camion”时,我想要显示两个结果。 创建索引: es = Elasticsearch([{u'host': u'127.0.0.1', u'port': b'9200'}]) es.indices.create(index='name', igno

    0热度

    1回答

    我目前使用的是elasticsearch,每10分钟运行一次cron作业,它会从我的数据库中找到新创建/更新的数据,并与elasticsearch同步。但是,我想使用bulk进行同步,而不是进行任意数量的请求来更新/创建索引中的文档。我使用elasticsearch创建的elasticsearch.js库。 我面对2个挑战我不确定如何处理: 如何使用bulk如果存在更新文件并创建一个文件,如果它内

    0热度

    1回答

    我正在使用elasticsearch 2.3.1和python 2.7。我试图创建一个简单的实例,并测试作为 esInstance = Elasticsearch(['https://'+shield_uname+":"+shield_pass+"@"+server+":"+port]) print esInstance.info() ,但我得到 elasticsearch.excepti

    1热度

    1回答

    我elasticsearch DB有一个产品指标有场 internal_memory : 8gb 我需要这个领域下面的示例字符串返回: 8 gb 8 gb 8gb 16 gb (will have less score obviously) 16gb (will have less score obviously) 如何为此编写自定义分析器? 我们应该使用nGrams进行这样的搜索