Elasticsearch is an Open Source (Apache 2), Distributed, RESTful, Search Engine built on top of Lucene.
7
votes
0answers
816 views
Build a Kibana Histogram with buckets dynamically created by ElasticSearch terms aggregation
I want to be able to combine the functionality of the Kibana Terms Graph (be able to create buckets based on uniqueness of values from a particular attribute) and Histogram Graph (separate data into ...
5
votes
0answers
211 views
Autocomplete “smart”
Should I build an autocomplete "smart" in the sense that for every result must be worn behind a series of information.
For example:
I am looking for "bologna" and I have to run a query (or more than ...
5
votes
0answers
100 views
Boosting input fields for completion suggester
Im using completion suggester for autocomplete.. These are my documents
/* doc 1 */
{
Title: CineMAX: Inorbit Mall, Cyberabad
Suggest: {
input: [
CineMAX:
...
4
votes
0answers
31 views
Elastic Search _suggest caching
I am using ElasticSearch to power both my main search engine and as an autocomplete tool.
I use version "1.0.1"
My problem : there seem to be a pretty persistant cache on the suggester and I can't ...
3
votes
0answers
194 views
How to add our own graph to Kibana?
I am using Kibana and logstash with elastic search to analyse the log data.
I have also prepared a few customized chart using highchart,logstash and elastic search. I want to display these highchart ...
3
votes
0answers
203 views
FOSElasticaBundle multiple nested query
I use FOSElasticaBundle to handle searching. All works great when I have one level of nesting. However, when I have two levels of nesting results which should match the innermost nest are not returned ...
3
votes
0answers
117 views
Elasticsearch - Check if document is contained in query using synonyms
I want to build an application where a match requires each token in the document to be contained in the query at least once!!!
Please note its the other way around than the standard expectation. So ...
3
votes
0answers
146 views
Filter _id range in elasticsearch
I am trying to filter _id field (index not enabled) in elasticsearch by range. Is it possible? If so, how it can be done?
I've read in elasticsearch documentation that we can use 'ids' to query by _id ...
3
votes
0answers
447 views
Plotting an empty interval for elasticsearch date histogram
I'm using an elasticsearch date histogram to group responses by count over time. The date histogram facet works great for this but if an interval doesn't have any responses that fall within in it it ...
3
votes
0answers
395 views
elasticsearch auto-discovery rackspace not working
I'm trying to use ElasticSearch for an application I'm building, and I am hosting it on Rackspace servers. However, the auto-discovery feature is not working. I thought that it was because ...
3
votes
0answers
269 views
Elasticsearch, Tire, and Nested queries/associations with mongoid
I'm using ElasticSearch with Tire to index and search a mongoid model, and I've been searching for the "right" way to index and search an embedded associations. I have a fully functional set up for ...
3
votes
0answers
361 views
How to handle null pointer exceptions in elasticsearch
I'm using elasticsearch and i was trying to handle the case when the database is empty
@SuppressWarnings("unchecked")
public <M extends Model> SearchResults<M> findPage(int page, String ...
3
votes
0answers
546 views
Analyzer not found performing query string over elasticsearch couchdb river
Pretty sure that I'm doing some huge mistake, but I have no clue how to sort it.
My couchdb river and my index are defined as following:
curl -XPUT 'localhost:9200/_river/my_index/_meta' -d '{
...
2
votes
0answers
14 views
elasticsearch - how to deal with unassigned shards
I'm sending 1 request per second with many doc_as_upsert operations to bulk api. Each request can have from 10 to 1000 operations.
If I limit each request to send only 10 operations, it works fine.
...
2
votes
0answers
22 views
What is recommended analyzer / filter for human names in Elastic search
I wonder whether there are recommendations for using analyzers / filters to index/search for human names.
Examples of names that might pose difficulties:
Marc versus Mark
Peter de Langhe versus ...
2
votes
0answers
21 views
How to model document versioning in Elastic search?
I am new to Elastic search and have the following question:
Imagine you have a wiki system in wich you can create wiki pages
A page can be saved as draft version so that the author can later on ...
2
votes
0answers
15 views
Elasticsearch stats by groups return inconsistent values
Environment:
Elasticsearch version 0.90.2
14 nodes
3 indices
15 mil documents
~70 queries/s
I'm querying Elasticsearch search stats by groups using
curl ...
2
votes
0answers
30 views
Use a many to many relation in Elasticsearch
Currently we have a problem to perform a query (or more precisely to design a mapping) in elasticsearch, which help us to perform a query over a relational problem, that we didn't get solved with our ...
2
votes
0answers
28 views
ElasticSearch Multi Field Terms Facet doesn't seem to work
I'm trying to get the Multi-Field Terms Facet to work, but the results can't seem to do what the documentation ...
2
votes
0answers
51 views
IllegalAccessError after a few queries when using script filter in elasticsearch query
I have a 'users' elasticsearch index, where a user looks like:
{
"id" : 1,
"name" : "Jeroen",
"hours": [8,9,10,11,12,19,20,21,22,23],
"country": "NL",
"utc_offset": 1.0
}
I want to find ...
2
votes
0answers
64 views
How to make logdata as Kibana graph value
I am having a log file that gives a Duration : 10 with timestamp in my logfile. When i a put a search field in kibana for duration, i am able to get a point coming in the graph whenever duration is ...
2
votes
0answers
189 views
elasticsearch search for exact match in multi valued field with urls relevant to document
I'm very new to elasticsearch and got stuck with forming the search queries, or rather using the ElasticSearch PHP Client
what i'm trying to do is the following:
we have 500,000 documents, with ...
2
votes
0answers
132 views
ElasticSearch aggregate use doc_count for average
I'm just diving into the new aggregate functions in ElasticSearch 1.0. I'm trying to fetch some statistical data on a bunch of documents (loglines).
Every document counts as a hit, and I want to ...
2
votes
0answers
116 views
Trying to search unique results with Elasticsearch and highlighting feature
I am trying to implement an Elasticsearch query that will return highlighted distinct results based on the field queried upon.
I am aware that this isn't initially supported in ES and that most ...
2
votes
0answers
46 views
Disable IDF calculation
In my particular use case, the IDF-factor that gets calculated as part of the TF-IDF algorithm messes up the scoring for my queries. Basically, I want the queries to only take the term frequency into ...
2
votes
0answers
354 views
JDBC, Elasticsearch and Postgresql Json data type [SOLVED]
Postgresql : 9.3.2
Elasticsearch : 0.90
jprante/elasticsearch-river-jdbc : 2.2.2
postgresql JDBC : 9.3-1100 JDBC 41
I'm trying to get a postgresql Json data type column into elasticsearch, ...
2
votes
0answers
98 views
index field property setting through JAVA API for elastic search
Can i have a sample code for assigning the properties to index fields (as in config.xml in case of solr), for elasticsearch. Java API code sample for loading the property file, as well.
Settings ...
2
votes
0answers
136 views
How to define dynamically / override the _default_ mapping in elasticsearch?
Use case :
The index/indices will be built dynamically from a template, so that
it will pick some custom settings (number of shards/replicas/ etc).
Generate dynamically the types and their ...
2
votes
0answers
100 views
Doctrine conections in mongodb to elasticsearch index
I'm use symfony2 with doctrine odm (mongodb). I need create elasticsearch index, but its not hard. My structure Product collection (abridged):
{
"_id": ObjectId("5239656f60663de206b1053e"),
...
2
votes
0answers
67 views
RealtimeSignalProcessor is not working on update query in Django
I have used haystack with elasticsearch. Haystack version is 2.1.0 with Django 1.5
I have added below code in setting.py
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': ...
2
votes
0answers
116 views
Rails tire multiple model search
I am having trouble getting a multiple model search configured in the Rails Tire gem for ElasticSearch.
I have two models: Contact and Company.
Here are the relevant Tire portions of each model:
...
2
votes
0answers
150 views
QueryBuilders based query in elasticsearch for searching text mixed with special characters(John-one) across multple fields?
I use This query in my application for getting all matched records without special characters from across all fields of my database collection.Here I pass q value as run time search text(John).Now ...
2
votes
0answers
123 views
elasticsearch remove custom analyzer / filter
I'm new to elastic search and I was wondering if it's possible to delete a custom analyzer or a custom filter from an index..
For example, imagine the following index settings:
"settings" : {
...
2
votes
0answers
144 views
Moving ES data to a new server using cluster replication
This is my first posting, and my first ES problem so please bear with me.
I'm trying to move from an existing ES cluster to a new cluster.
The existing indexes are the same, and they both exist on the ...
2
votes
0answers
73 views
How to perform ElasticSearch query on records from only a certain user (Rails Tire gem)
I have a Mongoid model which I perform ElasticSearch search queries on. Very standard:
class ActivityLog
include Mongoid::Document
include Mongoid::Timestamps
include Tire::Model::Search
...
2
votes
0answers
85 views
Stack Overflow how stores data in Redis and ElasticSearch? Which category of data?
If i have a class , For Example :
class Post
{
public string Id{ get; set; }
public string Body{ get; set; }
public bool Deleted{ get; set; }
public DateTime CreateDateTime{ get; set; }
}
...
2
votes
0answers
285 views
Elasticsearch stops working suddenly
I am running Elasticsearch on a VPS and it was working perfectly for me. Initially, there were many rows indexed using Elasticsearch. When i tried to create new index, Elasticsearch stopped working. ...
2
votes
0answers
137 views
querying elasticsearch on ec2 ubuntu
I am following this tutorial to learn Elasticsearch, running it on EC2:
http://exploringelasticsearch.com/book/an-overview/up-and-running.html
So I am able to run the server and, using the query ...
2
votes
0answers
141 views
finding duplicate field values in elasticsearch
Using elasticsearch 0.19.4 (I know this is old, but its what is required by a dependency)
I have a field "digest" in an elasticsearch index - and I would like to execute a query that will return me ...
2
votes
0answers
206 views
Haystack-Django TemplateDoesNotExist at /search/ Error
I am trying to integrate haystack into my Django App
Here is the DIR structure :
vaibhav@ubuntu:~/temp/hayStackDemo/demoApp/templates/search$
pwd
...
2
votes
0answers
174 views
Elasticsearch: how to perform exact match on wildcard field
We used the following query to get exact match on wildcard field:
"query_string": {
"query": "\"abcd\"",
"fields": [
"*.Name"
]
}
}
but it ...
2
votes
0answers
160 views
{“error”:"UnavailableShardsException[[_river][0] [2] shardIt,
i want to index and search mysql database using elastic search & I followed this tutorial
https://github.com/jprante/elasticsearch-river-jdbc/wiki/Quickstart
At first i downloaded elastic ...
2
votes
0answers
169 views
How to get the best children for each parent document in Elasticsearch?
I use a parent/child relationship to store some documents:
{
"A" : {
"properties" : {
}
}
}
{
"B" : {
"_parent" : {
"type" : "A"
},
...
2
votes
0answers
151 views
defining merge policy parameters for elasticsearch
According to http://www.elasticsearch.org/guide/reference/index-modules/merge/
I can control the merge policy and the parameters of the merge policy.
I am unclear on how to do that.
When creating the ...
2
votes
0answers
145 views
Searching for Gray Log 2 API or a way to query ElasticSearch
I have a question regarding Gray Log 2
In the company I work for all systems report exceptions to Gray Log server which has predefined streams.
I need to build an external Dashboard which retrieves ...
2
votes
0answers
199 views
Sorting on an array of strings in ElasticSearch
I'm using the following to sort documents in Elasticsearch that have a 'usernamesAssigned' property. usernamesAssigned is an array of strings:
"sort": [
{
"_script": {
...
2
votes
0answers
173 views
Boosting with Haystack + Elasticsearch
I implemented a boost on my 'tags' field; however it doesn't rank my results in the appropriate way.
my search_indexes.py:
class ParagraphIndex(indexes.SearchIndex, indexes.Indexable):
text= ...
2
votes
0answers
335 views
ElasticSearch: xerial.snappy error FAILED_TO_LOAD_NATIVE_LIBRARY
I'm trying running ElasticSearch client and getting xerial.snappy error FAILED_TO_LOAD_NATIVE_LIBRARY.
I'm using elastic search v. 0.20.5:
<dependency>
...
2
votes
0answers
284 views
elasticsearch exception with more_like_this in django-haystack
i'm having a problem with more_like_this function of django-haystack in configuration with elasticsearch - for some reason it returns some strange error in console. here is a code in python:
from ...
2
votes
0answers
104 views
Unable to run YCSB successfully for ElasticSearch
I am new to both YCSB and ElasticSearch. I was able to run YCSB easily for Cassandra. However, I have not been able to do the same with ES (or perhaps I have but I am not sure).
Following the steps ...