Order/Filter searched topics by latest update to First Post

hello :purple_heart:

I would like to know if it is possible to search through topics/posts, either by the user interface or by the API endpoint /search.json depending on their update date, either by ordering them by latest update or by filtering topics updated before/after a certain date

ty in advance !

Hello,

Unless I misunderstood, did you try the advanced search?
https://meta.discourse.org/search?expanded=true

image

Also worth to be noted:

1 Like

This isn’t what I mean - what I really want is to retrieve topics of which the main post has been edited after a given YYYY-MM-DD date on the whole site with the search

For instance, if you had two topics created on 2024-02-11, but one of them was edited on 2024-02-12, than i would like to be able to search for that later topic only (edited-after:2024-02-12 for instance)

Oh, I see!

Hmm, the only way I can think of, is to use Discourse Data Explorer to create a query specific to your needs.

Then, you can follow this guide to use it via the API: Run Data Explorer queries with the Discourse API. :thinking: