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
0
votes
0 answers

Solr normalize score before applying boost

Is it possible to normalize the score before the boosts gets applied? Let's say I have 2 documents Doc1: text: xxxx description: xxxx number_published_in_this_year: 1 Doc2: text: xxxx description: xxxx number_published_in_this_year: 10 Now…
0
votes
2 answers

ElasticSearch Boost filed and sort by date

I am trying to boost query by fields and then sort them by date : multiMatchQuery.fields(columnSortOrder()); searchSourceBuilder.trackScores(true); searchSourceBuilder.sort(new ScoreSortBuilder().order(SortOrder.DESC)); …
Talha Bin Shakir
  • 2,563
  • 10
  • 38
  • 54
0
votes
0 answers

SOLR boost query not working when indexing and searching goes together

I am trying to apply boost query in solr 5.5 which is not working as desired. In our case we are indexing data to solr at real time and at the same time we are searching the data.even after setting autoCommit to 1 second its not working. boost…
HsB
  • 1
  • 3
0
votes
2 answers

Query Field Boosting issue in solr when boosted term is present in more than 1 field

I am having 4 fields in solr. For ex. Field1, Field2, Field3 and Field4. My boost sequence is like field1^10, field2^8, field3^7 field4^6. Now if I search for a keyword marketing lets say q=(Field1:("marketing")^10 OR Field2:("marketing")^8 OR…
0
votes
1 answer

Sunspot Solr Boost on text field

I want to boost documents in the result based on any text field. eg. consider following schema class Post < ActiveRecord::Base searchable do text :title, :body text :comments do comments.map { |comment| comment.body } end …
0
votes
1 answer

Multiple boost of each matching value in one field

I have the one multiple field, with the following values: "itm_field_skills":[1, 2] Now I have the following query: q=itm_field_skills:(1+OR+2)^5 So I've got the result, but the score is 5. I want to make a search request with boosting of each…
kala4ek
  • 113
  • 3
0
votes
0 answers

C# Solr query, Boost is not working

I'm using C# to query Solr for my site search. The code is fine in regard to filtering and searching for keywords in specific fields, but I can't get Boost to work. I need to use boosting so that items where the keyword is in the Title field are…
Erica Stockwell-Alpert
  • 4,624
  • 10
  • 63
  • 130
0
votes
0 answers

Boosting search result based on each item in Solr Multivalued field

I am working on integrating Solr to my application. I have a List of keywords associated to each product. I use multivalued for Keyword field and indexed it. The problem is I want to Boost search result based on each item in the multivalued field in…
Mehdi
  • 746
  • 1
  • 10
  • 25
0
votes
1 answer

Elasticsearch: Boost the field for specific values using Mappings

I am using elasticsearch Version 5.6. I would like to like to boost the field "type" when it's value is video ( "contentType": "video"). Currently my mappings looks like this: PUT my_index { "mappings": { "my_type": { "properties": { …
Rose
  • 1,490
  • 5
  • 25
  • 56
0
votes
0 answers

Apache SOLR: Most Recent & Relevant Documents should be on TOP

I have articles indexed as documents in APACHE SOLR. When I query SOLR with search term for example "patient access", the documents come are sorted on score by default. But my requirement is to have recent documents boosted as well if there is a…
Farhan Tahir
  • 2,096
  • 1
  • 14
  • 27
0
votes
1 answer

elasticsearch boost query in feild having multiple value

I have some document in elasticsearch index. Here is the sample document DOC1 { "feild1":["hi","hello","goodmorning"] "feild2":"some string" "feild3":{} } DOC2 { "feild1":["hi","goodmorning"] "feild2":"some…
nishant kumar
  • 507
  • 10
  • 28
0
votes
1 answer

solrcloud5:how to set the lexicon to boost query term automaticly?

I want to boost some important terms when query automaticly,how to deal it? For example,the query phrase:"apple tree",i want to set the term of "apple" weight "2",higher than "tree" automaticly through the lexicon.Is there a better way?
Tartur
  • 1
0
votes
2 answers

Elasticsearch boost

I have an index called find and a type called song. Song type structure : "_index": "find", "_type": "song", "_id": "192108", "_source": { "id": 192108, "artist": "Melanie", "title": "Dark Night", …
Mehmed
  • 9
  • 1
  • 4
0
votes
1 answer

Boost closest distance with json POST request

I want to boost the closest distance document. I have constructed the following with help from the docs: Post to: {{solr-host}}:8983/solr/{{collection}}/select?rows=5 Body: { 'query': '{!boost…
Roman
  • 8,826
  • 10
  • 63
  • 103
0
votes
1 answer

Spring Solr boosting issue

Am using Spring Solr with Groovy. Have an issue when I try to boost results. To explain, consider a simplified online shopping domain, where the indexed entity is Product. The user has a shoppingBasket and a wishList, each of which are simple Lists…
dcode
  • 11
  • 4
1 2 3
8 9