Elasticsearch is an Open Source (Apache 2), Distributed, RESTful, Search Engine built on top of Lucene.

learn more… | top users | synonyms

0
votes
0answers
7 views

Elasticsearch: [filtered] query does not support [highlight]

I am new to Elasticsearch. I have a filtered query as follows { "query": { "filtered" : { "query" : { "term" : { "title" : "crime" ...
0
votes
1answer
10 views

Express.js elasticsearch query not working

I'm trying to build an Express.js application that queries my elasticsearch running on a different server. I created an express scaffold app, and the only thing I've changed is in routes/index.js. I ...
0
votes
0answers
6 views

Parent/Child relation in search engine index (Rails 3.2 and ElasticSearch >v1)

I am using the official gems suite of elasticsearch elasticsearch-rails, I am having really hard time trying to index a parent/child relation, and I am not sure whether my problems are in the mapping ...
0
votes
1answer
10 views

Elastic search date range aggregation

I have a Json Data "hits": [ { "_index": "outboxprov1", "_type": "deleted-connector", "_id": "AHkuN5_iRGO-R5dtaOvz6w", "_score": 1, ...
0
votes
0answers
8 views

elasticsearch jdbc-river do not import data from mysql

I do as doc(here) says, PUT /_river/my_jdbc_river/_meta -d { "type" : "jdbc", "jdbc" : { "url" : "jdbc:mysql://localhost:3306/test", "user" : "root", "password" : ...
0
votes
2answers
19 views

How to index both a string and its reverse?

I'm looking for a way to analyze the string "abc123" as ["abc123", "321cba"]. I've looked at the reverse token filter, but that only gets me ["321cba"]. Documentation on this filter is pretty ...
0
votes
0answers
8 views

Django haystack related name search

so i have the following models: class Article(models.Model, PublicationMixin): publication = models.ForeignKey('Publication', related_name="articles") ... class Publication(models.Model, ...
0
votes
0answers
22 views

ElasticSearch: should I worry about scaling servers?

I have to work on an auto-completion feature for my rails api. From what I understand, installing mongoid-elasticsearch would make it work pretty much out of the box, which is nice :) However I ...
0
votes
2answers
17 views

Master/Slave setup in Elasticsearch

I'm trying to bootstrap a product but I'm constrained for money. So I would like to keep the server costs as low as possible. My requirement is that I need to index millions of records in ...
0
votes
0answers
13 views

Elasticsearch Fuzzy Search

query = 17A:samsung galaxy which one is better~ SearchResponse response = client.prepareSearch("XYZ") .setTypes("MYTYPE") .setQuery(QueryBuilders.queryString(query)) ...
0
votes
1answer
18 views

Count with a basic query

I´m doing a paging query with a simple filter, it´s working like a charm. var result = client.Search<MyMetaData>( x => x.Index("MyIndex") .Type("MyType") ...
0
votes
0answers
17 views

Unable to reach Elastic Search Cluster nodes from Titan

Im deploying a Titan cluster with Cassandra as backend and Elastic Search. Here are the versions of the different parts: Titan DB Cassandra ES Oracle-JDK Ubuntu 0.4.4 1.2.X ...
0
votes
0answers
11 views

Django + Haystack + Elasticsearch: How do I ignore query syntax?

I'm using Haystack with the Elasticsearch backend, and I'd like to make a query in which the user can use words like and, or and not without them being parsed as query syntax. Here's what I'm using so ...
0
votes
1answer
15 views

Elasticsearch Integration in Spring MVC?

Is there anyone knows how to integrate the spring mvc and elastisearch? I want to implement a web page like general web site(google,yahoo searcg engine) Is there any tutorial or sample code?
0
votes
1answer
20 views

List all available indices via Java API [on hold]

How to get a list of all available indices via the Java API? With REST it's just the following HTTP-Request: http://XXX.XXX.XXX.XXX:9200/_aliases But for consistency it would be nice to do this ...
1
vote
1answer
23 views

Searching through user favorites with Elasticsearch

We're using Elasticsearch to index about 100,000 documents. Users can favorite items and currently we're using Django Haystack's RelatedSearchQuerySet to look through the favorites table, but this ...
0
votes
1answer
18 views

Django Haystack ElasticSearch Python3

my plan is to get Django with an ElasticSearch backend running using Python3 on a Debian 7.5-64bit machine. I'll explain every single step, cause i'm nor a professional admin, neither a ready ...
0
votes
1answer
24 views

How to setup a field mapping for ElasticSearch that allows both exact and full text searching?

Here is my problem: I have a field called product_id that is in a format similar to: A+B-12321412 If I used the standard text analyzer it splits it into tokens like so: ...
0
votes
1answer
11 views

Getting the count for several document properties by grouping similar values

I'm trying to build a set of filters in a UI for an es object. I'd like to aggregate all the documents and group certain property's by value and get a count for each. For example I'd like to be able ...
0
votes
1answer
19 views

How sharding works in elasticsearch

I have "2" "number_of_shards" and "0" "number_of_replicas" to my index. Then how the 2 shards are distributed across 3 nodes if i have 3 nodes cluster.How sharding works in elasticsearch.
0
votes
0answers
57 views

Getting started on a ElasticSearch(Splunk user looking to migrate)

I'm somewhat familiar with Splunk, because our company invested in it. Now it's proving to be expensive so we're looking for alternatives. ElasticSearch was recommended on Quora. But downloading and ...
0
votes
1answer
14 views

Will NEST 1.0 Work with Elastic Search 0.x?

Going over the blog posts and documentation, I couldn't get a clear answer: is NEST 1.0 backwards compatible with Elastic Search 0.x? We compared the requests we use, and didn't find any caveats ...
0
votes
1answer
16 views

Elasticsearch geo point union or similar

Does anyone know what the simplest way of achieving a union in Elasticsearch? I have many documents with a field disease_name and a lat/lon field. e.g. { disease_name:'Flu', "location" : { ...
0
votes
1answer
10 views

Elasticsearch rails re-index all in production mode [on hold]

How to reindex all document in production mode in elasticsearch-rails Please help Thanks in advance
0
votes
1answer
11 views

Elasticsearch - group by element in child collection

I have documents of following format in an elastic search index: { "item":"Firefox", "tags":["a","b","c"] }, { "item":"Chrome", "tags":["b","c","d"] } I want to group by each element in the ...
0
votes
1answer
12 views

elasticsearch sum request by clientip (iis logs)

I want to get the number of request by ip address in the last 5 minutes. I am getting the requests with this query { "query" : { "filtered" : { "query" : { ...
0
votes
0answers
8 views

Transferring data by river-ldap

I am tryinging to transfer data from LDAP to Elasticsearch.I am river-ldap for this.I could not install it using the folwoing command ' plugin -install tlrx/elasticsearch-river-ldap/0.0.2' .But it ...
0
votes
1answer
28 views

ElasticSearch fields not working

I have the inquisitor plugin to query iis logs, but for some reason when i try to reduce the number of the returned fields it doesn't work at all. This query works as expected: { "query": { ...
0
votes
1answer
19 views

elasticsearch in memory speed

I'm trying to test how much faster would be the in-memory solution with elasticsearch. For this, I wrote a test in which Im generating ~10milion records and after that performing a text search. ...
0
votes
0answers
12 views

Elasticsearch 1.3.0 : Setting index and search Analyzers to a specific language using NEST 1.0 ( .NET)

I have a bunch of French documents to index, for which the mapping is not known in advance. I want to specifiy the default language for this index as french. Is there a way to do this using the NEST ...
0
votes
0answers
22 views

how to install plugin/head for elastic search?

I have installed elastic search and its plugin head but when i enter the **url "localhost:9200/_plugin/head/"** It does not shows any thing? And I have also install marvel/SENSE for monitoring ...
1
vote
1answer
35 views

elasticserch: org.elasticsearch.client.transport.NoNodeAvailableException: No node available

I have update elasticsearch version from elasticsearch-0.90.7 to elasticsearch-1.3.1 and application was working fine in elasticsearch-0.90.7 but in elasticsearch-1.3.1 getting below exception: ...
0
votes
2answers
19 views

how to query elasticsearch based on documentid

Failed to deserialize exception response from stream error while query on Id based query in elastic search. but when I execute the following query. client.prepareSearch(index) ...
0
votes
0answers
26 views

Rails Elasticsearch, Searchkick

I just followed this tutorial to add elasticsearch to my app. https://shellycloud.com/blog/2013/10/adding-search-and-autocomplete-to-a-rails-app-with-elasticsearch I work on a windows 8 system and I ...
0
votes
2answers
15 views

How to change a field property in Elasticsearch index from Index : not_analyzed to index:no?

I am getting the following exception while trying bulk api in Elasticsearch using java : Caused by: java.lang.IllegalArgumentException: Document contains atleast one immense term in ...
1
vote
0answers
14 views

Is it possible to make elasticsearch index a SVN repo? And specific branches?

Is it possible to make Elasticsearch index a SVN repo directly? and all Docs, and PDFs within it?
-1
votes
0answers
17 views

ElasticSearch - Merge multi search results

Hello i'm fairly new to elasticsearch and i need to combine the results of a multi search that looks like this: { "from": 0, "size": 3, "query": { "filtered": { "filter": { ...
0
votes
1answer
10 views

Sort by Date not working for Date type field

I am trying to do a simple sort by date on my search results. but it doesn't seem to work. Please help me in identifying what am I missing. Mapping - {"document" : { "properties" : { ...
0
votes
0answers
14 views

Elasticsearch remote access through SSH

About Elasticsearch HTTP API, I wonder if I want to remote access a cluster on SSH server, what should I include in my http rest command: curl -XGET ' http://localhost:9200/ index /_mapping/ type ...
0
votes
1answer
29 views

Is there a good auto-complete search library that I can use?

I already tried cleo, not convinced majorly because of this bug that I recently encountered and yet have been unable to solve. Also tried elasticsearch, but too complex to run even a single query and ...
0
votes
1answer
18 views

An object that should not be getting indexed is being indexed

I have a very basic object that I'm searching over. My understanding is that the objects are indexed are filterd based on index_queryset method. I would like to index only question that are not ...
0
votes
1answer
26 views

Spring Data ElasticSearch NullPointerException

I have just started with Spring Data ElasticSearch. I have implemented my own repository, but I get a null pointer exception if I try to save an entity. I have got the following code, this is only ...
1
vote
1answer
32 views
+50

Why are queries not being logged?

I've got an enviroment set on Dev that should keep a log with every query ran, but it's not writing anything. I'm using the slow-log feature for it... These are my thresholds on the ...
1
vote
1answer
13 views

Can ElasticSearch create/store just the indexes while leaving the source document where it is?

Assuming I already have a set of documents living in some document store can I have ElasticSearch create its indexes and store them in its various replicated nodes while leaving the documents ...
1
vote
1answer
25 views

SQL Where clause equivalent for Elastic Search

I am trying to create a aggregate results in elastic search but filter option is not working for me. I can aggregate data without filter e.g. select name , material ,sum(price) from products group ...
1
vote
0answers
12 views

Upsert nested document throwing mapping error elasticsearch

I am trying to do upsert during update but I don't know why I can't do it with java API. Here is my problem: When I am using scripting, I can update my document as expected like this : ...
0
votes
1answer
11 views

pass the file name to the match plugin

I am setting up a fluentd / elasticsearch / kibana stack and I would like to register the filename where I got the event along in the doc. here is my configuration: <source> type tail_ex ...
-1
votes
0answers
7 views

How to sort on multiple aspects in elasticsearch?

Elastic search with types like: {created date, description} I want to perform a terms search on description and to sort by the most recent item. Which would be the proper elasticsearch query to ...
0
votes
0answers
28 views

parse deeply nested elasticsearch aggregations using it's client API

I am using Java client API to get aggregations back. Following is the structure which I am dealing with. aggregations top_models buckets key : "BMW" doc_count : 3 top_models ...
0
votes
0answers
3 views

elasticsearch difference between get time_in_millis and search query_time_in_millis

I'm trying to monitor elasticsearch server. I'm little bit confused between two things indicies api. if I use the url to get stats. 'http://localhost:9200/_stats/search,get,docs,indexing?pretty' ...