# \#search

**URL:** https://forum.litium.com/tag/search/4.md

[Latest](https://forum.litium.com/latest.md) · [Categories](https://forum.litium.com/categories.md) · [Tags](https://forum.litium.com/tags.md)

---

## [Search result empty mid-word](https://forum.litium.com/t/search-result-empty-mid-word/3237)

<div class="topic-metadata">

**Author:** [@wiseby](https://forum.litium.com/u/wiseby)\
**Replies:** 4\
**Last updated:** [April 20, 2024, 7:06am UTC](https://forum.litium.com/t/search-result-empty-mid-word/3237 "2024-04-20T07:06:00Z")

</div>

I’m reopening this thread Elasticsearch result empty mid-word. I have not come to any solution for this problem. Its only in some of out environments. Locally we dont have any issues and everything works spotless. The d…

---

## [Variant order resets after restart](https://forum.litium.com/t/variant-order-resets-after-restart/3236)

<div class="topic-metadata">

**Author:** [@wiseby](https://forum.litium.com/u/wiseby)\
**Replies:** 1\
**Last updated:** [March 27, 2024, 5:17pm UTC](https://forum.litium.com/t/variant-order-resets-after-restart/3236 "2024-03-27T17:17:25Z")

</div>

If I rearange the order of variants in the variants tab in the PIM the effects takes place on the site, but after a restart of the application (which happens on deploys among other event), the order is reset to some defa…

---

## [Elasticsearch result empty mid-word](https://forum.litium.com/t/elasticsearch-result-empty-mid-word/3152)

<div class="topic-metadata">

**Author:** [@wiseby](https://forum.litium.com/u/wiseby)\
**Replies:** 5\
**Last updated:** [November 29, 2023, 12:55pm UTC](https://forum.litium.com/t/elasticsearch-result-empty-mid-word/3152 "2023-11-29T12:55:42Z")

</div>

I have a special case where my result disappears when searching. My result dissapears in the middle of typing and reappears as I countinue typing. It’s always on the same character. Searching “fatvär” returns a result bu…

---

## [ElasticSearch doesn't work with synonym server](https://forum.litium.com/t/elasticsearch-doesnt-work-with-synonym-server/2963)

<div class="topic-metadata">

**Author:** [@mpawlak1](https://forum.litium.com/u/mpawlak1)\
**Replies:** 8\
**Last updated:** [May 30, 2023, 10:53am UTC](https://forum.litium.com/t/elasticsearch-doesnt-work-with-synonym-server/2963 "2023-05-30T10:53:36Z")

</div>

Hi, I’ve been following the tutorial and I’ve ran into issues when trying to set up ElasticSearch and Synonym Server. When configuring synonyms like in the tutorial: "Elasticsearch": { "ConnectionString": "http:/…

---

## [Errors when setting up Accelerator](https://forum.litium.com/t/errors-when-setting-up-accelerator/2921)

<div class="topic-metadata">

**Author:** [@stacke-consid](https://forum.litium.com/u/stacke-consid)\
**Replies:** 4\
**Last updated:** [May 4, 2023, 9:11am UTC](https://forum.litium.com/t/errors-when-setting-up-accelerator/2921 "2023-05-04T09:11:51Z")

</div>

I’m trying to setup Accelerator by following the steps here. All is fine up until step 4: Configure Litium Search. When I try to rebuild all indices, they get added to the queue but then nothing happens. As a consequenc…

---

## [Active/ Inactive variants for Categories under Plan](https://forum.litium.com/t/active-inactive-variants-for-categories-under-plan/2560)

<div class="topic-metadata">

**Author:** [@eric.jensen](https://forum.litium.com/u/eric.jensen)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 11:08am UTC](https://forum.litium.com/t/active-inactive-variants-for-categories-under-plan/2560 "2022-04-28T11:08:27Z")

</div>

You can set a different variant to be “active” or not in differens categories by clicking the variants under plan. If they are “active” they are blue and white when “inactive”. But is there any way to find the once that …

---

## [Slow response on Order search in backoffice](https://forum.litium.com/t/slow-response-on-order-search-in-backoffice/2267)

<div class="topic-metadata">

**Author:** [@abergman](https://forum.litium.com/u/abergman)\
**Replies:** 10\
**Last updated:** [October 28, 2021, 9:36am UTC](https://forum.litium.com/t/slow-response-on-order-search-in-backoffice/2267 "2021-10-28T09:36:55Z")

</div>

We are seeing slow response times on order search in sales in Litium backoffice. Is AdditionalOrderInfo indexed by default? We store quite a bit of information as AdditionalOrderInfo. Could AdditionalOrderInfo have a …

---

## [WebApi product variant filterOptions](https://forum.litium.com/t/webapi-product-variant-filteroptions/2162)

<div class="topic-metadata">

**Author:** [@jesper.forisdahl](https://forum.litium.com/u/jesper.forisdahl)\
**Replies:** 0\
**Last updated:** [August 11, 2021, 7:39am UTC](https://forum.litium.com/t/webapi-product-variant-filteroptions/2162 "2021-08-11T07:39:49Z")

</div>

I’m trying to automate a product field data import and using the AdminApi. Is there any updated documentation on how the filter works when searching product variants? API ref isn’t very helpful. Sort of related forum …

---

## [Elasticsearch "starts with" search](https://forum.litium.com/t/elasticsearch-starts-with-search/2063)

<div class="topic-metadata">

**Author:** [@Johan](https://forum.litium.com/u/Johan)\
**Replies:** 8\
**Last updated:** [May 27, 2021, 3:04pm UTC](https://forum.litium.com/t/elasticsearch-starts-with-search/2063 "2021-05-27T15:04:16Z")

</div>

Hi I would like to include hits where the search string matches the start of a product name or article number. For example a search for “stow” I would want to result in a hit for “stowaway”. Can that be solved by addin…

---

## [Elastic cannot filter out only some variants without removing all from result](https://forum.litium.com/t/elastic-cannot-filter-out-only-some-variants-without-removing-all-from-result/2041)

<div class="topic-metadata">

**Author:** [@Artur](https://forum.litium.com/u/Artur)\
**Replies:** 0\
**Last updated:** [May 4, 2021, 8:24am UTC](https://forum.litium.com/t/elastic-cannot-filter-out-only-some-variants-without-removing-all-from-result/2041 "2021-05-04T08:24:43Z")

</div>

Ni, I am trying to get an exclude filter working. I am a bit unfamiliar with the ways the queries are built but I used the tags query already existing and used MustNot instead of Should (see below) Issue is that if it…

---

## [Limit product listing and search-results based on a product text-field](https://forum.litium.com/t/limit-product-listing-and-search-results-based-on-a-product-text-field/1771)

<div class="topic-metadata">

**Author:** [@Johan](https://forum.litium.com/u/Johan)\
**Replies:** 2\
**Last updated:** [November 24, 2020, 5:24pm UTC](https://forum.litium.com/t/limit-product-listing-and-search-results-based-on-a-product-text-field/1771 "2020-11-24T17:24:33Z")

</div>

Hi I want to limit the products shown on the Accelerator-site (category pages and search-results) to only show products with a certain text set on a text-field on the products. I have tried adding a tag in ProductSearc…

---

## [Litium lucene search with exact name is failing for few product name with special characters](https://forum.litium.com/t/litium-lucene-search-with-exact-name-is-failing-for-few-product-name-with-special-characters/1173)

<div class="topic-metadata">

**Author:** [@vishnu\_kj](https://forum.litium.com/u/vishnu_kj)\
**Replies:** 3\
**Last updated:** [October 30, 2019, 12:34pm UTC](https://forum.litium.com/t/litium-lucene-search-with-exact-name-is-failing-for-few-product-name-with-special-characters/1173 "2019-10-30T12:34:32Z")

</div>

Hi, Litium version: 6 I was trying to implement lucene search with exact match of text with product fields and seen search with few product names with special characters returning 0 hits(example name: Polyamide Light R…

---

## [Searching with improved support for åäö and Scandinavian characters. Analyzer support?](https://forum.litium.com/t/searching-with-improved-support-for-aao-and-scandinavian-characters-analyzer-support/1029)

<div class="topic-metadata">

**Author:** [@rickard.niklasson](https://forum.litium.com/u/rickard.niklasson)\
**Replies:** 2\
**Last updated:** [August 20, 2019, 8:05am UTC](https://forum.litium.com/t/searching-with-improved-support-for-aao-and-scandinavian-characters-analyzer-support/1029 "2019-08-20T08:05:05Z")

</div>

We are building a site that uses products and other data with naming using Swedish/Scandinavian characters like åäö but we have an international audience that can not easily type these characters so we require the search…

---

## [SearchQueryBuilder logic](https://forum.litium.com/t/searchquerybuilder-logic/975)

<div class="topic-metadata">

**Author:** [@Gonzalo](https://forum.litium.com/u/Gonzalo)\
**Replies:** 1\
**Last updated:** [July 9, 2019, 8:11am UTC](https://forum.litium.com/t/searchquerybuilder-logic/975 "2019-07-09T08:11:57Z")

</div>

I have 3 products with different field in the product index as shown below: Product 1.shampoo: isOrganizationProduct = true OrganizationId = 111 Product 2.balsam: isOrganizationProduct = true OrganizationId = 222 Prod…

---

## [Add tag to index for variants](https://forum.litium.com/t/add-tag-to-index-for-variants/957)

<div class="topic-metadata">

**Author:** [@Gonzalo](https://forum.litium.com/u/Gonzalo)\
**Replies:** 15\
**Last updated:** [July 5, 2019, 8:18am UTC](https://forum.litium.com/t/add-tag-to-index-for-variants/957 "2019-07-05T08:18:32Z")

</div>

Hi I added a new string field to the product template with one variant. I want my custom field to be searchable when my product category. Is this possible with adding Tags, and then add this to the search? How is it do…

---

## [Boost specific brands](https://forum.litium.com/t/boost-specific-brands/864)

<div class="topic-metadata">

**Author:** [@Cissi](https://forum.litium.com/u/Cissi)\
**Replies:** 5\
**Last updated:** [May 17, 2019, 10:06am UTC](https://forum.litium.com/t/boost-specific-brands/864 "2019-05-17T10:06:19Z")

</div>

Before I’ve done a boost for specific categories. So in the CMS websitesettings you choose some categories that we add boost to when the index is created. Now we hade a request to add the same logic to Brands. So my qu…

---

## [Sorting by price on B2B site returns zero results, but works on B2C site](https://forum.litium.com/t/sorting-by-price-on-b2b-site-returns-zero-results-but-works-on-b2c-site/639)

<div class="topic-metadata">

**Author:** [@PontvsXlent](https://forum.litium.com/u/PontvsXlent)\
**Replies:** 8\
**Last updated:** [March 5, 2019, 1:17pm UTC](https://forum.litium.com/t/sorting-by-price-on-b2b-site-returns-zero-results-but-works-on-b2c-site/639 "2019-03-05T13:17:45Z")

</div>

We have found ourself in a strange situation where filtering on price (and only price) in productlist pages and searchpages results in zero results back. It only happens on the B2B-site and I currently can’t replicate it…

---

## [When searching for something with colon, returns 0 result](https://forum.litium.com/t/when-searching-for-something-with-colon-returns-0-result/526)

<div class="topic-metadata">

**Author:** [@Cissi](https://forum.litium.com/u/Cissi)\
**Replies:** 11\
**Last updated:** [January 31, 2019, 1:52pm UTC](https://forum.litium.com/t/when-searching-for-something-with-colon-returns-0-result/526 "2019-01-31T13:52:21Z")

</div>

Hi! In our productsearch we have a problem, when searching for something with colon in it. It returns no result. How do I fix this? Ex. when searching for micro 4:3 we get no result but there is a product with that na…

---

## [Are there any good ways to exclude variants from a search](https://forum.litium.com/t/are-there-any-good-ways-to-exclude-variants-from-a-search/481)

<div class="topic-metadata">

**Author:** [@PontvsXlent](https://forum.litium.com/u/PontvsXlent)\
**Replies:** 4\
**Last updated:** [January 16, 2019, 6:09pm UTC](https://forum.litium.com/t/are-there-any-good-ways-to-exclude-variants-from-a-search/481 "2019-01-16T18:09:32Z")

</div>

We have a product filter for product names. But using the accelerator will return both BaseProduct and Variant name. Is there any good exclude tags for excluding the variant results? Litium version: 7.0.2

---

## [0 results if 1 variant of 5 is excluded from search](https://forum.litium.com/t/0-results-if-1-variant-of-5-is-excluded-from-search/461)

<div class="topic-metadata">

**Author:** [@Cissi](https://forum.litium.com/u/Cissi)\
**Replies:** 2\
**Last updated:** [January 14, 2019, 12:33pm UTC](https://forum.litium.com/t/0-results-if-1-variant-of-5-is-excluded-from-search/461 "2019-01-14T12:33:27Z")

</div>

We have extended our search a bit from the Accelerator. We added this to exclude products that are discontinued and have a stock of 0. var excludeTags = new ExcludeTagClause(); request.FilterTags…

---

## [How can i rebuild all search indices through api](https://forum.litium.com/t/how-can-i-rebuild-all-search-indices-through-api/20)

<div class="topic-metadata">

**Author:** [@marten](https://forum.litium.com/u/marten)\
**Replies:** 3\
**Last updated:** [November 15, 2018, 9:59am UTC](https://forum.litium.com/t/how-can-i-rebuild-all-search-indices-through-api/20 "2018-11-15T09:59:09Z")

</div>

I would like to have the functionality found in Litium backoffice to rebuild and/or update search indexes for all or specific areas through API, is there an easy way to do this?

---

## [Can I get the product category in the search so I can boost it](https://forum.litium.com/t/can-i-get-the-product-category-in-the-search-so-i-can-boost-it/341)

<div class="topic-metadata">

**Author:** [@Cissi](https://forum.litium.com/u/Cissi)\
**Replies:** 4\
**Last updated:** [November 14, 2018, 3:51pm UTC](https://forum.litium.com/t/can-i-get-the-product-category-in-the-search-so-i-can-boost-it/341 "2018-11-14T15:51:51Z")

</div>

So if the name in the search is a match with the products category. For example so I can add: textClause.Tags.Add(new Tag(TagNames.Category, term) { AllowFuzzy = true, Boost = 10 }); So you can search for T-shirts and…

---

## [L7 Accelerator Brand Product searching not finding products](https://forum.litium.com/t/l7-accelerator-brand-product-searching-not-finding-products/343)

<div class="topic-metadata">

**Author:** [@PontvsXlent](https://forum.litium.com/u/PontvsXlent)\
**Replies:** 5\
**Last updated:** [November 6, 2018, 9:57am UTC](https://forum.litium.com/t/l7-accelerator-brand-product-searching-not-finding-products/343 "2018-11-06T09:57:16Z")

</div>

I’m new to Litium so I might be missing something obvious, but I’m having trouble with the Accelerator BrandViewModel product search. The product brands have the same Id/names as the brand page, and they have been publi…

---

## [What is the priority settings for the search in the Accelerator](https://forum.litium.com/t/what-is-the-priority-settings-for-the-search-in-the-accelerator/230)

<div class="topic-metadata">

**Author:** [@Cissi](https://forum.litium.com/u/Cissi)\
**Replies:** 2\
**Last updated:** [September 7, 2018, 8:21am UTC](https://forum.litium.com/t/what-is-the-priority-settings-for-the-search-in-the-accelerator/230 "2018-09-07T08:21:52Z")

</div>

How can I see the priority of the search? We use boost now for some fields. But how are the priority between the regular ones in the Accelerator. For example articlenumber, name, descriptions etc? Where can I see this? …

---

## [Searching for negative numerical values?](https://forum.litium.com/t/searching-for-negative-numerical-values/112)

<div class="topic-metadata">

**Author:** [@hans](https://forum.litium.com/u/hans)\
**Replies:** 3\
**Last updated:** [July 4, 2018, 12:37pm UTC](https://forum.litium.com/t/searching-for-negative-numerical-values/112 "2018-07-04T12:37:27Z")

</div>

Are there any issues with indexing and searching for document properties with negative numeric values? It seems like we have a problem where we don’t find e.g. pages using the Lucene search when looking for negative pag…

---

## [Does search find text in pdf files in Media?](https://forum.litium.com/t/does-search-find-text-in-pdf-files-in-media/39)

<div class="topic-metadata">

**Author:** [@marten](https://forum.litium.com/u/marten)\
**Replies:** 1\
**Last updated:** [May 3, 2018, 12:49pm UTC](https://forum.litium.com/t/does-search-find-text-in-pdf-files-in-media/39 "2018-05-03T12:49:54Z")

</div>

Does Litium search also search in content of pdf documents? Litium version: 6

---

## [Can I clear the Lucene index queue?](https://forum.litium.com/t/can-i-clear-the-lucene-index-queue/36)

<div class="topic-metadata">

**Author:** [@marten](https://forum.litium.com/u/marten)\
**Replies:** 1\
**Last updated:** [May 2, 2018, 11:32am UTC](https://forum.litium.com/t/can-i-clear-the-lucene-index-queue/36 "2018-05-02T11:32:13Z")

</div>

Restarting application does not help Litium version: 6

---

## [What does the scheduled task IndexOptimization do?](https://forum.litium.com/t/what-does-the-scheduled-task-indexoptimization-do/19)

<div class="topic-metadata">

**Author:** [@marten](https://forum.litium.com/u/marten)\
**Replies:** 1\
**Last updated:** [April 18, 2018, 7:39am UTC](https://forum.litium.com/t/what-does-the-scheduled-task-indexoptimization-do/19 "2018-04-18T07:39:07Z")

</div>

In my accelerator setup there is a scheduled task called IndexOptimization \<scheduledTask type="Litium.Foundation.Search.IndexOptimization, Litium.Foundation" startTime="02:00" interval="1d" /\> What does it do?
