Questions tagged [elasticsearch-2.0]

Use this tag for version specific questions about Elasticsearch 2.0 - the distributed, RESTful search and analytics engine. When using this tag also include the more generic [elasticsearch] tag where possible.

Elasticsearch 2.0 takes huge strides forward in terms of speed, security, scalability, and hardware efficiency. It introduces a host of new features, including powerful new aggregations to do more analytics, cluster state diffs to support even larger clusters, compatibility with 2.0 versions of Shield (security), Marvel (monitoring), Watcher (alerts), and more.

345 questions
0
votes
0 answers

How to set a field which can do both structured query and full text query in Elasticsearch

I am ES newbie. I do not want to store the same data into tow column, one column as full text query, another column as structured query or wildcard query. I do not known whether i can use one column data to do the different query?
sol
  • 225
  • 4
  • 17
0
votes
1 answer

How to write elasticsearch multiple query condition?

I have stored some data in elasticsearch module and structure is very simple. [ { "country_id":1, "city_id":12, "city_name":"Kolkata" }, { "country_id":1, "city_id":55, "city_name":"Delhi" }, { …
Dixit Sourav
  • 350
  • 1
  • 3
  • 10
0
votes
0 answers

How to access elasticsearch 2 VM from Website in Azure

I followed this tutorial (Elasticsearch 2.X on Microsoft Azure) and now I got the following question: How do I access elasticsearch 2.3.4 running on the VM from my Asp.Net MVC 5 website? The VM is not reachable from the internet. So the only…
Michael
  • 2,021
  • 3
  • 12
  • 18
0
votes
1 answer

elasticsearch query like regex

I am using the kibana-4.5.0, elasticsearch 2.3.2 i want to find specific sentence by this query "*'ve have" in kibana. it didn't work in kibana. so, i tried span_near fillter in kibana. { "query": { "span_near": { "clauses": [ { …
woocheol
  • 87
  • 1
  • 8
0
votes
1 answer

Store an integer value into ElasticSearch when using Log4Net

I'm logging user actions in ElasticSearch and I'm using C# Log4Net I'm using the C# NEST library to access the ElasticSearch database. My log line looks like this: { "_index" : "log-2016.07.27", "_type" : "logEvent", "_id" :…
Gianluca Ghettini
  • 11,129
  • 19
  • 93
  • 159
0
votes
1 answer

ElasticSearch querying nested objects not working as expected

So I am trying to search across nested objects in ElasticSearch and I am not doing something correctly as I get no results. I run the following commands:- Create Index and Mappings PUT /demo { "mappings": { "person": { …
baynezy
  • 6,493
  • 10
  • 48
  • 73
0
votes
1 answer

Tools to migrate index from elasticsearch 1.x to elasticsearch 2.x

I am looking for the tools to migrate data from 1.x to 2.x elasticsearch. Please suggest if anything is available?
0
votes
1 answer

Can I get a count for each of a list of domains?

I am trying to do a terms filter query to get the number of documents I have for each domain in a list of domains: GET /myindex/_count { "query": { "filtered": { "filter": { "terms": { "domain":…
user776942
0
votes
1 answer

Elasticsearch zen discovery - Connection refused: /127.0.0.1:9302

Very new in Elasticsearch and trying out Zen discovery plugin for the first time. I'm currently using version 5.0.0-alpha5. Here is my current settings: cluster: name: Elastic-POC node: name: ${HOSTNAME}-data master: false data:…
0
votes
0 answers

How to use the output of aggregation as the input in other in elastic search

enter image description hereI have to find the data of last 10 days and then aggregate the result by grouping on one column. below is my code: function countHits(){ client.search({ //size:0, body:{ "aggs":{ …
user3718420
  • 151
  • 1
  • 3
  • 14
0
votes
0 answers

Nested aggregation in Elasticsearch

I have Elasticsearch documents for products with tags. Following is the structure of the documents: { "id": 'id-1', "name: "prod-1", "tags": [ { "id": 'tag-id-1', "name": 'tag-name-1' }, { …
khushalbokadey
  • 1,132
  • 1
  • 11
  • 25
0
votes
0 answers

How to build charts from Elasticsearch query

I have a command which is able to run in Elasticsearch following something similar to https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-movavg-aggregation.html#_prediction GET…
Kennedy Kan
  • 273
  • 1
  • 7
  • 20
0
votes
1 answer

Elastic Search Custom scoring on mobile products

I'm using elastic search 2.3 I've stored all the mobile products attribute-wise in ES after removing all stopwords (e.g. with, extra, etc) Sample schema for "Micromax Canvas Doodle 4 white with 8 GB ram and 8gb internal memory": "_source": { …
randomuser
  • 1,201
  • 2
  • 10
  • 19
0
votes
1 answer

Aggregate the total sum of aggregation field

Hi all, I'm trying with no luck so far, to aggregate the total impressions sum of impressions field, but I keep getting an error. I got the following query: GET smarttag-2016.06.28.*/_search?search_type=count { "query": { "bool": { …