Code Monkey home page Code Monkey logo

Comments (4)

willkg avatar willkg commented on June 1, 2024

Here's the docs for what django-haystack does:

http://django-haystack.readthedocs.org/en/latest/boost.html

It supports three different kinds of boosts that differ on what they apply to and at what point in the process they are used.

SUMO weights are sort of similar to field boosts, except SUMO weights are used at query time and field boosts are used at indexing time.

elasticsearch guide talks about query-time field boosts very briefly here: http://www.elasticsearch.org/guide/reference/query-dsl/term-query.html

from elasticutils.

willkg avatar willkg commented on June 1, 2024

This is specifically about adding query-time field boosts and differs from index-time field boosts and query-time term boosts.

ES calls them boosts so we should use that term, too.

Field boosts in ES are floats. e.g.

{
    "term" : { "user" : { "value" : "kimchy", "boost" : 2.0 } }
}

We should probably handle both float and integer boost values.

from elasticutils.

willkg avatar willkg commented on June 1, 2024

#48

from elasticutils.

willkg avatar willkg commented on June 1, 2024

Landed in ba7b8a0

from elasticutils.

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.