Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6589771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:13:02+00:00 2026-05-25T17:13:02+00:00

Is it possible to boost fields that appear in filter queries (fq=) in Solr?

  • 0

Is it possible to boost fields that appear in filter queries (fq=) in Solr?

I have a faceted query that has a tagged filter query something like this:

...&q=*:*&fq={!tag:X}brand:(+"4911")+OR+body:(abc)&facet.field={!ex:X}brand&..

(I facet on brand and the facet is set to ignore the filter query tagged X, so I need to use a filter query.)

I would like to make matches on the brand field score higher than matches on body field in the filter query.

The fields brand and body are multivalued.

I’ve tried adding bf=/bq= arguments, and I can get brand matches to score higher if I change the filter query to be the main ‘q=’ query, but I don’t seem to be able to influence the score of anything in the filter query. I think I maybe going about it in the wrong way..

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:13:03+00:00Added an answer on May 25, 2026 at 5:13 pm

    Solr “fq”‘s do not affect score — see the wiki. So, you should add your queries to “q” that you actually want to boost. If need be, you can always duplicate a query restriction in both “q” and “fq”, as “fq” only acts as a restriction on the results set.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wonder is it possible to have a map that would work like boost
I'm using the rord() function in Solr queries in order to boost query results
Is it possible to use boost::fusion::invoke function to call a function that has default
Is it possible to have scoped macros using custom defined macros through boost wave?
Assume that I have a boost::function of with an arbitrary signature called type CallbackType
I am wondering if it is possible with Solr 3.4 to boost a search
I'm new to Solr. Using Solr 1.4.1 I have a schema.xml that have this
Is it possible with boost::gil to read the RGB image information so that I
I'm a newbie in boost.python and i'm getting this error that I would like
I have a class A that has a template parameter T. There are use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.