Setup Searchkick Gem With Elasticsearch | Ruby On Rails 7 Tutorial

  Рет қаралды 6,801

Deanin

Deanin

Күн бұрын

Пікірлер: 17
@ledockol
@ledockol 2 жыл бұрын
Great! Thanks! PS Install elasticsearch on Mac OS: brew tap elastic/tap brew install elastic/tap/elasticsearch-full brew services start elastic/tap/elasticsearch-full Second, in GemFile change: gem "elasticsearch", "< 7.14" # gem "elasticsearch", "~> 8.5" # not worked on Ventura and elasticsearch > 7.14
@Deanin
@Deanin 2 жыл бұрын
Thank you! Pinning this for the Mac users. 🙂
@Deanin
@Deanin 2 жыл бұрын
This setup process was kind of annoying so I decided to make a video covering it. Hope it helps! PS: Video is still processing so it might be blurry until KZbin gives us a 1080p version. Sorry about that!
@PreRendered
@PreRendered 2 жыл бұрын
Dean, I don't know how may times your channel has cleared up confusions and questions as a new Rails dev. Thank you.
@Deanin
@Deanin 2 жыл бұрын
Glad to hear it! As funny as it sounds, it's also how I've cleared up a lot of these questions for myself haha.
@carltanner3632
@carltanner3632 Жыл бұрын
Super helpful, thanks Dean.
@NoobCodeSaga
@NoobCodeSaga Жыл бұрын
I've been learning so much with you, thank you.
@ddd2283
@ddd2283 2 жыл бұрын
Hi ! We using opensearch in production, it was helpfull for me!
@rafaljaroszewicz8695
@rafaljaroszewicz8695 2 жыл бұрын
I literally wanted to ask about this under your last video, nice! Also, note to people using Opensearch, it might be worth adding plugins.security.disabled: true To your opensearch.yml if you run into any connection problems related to unsafe connection(if you're just running your local stuff without https), basically what was said in the video but for Opensearch.
@fugeeohu9357
@fugeeohu9357 Жыл бұрын
Can I ask one dumb question? What happens now to the index view now that you've taken the @ out of @posts ?
@IvanOrdonezGeotechnical
@IvanOrdonezGeotechnical Жыл бұрын
Can you search the whole site and not just the Posts? Thanks
@Arnaudband
@Arnaudband 2 жыл бұрын
Hi Dean, thank you for sharing the tutorial. When I tried to run Post.reindex, I got this error: The client is unable to verify that the server is Elasticsearch. Some functionality may not be compatible if the server is running an unsupported product.
@Deanin
@Deanin 2 жыл бұрын
First time I've seen this. From what I can tell it looks like a version issue, but that's about all I could find 🙃 I'll look into this more when I get home, sorry about that
@azizdevfull
@azizdevfull 2 жыл бұрын
useful video : )
@ddd2283
@ddd2283 2 жыл бұрын
If someone catch the error - "Unathorized" or "Faraday Error" create some file below "initializers" folder with this content: Searchkick.client_options = { url: 'localhost:9200', retry_on_failure: true, user: "admin", password: "admin", transport_options: { request: { timeout: 250 }, ssl: { verify: false } } }
@huthaifaTaya
@huthaifaTaya 2 жыл бұрын
I had a problem after starting the service on wsl2 on windows 10 which prevented me from accessing the service from windows browser when hitting localhost:9200, turns out instead of 'localhost' at 3:10 i used '_local_' and it worked
@ralfspavars5690
@ralfspavars5690 8 ай бұрын
Thank you sooooo mutch! You saved my sanity
Shopping Cart Order Sessions In Rails 7 With Turbo
26:21
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 8 МЛН
ElasticSearch and Ruby on Rails - Part 1
46:41
Phil Smy
Рет қаралды 11 М.
How to use Meilisearch in Rails
20:10
GoRails
Рет қаралды 7 М.
ElasticSearch and Ruby on Rails - Part 2 - Tips
27:36
Phil Smy
Рет қаралды 3,6 М.
Elasticsearch anti-patterns and bad practices to be aware of
9:17
George Bridgeman
Рет қаралды 31 М.
How to Define Your Own Elasticsearch Mapping - S1E21: Mini Beginner’s Crash Course
15:32
Background Processing with Rails, Redis and Sidekiq
15:00
Decypher Media
Рет қаралды 61 М.
AWS Tutorials - Absolute Beginners Tutorial for Amazon Elasticsearch
1:02:11
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 8 МЛН