tire Questions
3
Solved
I'm using elasticsearch to get a mapping of ids to some values, but it is crucial that I keep the order of the results in the order that the ids have.
Example:
def term_mapping(ids)
ids = ids.s...
Annelleannemarie asked 9/1, 2013 at 14:29
3
Solved
So I have installed elasticsearch through brew:
$ brew install elasticsearch
Then when I run the elasticsearch server:
elasticsearch -f -D es.config=/usr/local/Cellar/elasticsearch/0.19.3/confi...
Tussock asked 5/2, 2013 at 16:41
4
Solved
I've been using elasticsearch as a search engine for my Rails application, however it stopped working properly due to a reason i can't understand. When making a curl request to elasticsearch server...
Jerejereld asked 3/9, 2013 at 9:40
1
I have an index in elasticsearch (tire) with an array field and custom analyzer for ngram with min_ngram = 1 and max_ngram = 10.
Field example
field1: [foo, bar, bof]
I construct a query with v...
Remittent asked 6/2, 2013 at 21:53
4
Solved
I would like to be able to match a multi word search against multiple fields where every word searched is contained in any of the fields, any combination. The catch is I would like to avoid using q...
Linn asked 15/3, 2013 at 1:10
0
Hi i am working on a RoR project with ruby-2.4.0 and rails 5. I am using elasticsearch for searching in my app. I have a model venue_details as follows:-
class VenueDetail < ActiveRecord::Base
...
Enforce asked 11/5, 2018 at 12:0
5
How can I delete data from my elasticsearch database without deleting my index mapping?
I am Tire gem and using the delete command deletes all my mappings and run the create command once again. I ...
Gaylenegayler asked 22/1, 2014 at 10:4
3
Solved
I'm having trouble understanding the concept of analyzers in elasticsearch with tire gem. I'm actually a newbie to these search concepts. Can someone here help me with some reference article or exp...
Thacher asked 11/10, 2012 at 9:41
1
Solved
I have model Shop each has relation with Timetable which could contain something like:
shop_id: 1, day: 5, open_hour: 7, open_minutes: 0, close_hour: 13, close_minute: 30
shop_id: 1, day: 5, open_...
Theiss asked 13/9, 2014 at 12:50
1
I want to integrate Elasticsearch with my Rails 3.2 app. I used Tire before and it was perfect and straight forward, now it is retired based on its documentation
NOTICE: This library has been re...
Tapeworm asked 4/5, 2014 at 16:13
2
Solved
I have a question about highlighting nested object fields.
Consider record like this:
_source: {
id: 286
translations: [
{
id: 568
language: lang1
value: foo1 bar1
}
{
id: 569
language...
Corporeity asked 5/3, 2013 at 17:44
3
Solved
there is any way to integrate the new Elasticsearch gem for ruby to rails, the tire was great but retired since two month and replaced by the new gem, however, no integrating functions with rails y...
Pointdevice asked 31/10, 2013 at 10:34
1
Solved
For example, if something has a higher favorites_count I want it to be more relevant, or if it is updated more recently it is more relevant. Is there a way to do this? This is different than the st...
Alyss asked 18/1, 2014 at 18:29
2
I have an ElasticSearch server running that indexes and searched documents using the excellent Tire gem. Everything works great, except I'm not sure how to go about manually removing documents from...
Counterwork asked 9/10, 2012 at 14:28
1
Solved
I want the queries to return a score that gets calculated like:
occurrence of each query term in title + description / number of query terms
for example
EbSearch.add [
new_job( id: 1, title: "...
Leveridge asked 23/7, 2013 at 16:23
1
Solved
I have "documents" (activerecords) with an attribute called deviations. The attribute has values like "Bin X" "Bin $" "Bin q" "Bin %" etc.
I am try...
Augustineaugustinian asked 25/4, 2013 at 2:19
1
Solved
Running: Ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0], Rails 3.2.0
I'm trying to get elastic search working through the TIRE gem across associations. For some reason I keep getti...
Balmy asked 12/3, 2012 at 17:26
1
I' m working on a rails app. using gem tire as a bond for elasticsearch.
in a multistep form I would like to index at the end of the procedure.
is there a way of skipping indexing on create.
gue...
Lavabo asked 6/3, 2012 at 16:12
1
Solved
I'm using elasticsearch for my Ruby on Rails application. I want to use char_filter to replace some characters with whitepace.
In tutorial of elasticsearch it says something like:
"mappings" : ["...
Sinuous asked 19/3, 2013 at 13:58
3
Solved
I was wondering how you were testing the search in your application when using ElasticSearch and Tire.
How do you setup a new ElasticSearch test instance? Is there a way to mock it?
Any gems you ...
Chanel asked 12/3, 2012 at 23:9
1
Solved
I have a request using terms looking like :
{
"query": {
"bool": {
"should": [
{
"terms": {
"subjects.id": [
1,
2,
3
], boost: 3
}
},
{
"terms": {
"qualification_type.id": [
3,
5
...
Brokaw asked 27/2, 2013 at 11:23
2
Solved
I'm using ElasticSearch with Tire to index and search some ActiveRecord models, and I've been searching for the "right" way to index and search associations. I haven't found what seems like a best ...
Chellman asked 27/7, 2012 at 17:17
2
Solved
How to avoid using sleep 1 in that example for wait until ES indexing will be finished?
describe Question do
before do
create :question, content: "Some test question",
app: @app
create :questi...
Tut asked 29/1, 2013 at 19:12
0
I'm exploring various options for a search engine for our rails-app/data. I was able to make sunspot/solr work and am currently exploring ElasticSearch as an alternative but couldn't get the same t...
Aswan asked 29/1, 2013 at 9:19
1
Solved
I have a Rails application that is now set up with ElasticSearch and the Tire gem to do searching on a model and I was wondering how I should set up my application to do fuzzy string matching on ce...
Claypan asked 18/1, 2013 at 2:8
1 Next >
© 2022 - 2024 — McMap. All rights reserved.