Introduction to search
发布时间:2026-09-15 | 浏览:1
Introduction to search | Observable | Observable Comments ( 24 ) Fabian Iwand Sep 22, 2020 Since AND is the default, is this query identical to [ hello -world ]? Wiltse Carpenter Sep 23, 2020 That's right. And it is also the same as hello AND -world since AND (must be all-caps) is a synonym for &. Fabian Iwand Sep 23, 2020 May I suggest to remove "&" from this example? Otherwise readers may think that it's required for the NOT operator. Jacob Rus Jan 4, 2021 Searching for *only* a negative, e.g. `-world` or `-@mbostock` seems to trigger an error. A bunch of empty results render as it stalls for a while, and then eventually the page is replaced by "Oops, an unexpected error occurred." It seems like it should be conceivably possible to do this kind of search, returning everything that doesn't match the negated term, but if not perhaps a more explicit error message should appear right away. Reply Fabian Iwand Sep 22, 2020 The duplicate sentence is probably not intentional? Wiltse Carpenter Sep 23, 2020 Thanks Reply Yuri Vishnevsky Sep 29, 2020 Is there / will there be a way to search for notebooks that have file attachments? I just found myself looking for notebooks with a certain word in the title that have attachments because I am looking for a sample file of a particular type. Edit: Looking for notebooks with both a certain word in the title, and that also have file attachments. (side feature request: comment editing! :) ) Nikita Sharov Oct 2, 2020 "is:private", with and without quotation marks, matches published notebooks containing "is" and / or "private". Fil Jan 21, 2021 would be nice to search *collection:name* Jacob Rus Jan 26, 2021 Is there any temporal search? Notebooks modified since X date, or notebooks created before Y date? Fabian Iwand Aug 5, 2021 author:@name is missing from this list. Cobus Theunissen Aug 13, 2021 author:@name was added and is:private should now work as intended. Zan Aug 20, 2021 +1 to Fil's *collection:name* Wayne Sutton Apr 27, 2022 +1000 to search for collections Zach Bogart May 18, 2022 +1 to "collection:name": Seems I'm late to the party, but yes, would be super helpful! Cobus Theunissen May 18, 2022 So collection:name would search for notebooks in a collection called name? I guess this would be useful for very large collections? Zach Bogart May 18, 2022 I think so, could help to chain with a desired author. While this is all about searching for "notebooks", it could be useful to be able to search by "collections". (Ex. "Give me all the collections that include Plot in the title") Fabian Iwand May 18, 2022 See also the feature request in the feedback repo: https://github.com/observablehq/feedback/issues/360 Cobus Theunissen Feb 2, 2023 We now have collection:name as an option. Reply Nikita Sharov Oct 1, 2020 Works for owner / creator / author !== inquirer; "owner:@nikita-sharov" leads me to "Oops, an unexpected error occurred." I can't restrict the search to my notebooks only. Nikita Sharov Oct 15, 2020 Works now as expected. Reply Nikita Sharov Oct 1, 2020 Works for user-name !== inquirer's user name; "@nikita-sharov" gives me 0 notebooks / "We couldn’t find any documents that matched your search query." Wiltse Carpenter Oct 14, 2020 Sorry about that, it should work for @nikita-sharov now. Nikita Sharov Oct 15, 2020 No problem; it does. Reply Add comment Observable Sign in Observable 50 Reply Reply Reply Reply Reply Add comment Subscribe to notifications Introduction to search | Observable | Observable