# Search result empty mid-word

**URL:** <https://forum.litium.com/t/search-result-empty-mid-word/3237>\
**Category:** Questions\
**Tags:** accelerator, search, litium-8\
**Created:** [March 27, 2024, 4:43pm UTC](https://forum.litium.com/t/search-result-empty-mid-word/3237 "2024-03-27T16:43:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wiseby](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/wiseby/32/959_2.png) [@wiseby](https://forum.litium.com/u/wiseby)\
**Post date:** [March 27, 2024, 4:43pm UTC](https://forum.litium.com/t/search-result-empty-mid-word/3237/1 "2024-03-27T16:43:58Z")

</div>

I’m reopening this thread [Elasticsearch result empty mid-word](https://forum.litium.com/t/elasticsearch-result-empty-mid-word/3152).

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 desired behaviour is that you can continue to edit the search criteria and without interuption add more text to narrow down the result.

The result is empty at certain locations of words.

I know that @patric.forsgard mentioned that I need to provide the result using the elastic search api and include the paramter “explain”. Is there any way I can use the Elasticsearch instance directly in a prod environment?

Litium version: _8.12.0_

---

<div class="post-metadata">

**Author:** ![Totte](https://avatars.discourse-cdn.com/v4/letter/t/c5a1d2/32.png) [@Totte](https://forum.litium.com/u/Totte)\
**Post date:** [April 2, 2024, 3:10pm UTC](https://forum.litium.com/t/search-result-empty-mid-word/3237/2 "2024-04-02T15:10:17Z")

</div>

Have you looked at using [ngram](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-ngram-tokenizer.html)?

---

<div class="post-metadata">

**Author:** ![wiseby](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/wiseby/32/959_2.png) [@wiseby](https://forum.litium.com/u/wiseby)\
**Post date:** [April 10, 2024, 9:07am UTC](https://forum.litium.com/t/search-result-empty-mid-word/3237/3 "2024-04-10T09:07:52Z")

</div>

Yes I looked into this ngram thing, but I’m a bit confused. Is this caused by this really? I have the same setup locally with ngram. Shouldn’t I get the same result?

---

<div class="post-metadata">

**Author:** ![wiseby](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/wiseby/32/959_2.png) [@wiseby](https://forum.litium.com/u/wiseby)\
**Post date:** [April 15, 2024, 5:31am UTC](https://forum.litium.com/t/search-result-empty-mid-word/3237/4 "2024-04-15T05:31:57Z")

</div>

Is there any way I can get access to the Test Environment so that I can make requests to the elasticsearch instance that has issues directly?

---

<div class="post-metadata">

**Author:** ![Totte](https://avatars.discourse-cdn.com/v4/letter/t/c5a1d2/32.png) [@Totte](https://forum.litium.com/u/Totte)\
**Post date:** [April 20, 2024, 7:06am UTC](https://forum.litium.com/t/search-result-empty-mid-word/3237/5 "2024-04-20T07:06:00Z")

</div>

I’m not sure if that is possible today.

Do you mind sharing your elastic search index configuration setup and query builder code?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [May 18, 2024, 7:06am UTC](https://forum.litium.com/t/search-result-empty-mid-word/3237/6 "2024-05-18T07:06:20Z")

</div>

Closed on May 18, 2024, 7:06am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
