In a Rails app Chewy gem is used to handle ElasticSearch indexing. I have a block of code in an after_commit and I need it to be run once a new record ...
In a Rails app Chewy gem is used to handle ElasticSearch indexing. I have a block of code in an after_commit and I need it to be run once a new record ...
I have a simple email analyzer And a field with multiple email values: After indexing it I tried to find it, I need to find it by part of email: ...
I have problem with connect Chewy to my Rest Api app with Ruby on Rails. I have simple Item and controller with base CRUD. In this example i add only ...
When i delete product in product table then productIndex not update. My Query: Product.friendly.where(slug: params[:id]).first.destroy_fully! Model ...
I have been using the gem chewy in my rails app, to create index and search in ElasticSearch. Previously, I was using elastic search version 5.6, now ...
Suppose that I have the following code: The socket event is sent to the client then the client creates an http request to get the new user informat ...
result contains below information Requirement I wan to filter record based on: id must match And draft_id should be either non_draft or dr ...
§Hi guys, i have problem with geo_point type definition My Chewy Index code: Also I have relation coordinate has_one location, location belongs_to ...
steps: - elasticsearch 2.3 - create documents in ES => ~ 1 GB of disk is used - update same documents in ES => ~ 2 GB of disk is used Why it ha ...
While inserting the below document in an Elasticsearch index: I'm getting the following Message: Error: object field starting or ending with a ...
Requirement sort product with custom_field_values matching custom_field_id Mapping Example Data EXPECTED I should be able to sort who ...
I have items for rent. The User specifies a start_date and end_date. Every item has multiple blocked_periods also with start and end date. Goal: Que ...
My question is about changing a field type in my elasticsearch index using the elasticsearch ruby client chewy. I am trying to update a field type in ...
I have a user in my Rails app that I am trying to manually index. In the console I am doing: but the result of the index is: ...notice the blank ...
I'm using Toptal's Chewy gem to connect and query my Elasticsearch, just like an ODM. I'm using Chewy along with Elasticsearch 6, Ruby on Rails 5.2 ...
I am using the Chewy gem to integrate Elasticsearch into my Rails project. I set up the index for a model called (Listing) and my search interface whe ...
I have a query where I am using search_type as which works fine and gives the result I want. I can also specify the explain in the body like this ...
I'm running a should query with any empty list against an index. I'm expecting it to return 0 results since there are no should queries/filters to mat ...
I have to merge to query and filter. we did this in elastic search 2.4 using filter_mode(:must) after merging query and filter. Now filter_mode and q ...
I’m trying to create a query which returns available products with no reservation at that date (or date range) or no reservations at all. It’s driving ...