Search Results for "searchkick-activerecord-recordnotfound-at-tools-autocomplete"
Lessons
Forum Threads
Searchkick: Reindex on model in multitenancy through default scope app
28
General
Has anyone had any success indexing their multitenant data with searchkick? I followed the suggested article in the readme (https://www.tiagoamaro.com.br/2014/12/11/multi-tenancy-with-searchkick/) ...
Chris Oliver replied
Searchkick search_data not working
4
Gems / Libraries
I'm playing around with elasticsearch and searchkick, but I can't seem to get search_data working. Searchkick seems to ignore it all together.
If I only put one attribute in, it still searches on ...
Chris Oliver replied
Searchick filter with scope
11
Gems / Libraries
Has anybody used searchkick with a scoped model?
I have an `Article` model with `scope :published, ->{ where(status: "Published") }`.
So In my `ArticleController` I did the following:
```
quer...
Owen replied
Solved
How do I search through associations with searchkick (elastic search) together aggregations
0
Rails
Hello folks,
I’m trying to do a search query through an association. Here’s what I have.
I have Property model which has_many :characteristics, as: characteristicable on one side. On the other si...
Owen posted
Elasticsearch server with Hatchbox timing out
19
General
Got another hatchbox issue trying to figure out. With elasticsearch now, I have a dedicated cluster that only runs elasticsearch. In the ENV there is the elasticsearch_url and ive SSH into the el...
Chris Oliver replied
Preferences & Settings with ActiveRecord::Store Discussion
24
General
Great stuff
sthapit replied
How does Searchkick/ElasticSearch impact how I should structure my database indexes?
1
Gems / Libraries
I have a couple of questions about implementing Searchkick and ElasticSearch in general.
* Let's say I'm using ElasticSearch to search for products like so:
```
# usage
Product.search "apples", fi...
Mark Doerr replied
how to setup elasticsearch on Heroku?
3
Servers
I implemented the elasticsearch/searchkick on my app and it works on develoment. But it's not working on production. I did heroku logs and these are the errors:
"Completed 500 Internal Server Erro...
Joe Guerra replied
Improve performance of simple searching method
1
Rails
Hi,I have been building an app these days. The functionality is nothing fancy at all, I have to connect to a client's SOAP webservice, fetch some data, save it into my pg database and build a searc...
Ernesto Gimeno replied
Setup Searchkick with Minitest
0
Testing
Hi everyone,
Just followed the searchkick official's docs to setup the tests, so that I can test my search controller:
Let's assume I have the following model:
```
class User < ApplicationR...
Patrício posted
Searchkick and Anycable-rails hangs server
1
Rails
Hello! I have an issue in my app that I just cannot solve.. I have been using Anycable in production for a year now and it have worked great. Then I added Searchkick to improve the search experienc...
Marcus S replied
Searchkick/ElasticSearch not accepting Rails/Ruby booleans?
0
General
Hey everyone! I'm trying to get elastic search to work with a checkbox, but as they return a 0 or 1 as booleans, elastic search doesn't accept these params. Does anyone know how to get elastic sear...
Cory Johnson posted
Issues with filter with searchkick elastic rails
0
Rails
I am currently on the part where you add
<% if params[:price]==bucket["key"].to_s%>
<%= link_to bucket["key"], request.params.except(:price)%>
<% else %>
<%= link_to bu...
How do I filter records through other models
1
Rails
Desired result:
I want 2 things:
In my list of aggregation links I want to be able to add the aggregation of property characteristics (e.g., properties with a balcony), property type (e.g., villa...
Owen replied
Using elasticsearch/searchkick to run a search bar via my navbar and show results in a search.html not index.html? ..
0
General
Hello,
I just finished going over Chris's two great railscasts dealing with search. However, I wanted to put my search bar on my navbar so that whenever someone searches the results I will be take...
alexsunny posted
Searchkick Aggregation for has_many_through association
1
Gems / Libraries
Hey guys,
I have an ecommerce product catalogue, where I store products, product options and option values in this kind of fashion:
```
# models/product.rb
has_many :option_values
has_many :optio...
Searchkick - Searching Polymorphic Associations
1
Gems / Libraries
I have an activity feed (thanks Chris for the lesson) and I would like my users to be able to search the feed for search terms. The activity is created on a nested record. Is there a way to search ...
Terry Bonds replied
How do I reindex all posts in Searchkick / Elasticsearch?
0
Rails
Hey, I discovered a problem with Rails app. When I run `rails db:seed`, I generate 10 posts and store them in the database. I also have an API where I pull data as JSON, which gets parsed and data ...
Searchkick Aggregations - Need to show Users only from Current.account
7
Rails
My App uses Current.account from ActiveSupport and i need to show only Users (for filtering) who belongs to the Current.account.
The following Setup for Search Filters with Aggregations (searchkic...
Chris Oliver replied
Screencast Suggestion - ElasticSearch / Datatables (with Search Panes)
3
Site Feedback
Seems to be a natural extention to this Screencast:
https://gorails.com/episodes/search-filters-with-elasticsearch-aggregations?autoplay=1
https://datatables.net/blog/2020-01-13
Dan Tappin replied
Solved