Coder Social home page Coder Social logo

Search improvement about bonsai HOT 4 CLOSED

impworks avatar impworks commented on June 12, 2024
Search improvement

from bonsai.

Comments (4)

impworks avatar impworks commented on June 12, 2024

Seems to be working fine for actual data. Closing this for now.

from bonsai.

impworks avatar impworks commented on June 12, 2024

Discussion in #104 revealed that the search, in fact, doesn't work fine. Some of the found issues are:

  • Exact match can be outranked by other, seemingly unrelated matches
  • Sometimes match fails/succeeds/fails during autocomplete as letters are added: e.g. for foobar in the database, fo - OK, foo - nothing found, foob - OK again, and so on.

Options to consider:

  • Perform a thorough examination of the indices and search queries (unfortunately I have no idea how it works at all in the first place, its intricacies are way too convoluted and my experience is shallow, may be worth hiring someone)
  • Upgrade Elasticsearch to 7.x, use built-in hunspell dictionaries instead of russian_morphology and see if it works better
  • Replace Elasticsearch altogether with Postgresql search: https://habr.com/ru/post/438622/#comment_19743164 (which is especially cool since elasticsearch + java are huge dependencies, dropping them without compromising search quality would be awesome)

from bonsai.

DiverOfDark avatar DiverOfDark commented on June 12, 2024

I am keen to investigate other solutions, i.e. Lucene.NET, but for that I need some test data, ideally unit-tests with samples that should work. You already have seed data, so it probably should not be that hard to implement 'em.

from bonsai.

impworks avatar impworks commented on June 12, 2024

Great, will do that next week.

from bonsai.

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.