Sai Bhargav
2d20d67594
[deploy] Fix listing tags bug ( #7533 )
...
* Fix listing tags bug
* Fix failing specs
* Fix failing specs
* Fix failig spec
* Fix failing specs
* Refactor code
* Fix failing specs
* Support AND/OR queries based on params
* Add tag_boolean to search params
2020-04-28 16:04:09 +02:00
Molly Struve
4ab202ab0a
[deploy] Execute Reading List searches in Elasticsearch ( #7440 )
...
* Execute Reading List searches in Elasticsearch
* add additional readinglist front tests
2020-04-24 10:30:17 -04:00
Molly Struve
73120a67c9
[deploy] Bug Fix: Use strings with colons for all Datadog tags ( #7442 )
2020-04-22 12:24:57 -05:00
Molly Struve
556bb565bf
[deploy] allow option to search by all tags in Elasticsearch for reactions ( #7425 )
2020-04-21 18:30:04 -04:00
Molly Struve
4f374acbc5
[deploy] filter Elasticsearch by org id properly ( #7389 )
2020-04-20 10:01:30 -05:00
Ben Halpern
3d4944ebae
[deploy] Add video duration to search results ( #7377 )
2020-04-18 15:16:38 -04:00
Ben Halpern
a0504f5f77
[deploy] Include organization in feed_content results ( #7374 )
2020-04-18 13:07:59 -04:00
Molly Struve
2c99424205
[deploy] Execute Feed Searches through Elasticsearch (Round 2) ( #7231 )
2020-04-17 08:38:07 -05:00
Molly Struve
2d40174a92
implement backend search functionality for readinglist Reactions ( #7308 )
2020-04-17 08:37:22 -05:00
Molly Struve
7be90d1b4b
[deploy] overwrite name field for honeycomb when sending Elasticsearch requests ( #7338 )
2020-04-17 12:30:29 +02:00
Molly Struve
223703f0d3
[deploy] Update URLSearchParams to handle arrays correctly for Rails ( #7300 )
2020-04-15 14:58:18 -05:00
Molly Struve
b10668a454
[deploy] Create a Bulk Index Elasticsearch Worker ( #7265 )
2020-04-15 09:08:59 -05:00
Molly Struve
07050baa28
[deploy] Refactor search_documents Method Into Search Base.rb Class ( #7260 )
2020-04-14 08:39:50 -05:00
rhymes
63893e4ac1
Upgrade twilio-ruby to 5.33.0 and elasticsearch to 7.6.0 ( #7208 )
...
* Upgrade gems
* Switch ES client to Patron
2020-04-10 15:30:51 +02:00
Molly Struve
26acabce51
[deploy] add custom sorting and scoring for feed content ( #7199 )
2020-04-09 18:30:27 -04:00
Molly Struve
578d09a54e
[deploy] return cloudinary url to ensure videos are viewable in feeds ( #7157 )
2020-04-08 15:47:47 -04:00
Guilherme Vinicius Moreira
9618ccc927
[deploy] Add new user attributes to elasticsearch ( #7123 )
...
* chore(user): add new user attributes to elasticsearch
* Fix schema.rb
2020-04-07 13:16:15 -04:00
Molly Struve
5f322210ce
[deploy] Separate counts by class_name from Feed Content index ( #7069 )
2020-04-03 13:36:13 -05:00
Molly Struve
2ef17099ed
By Default Search for Users that are not Banned ( #7052 )
...
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2020-04-03 10:03:24 -05:00
Molly Struve
bdd4e59f0f
[deploy] return fields needed to populate the view for podcast episodes ( #6986 )
2020-04-02 09:21:25 -05:00
Molly Struve
72f04e4a13
Create Reactions Index in Elasticsearch and Serializer ( #6899 )
...
* create index for reactions and their reactables, set up serializer
* use respond_to instead of checking type
* remove rubocop change
* add last_indexed_at to reactions index
2020-03-27 18:44:54 -04:00
Molly Struve
974ba032da
Add last_indexed_at Timestamp to all Elasticsearch indexes ( #6913 )
...
* add last_indexed_at to all Elasticsearch indexes
* use Time.zone.parse
2020-03-27 18:43:46 -04:00
Alex
129cd3ba83
Log Elasticsearch index counts to Datadog ( #6845 ) [deploy]
2020-03-25 15:52:54 -05:00
Molly Struve
5e28bbc133
Filter source when returning feed content docs ( #6834 )
2020-03-25 11:17:24 -05:00
Molly Struve
eab6c02f33
More Backend Feed Search Updates ( #6784 ) [deploy]
2020-03-24 08:15:02 -05:00
Molly Struve
d39b2133a4
Add Additional Search Fields and Search Highlighting ( #6734 ) [deploy]
2020-03-20 08:59:58 -05:00
Molly Struve
4a4d83a6cf
Add Feed Content Backend Search Code ( #6699 ) [deploy]
...
* Add search code for feed content to the backend
* add search for class_name
2020-03-18 15:51:26 -04:00
Molly Struve
ea70d4c4b9
refactor query builders but pulling out common logic into a base class ( #6678 )
2020-03-18 08:34:20 -05:00
Molly Struve
92a8d624c3
move pagination methods to base search class ( #6683 ) [deploy]
2020-03-18 09:14:07 -04:00
Molly Struve
1997e66741
Implement User Search backend ( #6606 ) [deploy]
2020-03-12 14:57:10 -04:00
Michael Kohl
909519c5d5
Search::Client refactor ( #6440 )
...
* Refactor Search::Client
* Fix stack overflow error
2020-03-10 22:21:12 +01:00
Molly Struve
3703ba3111
Create Feed Content index for Articles and Podcast Episodes and User Index ( #6418 ) [deploy]
2020-03-03 08:00:16 -05:00
Alex
26ed296475
Add published field to ClassifiedListing Search ( #6412 ) [deploy]
...
* Add published field to ClassifiedListing
* Add back query_conditions conditional
* Don't allow searches for unpublished listings
* Fix comment typo...oops!
2020-03-02 13:56:07 -08:00
Molly Struve
2ef6b5ac50
refactor search method to base class ( #6370 ) [deploy]
2020-03-02 08:37:08 -05:00
rhymes
30e472edf6
Replace last SearchClient with Search::Client ( #6359 ) [deploy]
2020-02-28 11:53:58 -05:00
rhymes
e27c9b77a3
Refactor Elasticsearch client access ( #6307 ) [deploy]
...
* Add Transport module to Search
* Test public methods only
* Add Search::Client with exception handling
* Remove Transport and request do
* Replace SearchClient with Search::Client
2020-02-28 11:38:37 -05:00
Alex
e40c28117b
Search ClassifiedListings backend code ( #6348 )
...
* Add search methods
* Add spec for new search methods
* Add QueryBuilder for ClassifiedListing
* Add QueryBuilder spec for ClassifiedListing
* Refact build_query in ClassifiedListings
* Refactor logic for filter and query conditions
* Refactor index_documents to helper_method
* Update elasticsearch helper for single objects
* Refactor specs from stubbing to record update
* Update search and specs for query_builder
* Refactor set_size
* Update Search::ClassifiedListing
- Add DEFAULT_PAGE constant
- ADD DEFAULT_PER_PAGE constant
- Add pagination
* Fix paging
* Add pagination specs
* Remove manual Array conversion for Array.wrap()
* Change guard clause to .key? for readability
2020-02-28 10:51:33 -05:00
Alex
037b2fa432
Fix pagination on Search::ChatChannelMembership ( #6328 ) [deploy]
...
* Fix pagination logic
* Fix typo slig --> slug
* Add spec for returning empty Array vs nil
* Add spec for pagination
* Change expectation of test for empty Array
2020-02-27 09:56:05 -08:00
Molly Struve
c64ca9750c
Default search by active chat channel memberships only ( #6325 ) [deploy]
2020-02-27 08:12:36 -05:00
Molly Struve
8f0bfa5e08
Implement Search for Chat Channels with Elasticsearch ( #6282 ) [deploy]
2020-02-26 11:06:38 -05:00
rhymes
58f91d2b16
Centralize search error handling ( #6227 ) [deploy]
2020-02-25 14:03:49 -05:00
Molly Struve
5f50561d82
Backend ChatChannelMembership Search using Elasticsearch ( #6217 ) [deploy]
2020-02-21 10:25:38 -05:00
Molly Struve
318ee32cdd
Add worker for removing Elasticsearch docs ( #6213 ) [deploy]
2020-02-21 08:13:36 -05:00
Molly Struve
74118c2d1f
Setup ChatChannelMembership Index ( #6152 ) [deploy]
2020-02-18 13:30:52 -05:00
Molly Struve
06b44bce26
Refactor Common Search Methods into a Base Class ( #6133 ) [deploy]
2020-02-18 10:43:47 -05:00
Molly Struve
7ff79f77b8
Search Tags in Elasticsearch from Classified Listing and Post Creation ( #6024 ) [deploy]
2020-02-17 08:16:45 -05:00
Alex
d32dc38bed
Move ClassifiedListing mappings to JSON file ( #6061 ) [deploy]
2020-02-13 14:39:39 -08:00
Molly Struve
9f4dad77da
Move Elasticsearch mappings to config folder as json file ( #6051 ) [deploy]
2020-02-13 11:33:47 -05:00
Alex
0f32eb9db0
Add Elasticsearch index for classified_listings ( #6031 ) [deploy]
2020-02-12 18:24:01 -05:00
Molly Struve
acfdd11b50
update cluster settings to prevent auto index creation, update destroy to remove ALL indexes ( #6042 )
2020-02-12 15:21:38 -05:00