Comments (4)
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.
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.
from elasticutils.
Landed in ba7b8a0
from elasticutils.
Related Issues (20)
- support elasticsearch-py > 0.4.5 HOT 1
- The name of the primary key is hardcoded HOT 3
- bulk monkeypatch incorrectly assumes we're indexing HOT 14
- How can I query time range
- add support for wildcard query type HOT 1
- add support for wildcard indices
- Logging debug fails when pass iterator as ids in index task HOT 4
- elasticutils/contrib/django init uses 'six' but does not import it HOT 1
- Elasticsearch 'urls' should accept dict (now throwing TypeError: unhashable type: 'dict') HOT 1
- extract_document is missing @classmethod in django.rst HOT 2
- Don't make unindex_objects fail when trying to unindex an object that is not indexed
- Multiple search fields for query-string qury
- Filtered query
- filter_raw() overwrites filter() HOT 1
- Impossible to filter with nested objects
- small migration howto from elasticutils to elasticsearch-dsl would be nice HOT 4
- Run tests without nose
- Query with AND operator HOT 4
- Not compatible with elasticsearch>=1.8.0 HOT 2
- Wiki changes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticutils.