Jonathan Moody

Results 101 comments of Jonathan Moody

Other ideas from ES documentation: https://www.elastic.co/guide/en/elasticsearch/reference/8.3/tune-for-search-speed.html https://www.elastic.co/guide/en/elasticsearch/reference/8.3/tune-for-search-speed.html#search-as-few-fields-as-possible Hard to say what effect this would have. But 6 fields are being searched currently: https://github.com/lbryio/hub/blob/34c5ab2e56c8f3234ac068ec0f40ac339a3f8708/hub/common.py#L907

Another observation... The `--query_timeout_ms` (10s default) is passed into constructor AsyncElasticSearch() https://github.com/lbryio/hub/blob/35483fa0b1d3eb044659fc3c294317664dcaa431/hub/herald/search.py#L62 However, there are ***API-level*** timeout params accepted for individual calls to ES: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/config.html#_api_and_server_timeouts API-level timeout for search: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-your-data.html#search-timeout...

Here's the search invocation (no timeout=X): https://github.com/lbryio/hub/blob/34c5ab2e56c8f3234ac068ec0f40ac339a3f8708/hub/herald/search.py#L208

This is based on the "more like this" query feature of ES: https://www.elastic.co/guide/en/elasticsearch/reference/8.3/query-dsl-mlt-query.html

Was this query directed to (python) hub? There is a possible related bug for the (go) herald https://github.com/lbryio/hub/issues/75

Would agree that the problem lies with reposts. However, I found an old repost (Nov 2020) on the channel (@DistributedBarbecue:3) that is returned even when fee_amount >= 0 is the...

In Jun: `"height":[">=1180000","=1190000","=1209000"]` ``` swdev1@Jonathans-Mac-mini herald % tail fee3.json }, "value_type": "repost" } ], "page": 1, "page_size": 50, "total_items": 999, "total_pages": 20 } } swdev1@Jonathans-Mac-mini herald % tail nofee3.json },...

Could be similar to https://github.com/lbryio/herald.go/issues/40

I could not reproduce this against the production hubs using production SDK: ``` swdev1@Jonathans-Mac-mini herald % curl -v -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","method":"version","params":{}}' localhost:5279 Note: Unnecessary use of...

@tzarebczan Can you confirm this is no longer happening?