+1. This would be super-helpful for MOCs.

Maybe it is a seperate request but limiting the number of results would also be very nice. I have ben using it for a while and some results become very long. Or even instead of limit 10 something like list 10 that would result in an unlimited result list but with only 10 results per ‘page’. With previous and next buttons and the number of pages in the result.

I will have to back you up on this one. I heavily use search queries because I think they have great potential to resurface information. I also try to keep things simple in my vault so I’m not that keen on using Dataview. Adding functionality into embedded queries would for sure make my life easier !

1 Like

I like this attitude. Stay independent, keep clean and flexible, make your own solution (by using multiple already-existing feature sets), if possible, and so you understand better how your system/workflow works because you cobbled it together…

1 Like

Another +1 for this

+1000

I would also love to see this feature.
Specifically, I want to query all my admonition (codeblocks) and display them fully rendered.
Currently I can only show the code version and it’s collapsed
image

A fully rendered admonition quote would like that
image

I guess that same logic would apply to any code block.

Dataview isn’t an option at the moment because it can’t search the body of the note yet.

Can a mod please add the tag for “Search” to this request. It took me a while to find this FR again because I was looking under Search tag but it is only marked as “Valuable”. Thanks! cc @WhiteNoise

+1 for this!

I see in search documentation a discussion of a “Collapse Results” toggle for search results. Is there a way to specify this in the the markdown for a page? Ie to specify this toggle in an embedded search?

CONTEXT

As with others above the use-case I have in mind is when creating pages to index content on a topic – the expanded view is far too cluttered. (*Such “maps of content” are essential features of many knowledge-management methodologies)

Feature request: allow to specify sort options in obsidian://search URI and embedded search results.

From time to time you need to specify the exact sort order for specific search.

Examples:

[All notes sorted alphabetically](obsidian://search?query=path%3A%2F)
[All notes sorted by recently modified](obsidian://search?query=path%3A%2F&sort=3)

Embedded search results sorted alphabetically:
```query
path:/
```
Embedded search results sorted by recently modified:
```query sort=3
path:/
```

3 Likes

Please move all features which exists in search pane to embeded search

Use case or problem

We have only one way to see a list.
I would like to suite it to needs.

Proposed solution

implement as a parameters all existing feature of search pane
image

Current workaround (optional)

no

Related feature requests (optional)

https://forum.obsidian.md/t/some-settings-like-sorting-order-for-query-blocks/10972/2

10 Likes

This is must have feature as one needs context or vertical-expand in embed search too

It would be very helpful to have some options like sorting order be available for query blocks.

Use case or problem

I’ve been using query blocks to create, e.g., lists of meeting notes (with date in title) but for this it might be handy to be able to specify some more search settings for each individual query block. Otherwise for me the newest meeting note ends up in the bottom which is not very helpful.

Proposed solution

Add a syntax to modify sorting order etc. using text commands

13 Likes

Instead of creating a new Feature Request I will append to this one because I think we want to create the same workflow. Like being able to get a list of document names that the query returns in a list view.

I really like the idea of embedded searches. My workflow consists of a lot of ‘Parent’ pages that link to small notes. Being able to have a big blok of all related pages (by tag) at the end would be really cool.

Being able to control the output would also be amazing! I would like to create a cloud or list of pages where a tag is mentioned like:

search: #tag
Results:
> Page X
> Page Y
> Page Q

Or in a ‘running output’ like:

Results:
Page X, Page Y, Page Q
4 Likes

Maybe could be merged with: Explicit `sort` parameter in query syntax - #2

Good find, thanks. My request is a bit broader though. I wrote sorting order as an example but I think the other search options like auto-collapse or show-more-context would be similarly interesting for some workflows.

2 Likes

bumped …
I too would like to see some code for the match case, collapse results, show context and change sort order options in search. So you can use them in embedded searches.

Would be great to have something like limit:5 to limit the number of search results in an embedded search.

My use case is to shown an embedded search with the last 5 contact moment with a certain person on their own page. Only from the daily’s folder as that is where I note my contactmoments.

The limit:5 would be great but especially the change sort order, maybe somthing like this:

sort:<asc / desc>:<cdate / mdate / name> would be great.

All other options could be set by a boolean value : TRUE / FALSE

1 Like

Adding additional options that are available in sidebar searching pan to embedded queries. like mass collapsing etc

Thank you

3 Likes

another thing I encountered is that search results can be very messy sometimes. Like when I search in blocks (block:()) I still get multiple answers for a single blocks. But the more reasonable sort of showing the results would be to add give me all the block which at least one search result been positive for them(no matter how manytimes). I think at least adding an option for this would be very helpful

Thanks