Giter Site home page Giter Site logo

Comments (2)

evilscientress avatar evilscientress commented on September 26, 2024

We just analyzed the issue a bit more and it seams like the issue lies with the elastic search query.

The query uses a multi_match of type best_fields which doesn't do phrase matching. So it splits the query term at white spaces. The query should rather use the type phrase which would type to match the full name, or a combination of both with phrase matching boosted.

It's debatable though if the search should try to split up the search term at white spaces at all, because it then will return other speakers that for example share the same first name, which is not what the user expects when clicking on a speaker name.

from voctoweb.

rofl0r avatar rofl0r commented on September 26, 2024

The query should rather use the type phrase which would type to match the full name, or a combination of both with phrase matching boosted.

sounds good. maybe this could be changed in this way for some testing ?

It's debatable though if the search should try to split up the search term at white spaces at all

if it is split, it should only return results where all terms match, not any.

from voctoweb.

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.