I frequently need to restrict searches to my own notebooks, but have no way of doing so. Simply adding “mootari” won’t suffice, as it will also include notebooks where I get cited or my notebooks get imported. The weight (order) of the results also adds no noticable preference to my own notebooks.
Suggested solutions:
Boost current user’s notebooks:Always list the current user’s notebooks first before any other notebooks. That way a user either knows when to stop looking through results, or can quickly scroll past their own notebooks.
Special treatment of “@”: It’s my understanding that most non-alphanum characters, including “@”, don’t get indexed. I’d suggest allowing the “@” prefix to limit searches to a specific user. Additionally, if given multiple user names, an OR combination of these conditions might be sensible, as a notebook cannot be owned by multiple users.
I agree. I find myself wanting to search my own notebooks on an almost daily basis and would love to see this become a high priority.
My standard workaround for searching my published notebooks is to use Google site search. For example, to remind myself how I’ve used Object.assign in the past, I might enter the following search: “Object.assign” site:https://observablehq.com/@mcmcclur
This works surprisingly well but, again, it can only work for published notebooks and it’s hardly ideal.
I too would want better search, with faceting on dates, topics, authors and so on. But I’m often using @fil something and it already works quite well, giving me my notebooks plus the occasional notebook that contains @fil in text or code. Not 100% “my notebooks” but close enough.