tire Questions

1

Solved

I tried to use Post.search(keyword, :size => 10) and Post.search(keyword).size(10). but non of these will work.
Hughes asked 12/1, 2013 at 15:33

1

I'm indexing a data set for elasticsearch using Tire and ActiveRecord. I have an Artist model, which has_many :images. How can I index a method of the Artist model which returns a specific image? O...
Bricklaying asked 28/11, 2012 at 7:37

5

I want to use ElasticSearch + Tire to search stored in MongoDB. However, I'm getting the following error when I try to perform a search: Tire::Search::SearchRequestFailed in SearchController#inde...
Samp asked 19/4, 2012 at 2:24

1

Solved

I'm having trouble getting the highlighting to work with Elasticsearch (and Tire) in a Rails app. I can successfully index PDF attachments and query them but I cannot get the highlighting to work. ...
Anatropous asked 29/8, 2012 at 3:30

3

Solved

I want to filter the private boolean of my class so it only shows resources that aren't private but it's not working for me. (I dumbed down the code tremendously) mapping do indexes :private, typ...

1

Solved

While reading the Tire doc, I was under the impression that you should use either mapping or to_indexed_json methods, since (my understanding was..) the mapping is used to feed the to_indexed_json....
Su asked 26/7, 2012 at 14:54

1

Solved

I have a staging & production instance of a Rails 3 application (using the tire gem) on the same Ubuntu server. It appears that both of these instances are sharing the same elasticsearch index ...
Boddie asked 9/7, 2012 at 23:22

1

Solved

I use ElasticSearch on the homepage of my site. In my acceptance tests, when a user logs in, he's redirected to the homepage. But using ES in a test is expensive (need to create and delete the ind...
Tungstic asked 1/5, 2012 at 20:32

© 2022 - 2024 — McMap. All rights reserved.