---
title: "Using bias to tune search results"
date: "2024-02-14T06:18:38+00:00"
summary: "Optimize your Apache Solr search results with powerful bias settings. Learn to fine-tune relevance by node attributes, content types, and fields for more accurate and targeted search outcomes."
image:
type: "page"
url: "/acquia-cloud-platform/using-bias-tune-search-results"
id: "d141da76-961e-4ed8-9d97-d949181fec02"
---

This document contains information about using bias to tune search results with the Apache Solr Search module.

Note

The [Apache Solr Search](https://drupal.org/project/apachesolr) module and related hooks are only available for Drupal 7.

The Apache Solr Search module’s bias settings enable you to assign search bias to certain aspects of indexed items. Configure bias for a search environment on the **Apache Solr search > Settings** tab, under **Configuration**.

![Apache Solr Search settings bias](https://acquia.widen.net/content/vmazxx8ikk/jpeg/search_bias.jpeg?position=c&color=ffffffff&quality=80&u=soxprt)

Search bias influences the importance of those aspects in search results. Any value except “Omit” or “Ignore” increases that aspect’s score in the results. The higher the score, the more those aspects will influence the search results. You can assign values from 0.1 to 21.0 when you set a bias. You can assign bias by:

*   [Bias by node attributes](#search-bias-node-attributes)
*   [Bias by content type](#search-bias-content-type)
*   [Bias by node fields](#search-bias-node-fields)

Bias by node attributes
-----------------------

![Apache Solr Search result biasing](https://acquia.widen.net/content/m1clcrcznx/jpeg/search_bias-result.jpeg?position=c&color=ffffffff&quality=80&u=soxprt)

Using the **Result biasing** section, you can add search bias to favor nodes that are or have:

*   Sticky at top of lists
*   Promoted to home page
*   More recently created
*   More comments
*   More recent comments

Bias by content type
--------------------

Using the **Type biasing and exclusion** section, you can add search bias to favor nodes of particular content types. For example, you might want to favor announcements over blog posts.

Bias by node fields
-------------------

Using the **Field biases** section, you can add search bias based on the field in a node in which the search term appears. For example, you might want to give extra weight when the search term appears in a node’s title or H1 headers and less weight when the search term appears in rendered comments.

Setting a field’s value to `Omit` means that the field will not be searched.

![Apache Solr Search field biases](https://acquia.widen.net/content/qev34hmyk8/jpeg/search_bias-fields.jpeg?position=c&color=ffffffff&quality=80&u=soxprt)