Search using this query: [rating:5] or ["rating":5]
Expected result
The file should appear in the search results.
Actual result
No files appear.
Environment
SYSTEM INFO:
Obsidian version: v1.4.5
Installer version: v1.2.8
Operating system: Arch Linux
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Every now and then I find myself doing something like line: (rating 5) to search for properties with some value. The line operator usually is a good enough limiter for my searches to yield good results.
I’ve even used this syntax for coloring nodes in the graph view. I.e. it lends itself very easily for matching against one tag in a list of tags.
I cannot test, and I certainly do not want to test you, but I would have thought line: (foo bar) produces an OR logical operator? So any note with lines having ‘foo’ and ‘bar’ on them will be displayed?
So line: ("foo bar") would target exact matches. In which case the brackets and even line: are superfluous.
Edit:
My mistake.
It isby default an AND operator but the matches don’t need to come in that order. And I almost never search for short lines such as the frontmatter or dataview properties.
Would be nice to have the search matches panel show the line numbers as well.
I had the same issues but I’m glad it’s going to be implemented yet, but I would like to know/suggest that when it’s implemented if we could search for intervals like [age: 10-15] to show all notes with this property in that interval, or only above or below a certain value like [age: >18].