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
1 answer

boost score based on whether the value (numeric) of a given field is in a specific range

I want to boost a record's matching score if its value in field A is greater than a certain number. For example, if the value in A is greater than 4, I would like to give it a boost of 5. I tried the following for bf and bq separately, but it did…
user2868104
  • 297
  • 2
  • 14
0
votes
1 answer

solr how to properly use boost factor in a query?

Ok, so I am using many fields with qf, like: [qf] => frpId^5 fundraise_title^3 fundraiser_display_name^3 charity_name^2 participantFname^2 participantLname^2 participantEmail^1 groupName^3 fundraise_text^ fundraiseTitleExact^15…
Claudiu Hardalau
  • 167
  • 1
  • 11
0
votes
0 answers

Solr Custom Weighted/Relevancy

I would like to do something like solr relevancy and sort by the scoring. But the SOLR relevancy have some defined score (tf-idf). For example: I have boost method by field "NAME" and records returned(with score from solr and my expected score). AA…
0
votes
1 answer

How to scale SolrField value from 0 to 1

I am working on Solr5+ I want to scale a Price field from 0 to 1 to apply boosting. Is there any way to achieve this? Thanks for your help!
Ankita
  • 1,416
  • 4
  • 17
  • 42
0
votes
1 answer

How to boost the closest created_at field in Elasticsearch?

I want to sort my query results following some boost rules and in the same time i want them to be sorted as possible by creation date, if i add a created_at sort, it changes everything and my results are not relevant anymore. So i guess the only way…
dzof31
  • 1,423
  • 1
  • 12
  • 20
0
votes
0 answers

Multiple queries for multiple index in Solr

I have multiple index in my project. With help of a field type I can sort documents and get needed results. So, no problem so far. But how can I implement boosted query for each type? For example I have now in solrconfig.xml something like:
0
votes
0 answers

function_score query in elasticsearch won't change score

I have an index with following doc structure: Company > Jobs (nested) Company have name and jobs have address. I search jobs by address by default. Along with this, I'm trying to boost certain companies by their name using function_score query. But…
shikhar.ja
  • 457
  • 1
  • 4
  • 11
0
votes
1 answer

Solr field boosting with boost field and score value

I am using solr 4.10. I have a boost field in Solr schema that is updated after 24 hours according to some log analysis. Its default value is zero. I have to order document according to this value. But when document have a value zero then they…
Hafiz Muhammad Shafiq
  • 8,168
  • 12
  • 63
  • 121
0
votes
0 answers

How to boost document based on keywords in apache solr

I am using apache solr 4.10. I have to boost documents against which they are served so that they will have better score. Now for that, I have to log that document id as well as that query. How to save document id and query ? Second, I have to use…
Hafiz Muhammad Shafiq
  • 8,168
  • 12
  • 63
  • 121
0
votes
1 answer

Boost SOLR Result Score based on search term and document type

I have a rule from my SMEs for SOLR Search relevancy. It goes like this. When words "XX", "YY", or "ZZ" are in the User's search terms, heavily boost the document_type "MMMM" in the results. (But ONLY then, which means I can't weight the doc…
jb62
  • 2,224
  • 2
  • 14
  • 23
0
votes
1 answer

Manipulate score in elasticsearch

I would like to manipulate the score I get when I do a search on elasticsearch. I already use the boost option, but it does not give me the results I would like to have. After some reading I think the function_score query is the solution to my…
0
votes
1 answer

Solr score boost - based on number of likes

I have added fs_votingapi_result in solr document this represents number of likes. I found below function to improve the score based on fs_votingapi_result. But I am unable to get the logic behind this - what are the extra parameters…
Rakesh K
  • 692
  • 4
  • 13
  • 26
0
votes
0 answers

Solr result relevancy with query filter boost

We have implemented Site search for our project. Nutch is used for crawling the content of the site. Currently, we have all the records being crawled and indexed in SOLR and the search functionality works for any keyword search. Issue we are facing…
0
votes
1 answer

How to use Solr Handlers when sending requests from Drupal

I'm using Solr 4.10.2 and Drupal 7.X, I have the Apache Solr Module Framework operating and sending the requests to Solr From Drupal. Currently when we perform a search, Drupal builds the query and sends it to Solr. Solr just executes the query and…
Loic O.
  • 486
  • 2
  • 7
  • 22
0
votes
1 answer

how to use boost in solr?

I am new to solr and i have indexed fields like indiansPrefer and users i am firing a http request to get the response from solr with boost options angular.element.ajax({ url: "http://localhost:8983/solr/food/select", …
Aswin Raghavan
  • 321
  • 2
  • 14
1 2 3
8 9