Code Monkey home page Code Monkey logo

Comments (6)

harringtonp avatar harringtonp commented on August 15, 2024

Will just add that even though "was" could be a stop word I remove stop words with:

elasticlunr.clearStopWords();

and I remove the stemmer too:

var index = elasticlunr();
index.pipeline.remove(elasticlunr.stemmer);

from elasticlunr.js.

xarg avatar xarg commented on August 15, 2024

I have the exact same issue and also removed the stemmer and stop words.

from elasticlunr.js.

xarg avatar xarg commented on August 15, 2024

@harringtonp have you found a solution for this by any chance?

from elasticlunr.js.

harringtonp avatar harringtonp commented on August 15, 2024

@xarg Afraid I haven't. I do wonder though would the same issue arise in lunr. If you figure out what it is let me know

from elasticlunr.js.

xarg avatar xarg commented on August 15, 2024

For now the "fix" for me is: don't use Safari if you want to get search results - which is pretty lame to tell people to do.

@weixsong I'd like to fix this, but some hints at where to look would be appreciated. I'm not entirely sure where to start looking as I'm not familiar with the internals.

from elasticlunr.js.

harringtonp avatar harringtonp commented on August 15, 2024

@xarg I wrote my own search solution which was easy (in my case) and has no cross browser issues. Code at:

https://stackoverflow.com/a/46446723/7778427

from elasticlunr.js.

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.