Skip to content

Using param limit_claims_per_channel doesn't return always all claims that would excpected #114

@keikari

Description

@keikari

I think currently on claim_search hub looks up to 1000 items for specific params.
And if I do claim_search with following params:

"limit_claims_per_channel":1,
"channel_ids": <43-channel_ids>,
"page_size": 36

I may only get 31 items in total(even though there are more claims that could be returned), since there are only claims from 31 different channels in those 1000 items.
If using smaller page_size there are more items that get returned in total. Since it's able to fill more pages, I guess.

This can currently be seen easily on spooky category on Odysee, when ordering by effective amount https://odysee.com/$/spooky?order=top with release_time removed
(44 channel_ids, but only 31 claims returned in total)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions