> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Relevance

> Core Settings

export const LwTemplate = ({title = "Key questions to get you started", icon = "sparkles", cta = "Powered by Agent Studio", linkHref = "https://lucidworks.com/demo/?utm_source=docs&utm_medium=referral&utm_campaign=docs_cta_ai"}) => {
  const [isLoaded, setIsLoaded] = useState(false);
  useEffect(() => {
    const timer = setTimeout(() => {
      setIsLoaded(true);
    }, 500);
    return () => clearTimeout(timer);
  }, []);
  return <div className="lw-template-container">
      <Card title={title} icon={icon}>
        {isLoaded && <span dangerouslySetInnerHTML={{
    __html: `<lw-template id="a029c1a9-28be-427e-b0e1-5d918920246a"></lw-template
            >`
  }} />}
        <Link href={linkHref} className="agent-studio-link text-left text-gray-600 gap-2 dark:text-gray-400 text-sm font-medium flex flex-row items-center hover:text-primary dark:hover:text-primary-light group-hover:text-primary group-hover:dark:text-primary-light">Powered by Lucidworks Agent Studio</Link>
      </Card>
    </div>;
};

[localhost link]: http://localhost:3000/docs/lw-platform/lw-core/sites-relevance

[mintlify link]: https://doc.lucidworks.com/docs/lw-platform/lw-core/sites-relevance

[old doc.lw link]: https://doc.lucidworks.com/lw-platform/core/juqsws

Relevance optimizes how well the search results match the user’s intent and query.
Increasing relevance means happier users through better findability of products and documents.

Relevant search results are important for:

* E-commerce sites, where relevant results drive conversions and revenue.
* Support sections of sites, such as help pages, where relevance reduces customer frustration and complaints.
* Enterprise search, where relevance boosts productivity and knowledge discovery by helping employees find what they need to perform their work or solve a problem.

<Frame>
  <img src="https://mintcdn.com/lucidworks/e18oRwnR3VuUa79l/assets/images/lw-platform/sites/sites-home.png?fit=max&auto=format&n=e18oRwnR3VuUa79l&q=85&s=24c8d4ad65a14b14532d56b91bf88be6" alt="Core Settings Relevance screen" width="2984" height="1894" data-path="assets/images/lw-platform/sites/sites-home.png" />
</Frame>

<LwTemplate />

## Query profiles

When your site has multiple query profiles, you can select which profile you want to configure using the query profile selector at the top of the Relevance page:

<Frame>
  <img src="https://mintcdn.com/lucidworks/e18oRwnR3VuUa79l/assets/images/lw-platform/core-settings/core-settings-relevance-query-profiles.png?fit=max&auto=format&n=e18oRwnR3VuUa79l&q=85&s=44771d3f6f6f504e64a1c2da3ce1c38e" alt="Query profiles dropdown on the Core Settings > Relevance page" data-og-width="2171" width="2171" data-og-height="1055" height="1055" data-path="assets/images/lw-platform/core-settings/core-settings-relevance-query-profiles.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/lucidworks/e18oRwnR3VuUa79l/assets/images/lw-platform/core-settings/core-settings-relevance-query-profiles.png?w=280&fit=max&auto=format&n=e18oRwnR3VuUa79l&q=85&s=ff6374ff31591ad17b3ae237910f9951 280w, https://mintcdn.com/lucidworks/e18oRwnR3VuUa79l/assets/images/lw-platform/core-settings/core-settings-relevance-query-profiles.png?w=560&fit=max&auto=format&n=e18oRwnR3VuUa79l&q=85&s=d04bbdfc4a09eb7c47c710be2fdd1776 560w, https://mintcdn.com/lucidworks/e18oRwnR3VuUa79l/assets/images/lw-platform/core-settings/core-settings-relevance-query-profiles.png?w=840&fit=max&auto=format&n=e18oRwnR3VuUa79l&q=85&s=473be31168ffe5bffe7d9b90befa59fe 840w, https://mintcdn.com/lucidworks/e18oRwnR3VuUa79l/assets/images/lw-platform/core-settings/core-settings-relevance-query-profiles.png?w=1100&fit=max&auto=format&n=e18oRwnR3VuUa79l&q=85&s=fc7c50adda8a6bdf1e4eb53d3940e4ee 1100w, https://mintcdn.com/lucidworks/e18oRwnR3VuUa79l/assets/images/lw-platform/core-settings/core-settings-relevance-query-profiles.png?w=1650&fit=max&auto=format&n=e18oRwnR3VuUa79l&q=85&s=595890b1ab1245c8af64d6ce707590fd 1650w, https://mintcdn.com/lucidworks/e18oRwnR3VuUa79l/assets/images/lw-platform/core-settings/core-settings-relevance-query-profiles.png?w=2500&fit=max&auto=format&n=e18oRwnR3VuUa79l&q=85&s=f71e491fc4687a16cb152c143294eef7 2500w" />
</Frame>

Query profiles enable you to manage multiple search experiences within a single site.
Each query profile represents a distinct search configuration, including a query pipeline and collection.

<Note>
  The query profile selector only appears when your site has multiple query profiles configured.
  If you have a single query profile, the selector is hidden and all settings apply to that profile automatically.
</Note>

You can create and manage query profiles in [Lucidworks Search](/docs/lucidworks-search/05-move-data-out/query-profile/overview) or [self-hosted Fusion](/docs/5/fusion/getting-data-out/query-basics/query-pipelines/query-profiles), or by contacting Lucidworks.

<Warning>
  If two query profiles point to the same query pipeline, changes made to one query profile's Core Settings will impact the other.
</Warning>

## Neural Hybrid Search

Lucidworks Core Settings includes the option of using Neural Hybrid Search (NHS) to take advantage of advanced searching capabilities that combine lexical search and semantic search, enabling exact and partial keyword matching, phrase detection, and search results that understand the natural language users might enter in the search box.

**Lexical search** is the basic type of search that uses exact matching of keywords to return results.
It is useful for situations where the results are simple and predictable, or when a keyword always returns what the user is trying to find.
Lexical search can be a good solution for smaller datasets that are well-organized but struggles when the wording of the query is not exact or with common keywords.

**Semantic search** understands the meaning behind the words used in a query and can compare the relationship of the query to the conceptual representation of items in a dataset to return more relevant results.
With semantic search, exact keyword matches are not needed, giving the user more freedom in how they word their searches.
An additional benefit of semantic search is the ability to return related results, even if those results do not include the keyword entered by the user.

NHS uses both of these to optimize the search experience.

<Frame>
  <img src="https://mintcdn.com/lucidworks/g1p2ZULuslqrEkMX/assets/images/lw-platform/sites/sites-nhs.png?fit=max&auto=format&n=g1p2ZULuslqrEkMX&q=85&s=44efcd44c6fdd83086d6099268ed522b" alt="NHS settings with toggle and slider" width="1664" height="434" data-path="assets/images/lw-platform/sites/sites-nhs.png" />
</Frame>

Use the slider to decide the relative importance of lexical and semantic search for your search results.
As you increase the weighting of one type of search, the other type of search decreases.

Depending on the type of content you have, you can adjust the slider to accommodate the information you want the user to see.
For example, a legal, medical, or financial website might have industry-specific words that benefit from a more lexical approach, while an e-commerce website might want to show users similar products and will benefit from giving a greater weighting to semantic search.

#### Fine tune the results

Evaluate the specific needs of your use case to determine the appropriate balance between lexical and semantic search.

Begin testing by starting in the middle with 50% lexical and 50% semantic and perform a series of queries.
If the results do not match your expectations, then adjust the slider.

In a B2C context such as a grocery store chain, if a user searches for "ice cream" and the results prioritize "bag of ice" and "sour cream," the semantic weight should be increased. This helps return contextually relevant items like "waffle cones" and "chocolate syrup" that align with the shopper’s intent.

In contrast, on a financial services site where a user is researching "bonds," overly broad results like CDs, mutual funds, or ETFs may dilute relevance. Increasing the lexical weight ensures the top results remain focused on bonds.

Adjust the weighting strategy to match user intent and the goals of your business.

Adjust the weights for your specific use case, and validate that the search results become more relevant for the users.

## Sort

Sort is how search results are ordered and can be set according to relevance, which is the degree to which each item matches a user’s query based on search settings.

You can change the default sorting order that is used for results by arranging the tiles in the Sort section.
This lets you sort first by relevance, then by date for items with identical relevance, or sort first by date, then by relevance for items with identical dates.

<Frame>
  <img src="https://mintcdn.com/lucidworks/g1p2ZULuslqrEkMX/assets/images/lw-platform/sites/sites-sort.png?fit=max&auto=format&n=g1p2ZULuslqrEkMX&q=85&s=ee7424ed5db71db9a76be031ef88fbf7" alt="description" width="1766" height="476" data-path="assets/images/lw-platform/sites/sites-sort.png" />
</Frame>
