I’d expect that this search should bring up more results than it did - I know we’re capped to a maximum of 50 results, but the following only has a single result:
https://meta.discourse.org/search?expanded=true&q=posts_count%3A100
I’d expect that this search should bring up more results than it did - I know we’re capped to a maximum of 50 results, but the following only has a single result:
https://meta.discourse.org/search?expanded=true&q=posts_count%3A100
Turns out post_count
was not correctly mapped for advanced search.
post_count
means exact post count. Turns out only one topic has 100 posts.
Looks like we want a PR to add a min_post_count
filter as well:
https://github.com/discourse/discourse/blob/master/lib/search.rb#L251-L253
cc @cpradio
Ah, so the translation is wrong. Easiest thing to do right now is to change “Minimum Post Count” to be “With Post Count of”
Funny enough, I originally had it that way and changed it based on @erlend_sh’s suggestion
https://github.com/discourse/discourse/pull/4576
I’ve gone ahead and added support for min_post_count