Just to add more clarity from my perspective of what is wanted / needed in this overall feature request. I believe there are two parts to it:
Add the Search results settings buttons like the screenshot below (same ones we get with Search results in the left side panel Search view)
Add ability to add syntax within a Search Query embed to persist the settings like a sort, show more context, collapse etc. parameters so that the Search Query embed itself can dictate how the results are showing by default.
Something like adding in the query embed: ?sort=dateModAsc?context=true ...
+1 for this. That said you’re keying off the alphanumeric task name itself whereas I am actually looking to sort by file modification data. I think both are valid options.
The embedded search query is great for time management, e.g. inserting bespoke search queries into daily notes to find the current week’s task. But some results are collapsed, meaning it might be easy to miss tasks. Currently, though in the search window, you can expand / collapse all notes, there is no such option for embedded queries.
Proposed solution
Provide the facility to set various options within the search query. These would need a special syntax , e.g.
I do like the above look … equal to the options in “Linked mentions” and search. So it looks like the code to do it like that is already there.
An option to group by first letter of the page being linked with an index at the top would be great to make large results (my music video collection for example) manageable.
EDITED after 2 hours : In the Discord I was pointed at the dataview communicty plugin that for me does exactly what I want. I still have to move the links to seperate pages but that is more like obsidian works and makes it also easier to link to seperate pages.
+1 for this. I keep a note as a catalogue for the different types of software I use, and it would be great to be able to collapse the entire embedded search.
+1 on collapse operator for embedded queries. Typically, I use queries on “maps of content” pages – that is, pages which serves as indexes into other pages. In these cases, it would be very nice to display the query results without expanding. For example, I would like to see a query for my YouTube channels related to gardening display collapsed results rather than expanded results as it now works.