Plugin Omnisearch

Ce plugin améliore grandement la recherche des documents au sein d'obsidian.
Car il :
- supporte une orthographe imparfaite (ex "go-craft / gocrat")
- évite la séparation de la recherche par nom de fichiers et la recherche pleine texte.
- permet d'indexer les PDFs
- permet d'analyser le texte dans les images via de l'OCR (utile pour les copies d'écran prises pendant une présentation)
Plus d'infos ici https://github.com/scambier/obsidian-omnisearch
Serveur HTTP
Doc officielle : https://publish.obsidian.md/omnisearch/Public+API+%26+URL+Scheme#HTTP+Server+API
Peut être utilisé par divers outil de recherche externe comme le plugin firefox "omnisearch companion".
Ou l'outil de script tampermonkey. Voir :https://publish.obsidian.md/omnisearch/Inject+Omnisearch+results+into+your+search+engine
Ex de requête et réponse :
curl
-X GET \
-v \
"http://localhost:51361/search?q=figma"
[
{
"score": 130.0691119456879,
"vault": "obsperso",
"path": "Permanent/Informatique/Figma.md",
"basename": "Figma",
"foundWords": ["figma"],
"matches": [
{ "match": "Figma", "offset": 131 },
{ "match": "figma", "offset": 161 },
{ "match": "figma", "offset": 827 },
{ "match": "figma", "offset": 888 }
],
"excerpt": "# Figma<br>Adresse:: <https://www.figma.com/>"
},
{
"score": 114.18705150313593,
"vault": "obsperso",
"path": "contacts/pro/Arthur de FIGMA.md",
"basename": "Arthur de FIGMA",
"foundWords": ["figma"],
"matches": [
{ "match": "FIGMA", "offset": 12 },
{ "match": "FIGMA", "offset": 37 },
{ "match": "Figma", "offset": 114 }
],
"excerpt": "..."
}
]
exclure un dossier
Pour exclure un dossier (par exemple ".../reveal.js").
Aller dans les options / "files and links" / "manage"
