Questions tagged [solr-boost]

Boosting is the art of increasing the relevance of search result based on alternative indices/properties. It is the opposite of penalizing.

124 questions
3
votes
1 answer

is there a way to tell if a result has been boosted in SOLR?

I've got a search system where I allow users to set their preferences, then I boost results in a SOLR search according to these preferences. I'd like to give the users some visual feedback when a result has been boosted, but to do this I need to…
Kevin Colgan
  • 199
  • 2
  • 6
3
votes
2 answers

How to boost repeated values in a multiValue field on Solr

I have some repeated (same strings) data in a multiValue field on my solr index and i want to boost documents by matches count in that field. For example: doc1 : { locales : ['en_US', 'de_DE', 'fr_FR', 'en_US'] } doc2 : { locales : ['en_US'] } When…
edigu
  • 9,878
  • 5
  • 57
  • 80
2
votes
1 answer

Elasticsearch - Impact of adding Boost to query

I have a very simple Elastic query mentioned below. { "query": { "bool": { "must": [ { "bool": { "minimum_should_match": 1, "should": [ { "match": { …
Ashish Mishra
  • 145
  • 3
  • 13
2
votes
1 answer

Elastic search dynamic field mapping with range query on price field

I have two fields in my elastic search which is lowest_local_price and lowest_global_price. I want to map dynamic value to third field price on run time based on local or global country. If local country matched then i want to map lowest_local_price…
2
votes
1 answer

Negative Boost in Solr (bq vs bf)

In Solr8 I am trying to execute a negative boost query using bf tag. Solr8 bf query for a negative boost. Migrating from Solr6 to Solr8, so updating negative boost as follows: Solr6: bq=catConfidence:("0")^-100.0 Solr8: bq=(**:**…
2
votes
2 answers

Sitecore lucene + query boosting on computed date field

We are using Lucene search for one of our projects. The site is growing fast and needs search improvement. One key thing is to mix recency and relevancy. Currently, the search happens on user-entered key terms in some of the designated fields (like…
2
votes
2 answers

How to do a constant score query in Solr

I'm using SolrNet to access a Solr index where I have a multivalue field called "tags". I want to perform the following pseudo-code query: (tags:stack)^10 OR (tags:over)^5 OR (tags:flow)^2 where the term "stack" is being boosted by 10, "over" is…
robinbetts
  • 104
  • 1
  • 10
2
votes
1 answer

Solr relevancy & boosting best approach

Scenario is to boost documents on multiple field values: I have a field "Category" containing values - "News", "image", "video", "audio". Now on the basis of fields values mentioned above I would like to give some boosting(priority) to them, say for…
2
votes
1 answer

Solr negative boost

I'm looking into the possibility of de-boosting a set of documents during query time. In my application, when I search for e.g. "preferences", I want to de-boost content tagged with ContentGroup:"Developer" or in other words, push those content…
Shamik
  • 1,671
  • 11
  • 36
  • 64
2
votes
3 answers

How do i add boosting to the elasticsearch mapping in ONGR?

I want to boost documents in my ONGR setup. As show here the most efficiant way to do so, is by adding it to the mapping: "boosting_field": {"type" : "integer", "store" : "yes", "index" : "yes", "boost" : 10.0,} How can i do that in ONGR?
j.krug
  • 21
  • 3
2
votes
0 answers

How to detect trending items with popularity count?

I made a search app with elasticsearch. Items have name and follower count. I use follower count to boost elasticsearch result. Ex: Let's say i have two item. item_1 = [name = "abc def", follower = 1000] and item_2 = [name = "abc", follower = 10].…
2
votes
1 answer

Elasticsearch boost per field with function score

I have a query with different query data for different fields and ORed results. I also want to favor hits with certain fields. Ideally this would only increase ranking but would not cause results that did not contain some of the terms in the other…
pferrel
  • 5,673
  • 5
  • 30
  • 41
2
votes
1 answer

Solr Exact match boost Reduce the results

i have two fields, one is copy field. Its…
User1234
  • 205
  • 3
  • 9
2
votes
1 answer

Is wild char supported in elevate.xml in Solr QueryElevationComponent?

I need to configure my solr engine is such way that I can elevate and skip some documents always, so I was referring to this document, however not sure whether this is supported or not. e.g. Can we specify the "text" attribute of element like…
D.S
  • 1,110
  • 3
  • 11
  • 26
2
votes
1 answer

Solr: Boosting documents with full word during partial match

I have a SOLR query which supports both exact and partial matches. The query terms have appropriate boost factors added where exact matches have higher boost compared to partial matches. However, within partial matches too, we want to define the…
anand tiwari
  • 157
  • 2
  • 10
1
2
3
8 9