ElasticSearch is an Open Source (Apache 2), Distributed, RESTful, Search Engine built on top of Lucene.
0
votes
0answers
8 views
match part of an URL
Using ES 0.90.0 I've defined the following property:
"url": {
"type": "string",
"boost": "0.5",
"analyzer": "aurlemail",
"index": "analyzed",
"store": "yes"
},
and the analyzer ...
0
votes
0answers
4 views
update by query in elasticsearch
I have a problem with update by query in elasticsearch.
From this link https://github.com/elasticsearch/elasticsearch/issues/1607
I have found the way how to implement but I couldnt manage to success.
...
0
votes
0answers
8 views
Can I get pretty printed exceptions in elasticsearch?
... because the output like
SearchPhaseExecutionException[Failed to execute phase [query], total
failure; shardFailures {[9qHpMONgROWZaF1W6rdyiw][search_v1][0]:
...
0
votes
0answers
9 views
How i use ElasticSearch to create documents using json file
I am new to ElasticSearch and need to know how i create the index and documents from json file. I have image.json in which my document fields setting are defined i.e
{
"image" : {
"properties" ...
0
votes
0answers
9 views
Tire Gem with Ransack for elasticsearch
I've been using Ransack with my MySQL data to produce an advanced form, I've switched over to elasticsearch recently and now I'm finding that even a simple form doesn't work (using the activerecord ...
0
votes
1answer
6 views
Analyzer to autocomplete names
I want to be able autocomplete names.
For example, if we have the name John Smith, I want to be able to search for Jo and Sm and John Sm to get the document back.
In addition, I do not want jo sm ...
0
votes
1answer
11 views
Sorting by number of nested elements with ElasticSearch and Tire
Given the following mapping on a model called Post, is it possible to build a query that returns posts ordered by the number of votes cast within a specific time range (eg. past 7 days)?
mapping do
...
0
votes
1answer
36 views
Speeding up reading the url response in python
I have a piece of code that queries a server that returns a big json object(elasticsearch, BTW),
It takes a lot of time to read the results. parsing the json object is very fast.
tic = time.time()
...
0
votes
1answer
23 views
How to reindex ElasticSearch quickly?
I have an ElasticSearch index with around 200M documents, total index size of 90Gb.
I changed mapping, so I would like ElasticSearch to re-index all the documents.
I wrote a script that creates a ...
0
votes
0answers
13 views
Modeling data with relationships in elasticsearch
Previously, I asked about many-to-many relationships here: Many to many relationships in elasticsearch
However, the solution I have arrived in that question no longer applies to this new problem I am ...
0
votes
1answer
15 views
More complex search result sorting - Tire
I am using the Tire gem to perform search in my application. In my controller, I perform the search:
@results = Model.search(query: params[:query])
I then want to re-sort the results using a custom ...
1
vote
2answers
28 views
expose elasticsearch service directly to the client or put it behind a middleware
I write a client server application. I have setup an elastic-search service on the server.
The client(iOS app) queries information from the elastic-search service.
I have two options:
1. put the ...
1
vote
1answer
23 views
msearch not working with bool must
Elasticsearch version - .90.1
The following works perfectly.
cat names
{"index":"events","type":"news"}
{"query":{"term":{"Type":"MarketEvent"}}}
{"query":{"term":{"Type":"MarketEvent"}}}
curl ...
0
votes
1answer
9 views
What are the best elasticsearch CookBooks?
I'm new in ElasticSearch and I wonder if there is any good CookBook about this technology? (deployment, usages, ...) I've search in stackoverflow already but I didn't found any interesting ...
0
votes
2answers
14 views
ElasticSearch Query
I need to make a query in elasticsearch, such that, in the following text:
"I want to go on holiday to New York with my family" find: "New York" in the field of a nested.
I in my data I have a field ...