Closed whatSocks closed 1 year ago
Umm, I recently updated khoj to index the title/filename of markdown note in https://github.com/debanjum/khoj/commit/a2ab68a7a2f0d7e0397051a54b5fd67a4052d907. Can you share which version of khoj you are on (i.e execute khoj --version
in terminal) ? Are using khoj with markdown/obsidian?
To improve search quality you can try:
@debanjum turns out i had to re-index, I hadn't gotten to the "results are wonky" part of the readme. Would it be possible to add that suggestion to the search results as a help text? If I hadn't been checking out the repo at the same time as searching I would have given up
Ah, good to know re-indexing your Vault fixed the issue. There is some intermittent index corruption issue, which I've not been able to reproduce and hence fix yet. Seems like it may have affected you.
Good idea on finding a more direct way of notifying users. Can you expand on what you mean by adding help text?
Maybe here under the search bar put
results not what you expected? Try re-indexing your vault."
I see, thanks for the idea! Let me see what can be done to suggest re-indexing vault if search results are not good anymore
what are some strategies for improving search results? For some more popular concepts, it seems like the search results are good - but very frequently if I use the search for the title of a note it doesn't find it, or any notes related to it