docbrown/app/workers/search
Alex 8d7b95ea15
Index ClassifiedListings to Elasticsearch (#6132) [deploy]
* Add ClassifiedListingEsIndexWorker & spec

* Update ClassifiedListing model

- Add es index methods (inline and async)
- Index ClassifiedListing to es after_commit
- Add serialized_search_hash
- Update model specs for new methods
- Add serializers referenced in new model method

* Update specs

* Create DataUpdateScript to index ClassifiedListings

* Fix formatting

* Fix codeclimate :/

* Use match_array instead of keys.sort

* Change find_by! to find

* Update spec

* Update mappings for ClassifiedListing

* Update specs

* Implement refactor with Searchable module
2020-02-19 09:55:37 -05:00
..
classified_listing_es_index_worker.rb Index ClassifiedListings to Elasticsearch (#6132) [deploy] 2020-02-19 09:55:37 -05:00
index_worker.rb PageView is no longer a valid model to index (#6161) 2020-02-18 16:06:51 -05:00
remove_from_index_worker.rb Move Search::RemoveFromIndexJob to Sidekiq (#5637) [deploy] 2020-01-23 11:27:28 -08:00
tag_es_index_worker.rb Index Tags to Elasticsearch after they are created (#5958) [deploy] 2020-02-11 11:58:58 -05:00