Skip to content

[FR] Limit or filter number of results from org-ql-search #326

Description

@SterlingHooten

Is there a way to limit or "take" a number of results in org-ql-search? I see you can do this with an org-ql-block but I don't see this in the standard org-ql-search. I'm imagining a key like ":take".

I'm trying to implement the notion of "search for headings edited around the same time". All of my headings have a MODIFIED property which contains a timestamp. I want to be able to return a list (or org-sidebar buffer etc) with the 10 or 15 headings that were edited the closest in time before, and then also those closest and were edited after.

I can implement "all headings within some time delta" of a heading, which is useful, but not the same.

Thanks!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions