jplattel / obsidian-query-language

An Obsidian plugin allowing you to query your notes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] What is the table schema?

cpopell opened this issue · comments

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?

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.

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.

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

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.