Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListArticle filter & sorting fix #243

Open
MrOrz opened this issue Jan 20, 2021 · 1 comment
Open

ListArticle filter & sorting fix #243

MrOrz opened this issue Jan 20, 2021 · 1 comment

Comments

@MrOrz
Copy link
Member

MrOrz commented Jan 20, 2021

From Profile page pilot study

  • Article type filter & article-reply-from-userId filter
    • Currently the two filters are independent
      • 目前是「列出 user 有回過、且有一個 reply type 符合要求的 article」
    • All filters related to article-replies should be collected together under bool query so that it really filters out articles with at lease one article reply that matches all specified article-reply filters
      • So that we can achieve「列出 user 回成該 reply type 的 article」
    • Related code
  • Sort using most commented
    • 可以透過 nested filtered sorting 達成: filter 出該使用者的 articleReply、用 articleReply 的 positiveFeedbackCountnegativeFeedbackCount 或加總或相減來排序
@MrOrz
Copy link
Member Author

MrOrz commented Feb 2, 2023

article reply filter implemented in #283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant