【问题标题】:URI based Elasticsearch query with "starts with" filter基于 URI 的 Elasticsearch 查询,带有“开始于”过滤器
【发布时间】:2013-08-24 11:57:41
【问题描述】:

例如,我想搜索所有 Na 开头的名字。如何在基于 URI 的查询中指定?

localhost:9200/index/type/_search?XXX

【问题讨论】:

    标签: elasticsearch


    【解决方案1】:

    你可以这样做。希望对你有帮助

    http://localhost:9200/index/type/_search?q=names:na*
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多