From 58341f4ff14a66c8e3437aadce0a646cf54bb129 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 2 Dec 2021 17:15:45 -0500 Subject: [PATCH] remove unused ES fields --- lbry/wallet/server/db/elasticsearch/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/wallet/server/db/elasticsearch/constants.py b/lbry/wallet/server/db/elasticsearch/constants.py index 34c74b8cc..09bd1d1f2 100644 --- a/lbry/wallet/server/db/elasticsearch/constants.py +++ b/lbry/wallet/server/db/elasticsearch/constants.py @@ -42,7 +42,7 @@ FIELDS = { 'tx_id', 'tx_nout', 'tx_position', 'short_url', 'canonical_url', 'is_controlling', 'last_take_over_height', - 'public_key_bytes', 'public_key_id', 'claims_in_channel', 'channel_join_height', + 'public_key_bytes', 'public_key_id', 'claims_in_channel', 'channel_id', 'signature', 'signature_digest', 'is_signature_valid', 'amount', 'effective_amount', 'support_amount', 'fee_amount', 'fee_currency', @@ -64,7 +64,7 @@ TEXT_FIELDS = {'author', 'canonical_url', 'channel_id', 'description', 'claim_id RANGE_FIELDS = { 'height', 'creation_height', 'activation_height', 'expiration_height', 'timestamp', 'creation_timestamp', 'duration', 'release_time', 'fee_amount', - 'tx_position', 'channel_join', 'repost_count', 'limit_claims_per_channel', + 'tx_position', 'repost_count', 'limit_claims_per_channel', 'amount', 'effective_amount', 'support_amount', 'trending_score', 'censor_type', 'tx_num' }