jplattel / obsidian-query-language

An Obsidian plugin allowing you to query your notes
176 stars 6 forks source link

[Question] What is the table schema? #22

Open cpopell opened 3 years ago

cpopell commented 3 years ago

Could we get a sample with the returned table schema? Does it show any of the returned text surrounding a searched for piece of text? Is this configurable?

jplattel commented 3 years ago

Right now it doesn't supply the returned text except for the entire content of the note.

Using fields: ['title', 'content'] in the OQL allows you to embed the content in the table, that's as far as it can currently go. I'll have a look if Fuse allows for something like the match with surrounded text.

cpopell commented 3 years ago

Thanks for the quick response! The only reason I'm thinking about this is due to my desire to create a 'Syntopicon' of my own notes - this is something that is fascinating and important for me.

My use case for this is like a much more advanced (query based) version of the Search++ plugin.

jplattel commented 3 years ago

Ah yes! On a more philosophical note I've written somethings about that on blog: https://jplattel.nl/post/2021-05-04-rhizomatic-notetaking/

cpopell commented 3 years ago

If you haven't had a chance to look at the Syntopicon, you might find it inspiring. I can email you with more details if you like.