e032c13bfb
share snap list, Fuzzy query by name or description is supported, but the current implementation is first get all the shares, then In the API layer, the for loop is used to achieve fuzzy matching, if the num of shares is big, It will seriously affect the speed of fuzzy matching.Therefore, we should let the database do the matching to speed up the query. Moving the pagination params (limit, offset, sorting) to the database layer for snapshot list, to optimize query speed. Closes-Bug:#1881865 Partial-Bug:#1831094 Change-Id: I283e78c9e7c2dd626d94cf6c1b01d4e2f9ae8097 |
||
---|---|---|
.. | ||
__init__.py | ||
api.py | ||
models.py | ||
query.py | ||
utils.py |