Coder Social home page Coder Social logo

Comments (9)

hadynz avatar hadynz commented on August 24, 2024

At the end of the console.warn that is being printed, your entire Obsidian index should be included. Do you mind if you share that? It would be interesting to see what's there, and if we can see the source of these misses.

from obsidian-sidekick.

HEmile avatar HEmile commented on August 24, 2024

I was just about to, haha.
image

Here it shows some examples. It seems like the stemming cuts off some parts of the name rather arbitrarily?

from obsidian-sidekick.

HEmile avatar HEmile commented on August 24, 2024

Example for paramet (which was not found)
image

from obsidian-sidekick.

HEmile avatar HEmile commented on August 24, 2024

And similar for 'approx'
image

from obsidian-sidekick.

hadynz avatar hadynz commented on August 24, 2024

Thanks for the screenshots. It will help me with recreating this problem at my end.

Stemming and the current lack of ability to highlight multiple words (#10) means that valid keywords that should be highlighted are not being highlighted. It doesn't explain why there are mishits though. But I have to go back to the drawing first to resolve the multiple words issue first.

Let me continue to mull over this. I'll keep you up to date with my progress.

from obsidian-sidekick.

HEmile avatar HEmile commented on August 24, 2024

Thank you, it makes sense that it would give these issues if it cannot deal with multiple words, i suppose (I actually noticed that issue too in my vault).

from obsidian-sidekick.

hadynz avatar hadynz commented on August 24, 2024

@HEmile Just released 1.2.0 which drops the concept of stemming and uses a very different algorithm for searching that I think is more appropriate for this plugin's use case (see #14 for details).

Give it a spin and let me know

from obsidian-sidekick.

HEmile avatar HEmile commented on August 24, 2024

No more errors, and the results look a lot better! Thank you :)

from obsidian-sidekick.

HEmile avatar HEmile commented on August 24, 2024

I've played around with it a bit and it's super useful! With better performance I'm convinced it'll be a key part to my setup, thank you so much!

from obsidian-sidekick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.