--- title: Ensure that you have relevant search results slug: mc2g0298 canonical_url: https://docs.coveo.com/en/mc2g0298/ collection: project-guide source_format: adoc --- # Ensure that you have relevant search results This article provides leading practices to analyze, review, and test the relevance of your search results before going live. > **Important** > > This isn't an official guide to testing an implementation before deploying to a live environment. > Rather, it's a companion guide showcasing tips to help you test how queries behave in your search interface. > > Every Coveo implementation is different and may require custom configuration. > > If you encounter issues, or have any questions related to this article, contact [Coveo Support](https://connect.coveo.com/s/case/Case/Default) for help. ## Popular queries If you use the [Coveo Platform](https://docs.coveo.com/en/186/) to replace an existing search engine, extract your 500 most popular [queries](https://docs.coveo.com/en/231/) to include them in your testing strategy. Make sure that each of these queries returns relevant search results. If your queries return unexpected results, investigate the following topics: * [Indexed content](#indexed-content) * [Security filtering](#security-filtering) * [Query pipeline rules](#query-pipeline-rules) ### Indexed content Your [index](https://docs.coveo.com/en/204/) [sources](https://docs.coveo.com/en/246/) may lack some [items](https://docs.coveo.com/en/210/). Make sure that your index contains all of the content that you want to make searchable through your Coveo-powered search implementation. You can use the [**Content Browser**](https://platform.cloud.coveo.com/admin/#/orgid/content/browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/browser/)) page of the [Coveo Administration Console](https://docs.coveo.com/en/183/) to [review the items](https://docs.coveo.com/en/2053/) available in your index. ### Security filtering Some of your indexed content may have unexpected [security restrictions](https://docs.coveo.com/en/1779/). On the [**Sources**](https://platform.cloud.coveo.com/admin/#/orgid/content/sources/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/sources/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/sources/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/sources/)) page, review all source configurations to make sure that they're accessible to the users who should be able to access the content. > **Note** > > Content can also be removed from a search interface due to [query pipeline](https://docs.coveo.com/en/180/) [filter rules](https://docs.coveo.com/en/3410/). ### Query pipeline rules Query pipeline [rules](https://docs.coveo.com/en/236/) let you manually tweak how a query is processed in a query pipeline. They can help users get more relevant search results under specific circumstances. However, query pipeline rules can have unexpected effects if they're not used properly. For example, a [thesaurus](https://docs.coveo.com/en/2742/) rule can override certain [keywords](https://docs.coveo.com/en/2738/) that were originally entered by the user. [Review the list of query pipeline rules](https://docs.coveo.com/en/mc2g0358/) in the query pipeline to make sure they behave as expected. ## Free-text search Manual queries performed by users are called _free-text searches_. These queries don't target specific [fields](https://docs.coveo.com/en/200/) in an item, but rather the item's [body](https://docs.coveo.com/en/3313/), which represents the full item content. While the item's body content is always free-text searchable, not all fields on the items are. To optimize performance and avoid unnecessary "noise" during searches, we don't recommend making all fields [free-text searchable](https://docs.coveo.com/en/1833#free-text-search). However, you may want to activate this option for some of your fields. This is typically the case for fields for which you know that the user will search for the content (for example, `productNumber` or `caseNumber` fields). ## Result folding [Result folding](https://docs.coveo.com/en/1884/) enables grouping of items that have a certain field value in common and identifies parent-child relationships between those items in the search results. Examples include: * Folding messages from the same email thread * Folding case comments and attachments under their parent case * Folding discussions from the same community post together If result folding is enabled for some document types, test that it functions correctly. Search for a text string that can be found only in a child result (for example, a case comment) and ensure that the result shows up in the search results list folded under its parent. ![Representation of result folding in search results | Coveo](https://docs.coveo.com/en/assets/images/jsui/jsui-folding-example.png) ## Normalized fields Data normalization is essential to provide a consistent and relevant search experience. Each source type automatically comes with a set of standard system fields. These are populated with standard [metadata](https://docs.coveo.com/en/218/) which is coherent across all sources. However, you can also [create fields](https://docs.coveo.com/en/1833#add-a-field) that are filled with the content or metadata of your choice when adding mappings for sources. When you create a custom field that's used in multiple sources, validate that this field behaves as expected. **Example** You have a source used for your product inventory and another for support cases. Both sources must contain a custom `productType` field which categorizes the product for which the item pertains (for example, `keyboard`). ### Validate that a field behaves as expected . Access the [**Content Browser**](https://platform.cloud.coveo.com/admin/#/orgid/content/browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/browser/)). . In the search box, enter a field query that targets the custom field you want to test. If we take the above example, the query would be `@productType`. . Look at the **Source** facet and ensure that all of the sources that contain this field are displayed. ![Testing fields in Content Browser | Coveo](https://docs.coveo.com/en/assets/images/tune-relevance/test-fields.png)