# Manually insert words and occurrence into the index

**URL:** <https://discuss.elastic.co/t/manually-insert-words-and-occurrence-into-the-index/317707>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [October 28, 2022, 6:47pm UTC](https://discuss.elastic.co/t/manually-insert-words-and-occurrence-into-the-index/317707 "2022-10-28T18:47:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ostr1969](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ostr1969/32/70103_2.png) [@Ostr1969](https://discuss.elastic.co/u/Ostr1969)\
**Post date:** [October 28, 2022, 6:47pm UTC](https://discuss.elastic.co/t/manually-insert-words-and-occurrence-into-the-index/317707/1 "2022-10-28T18:47:54Z")

</div>

I assume that the words of each doc are shown in the index somehow.  
I have a table of each word and occurrences of a doc( from some other tool) .  
Can I insert manually the words to the index and specify their assurance and the doc which those words belong to?. (some kind of bypassing the indexing)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 28, 2022, 6:56pm UTC](https://discuss.elastic.co/t/manually-insert-words-and-occurrence-into-the-index/317707/2 "2022-10-28T18:56:25Z")

</div>

I am not sure I understand what you are trying to achieve and why you think you need to bypass indexing. Could you please provide some additional details around the scenario with some examples? Why not just index what you want to search for?

---

<div class="post-metadata">

**Author:** ![Ostr1969](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ostr1969/32/70103_2.png) [@Ostr1969](https://discuss.elastic.co/u/Ostr1969)\
**Post date:** [October 30, 2022, 6:39pm UTC](https://discuss.elastic.co/t/manually-insert-words-and-occurrence-into-the-index/317707/3 "2022-10-30T18:39:31Z")

</div>

I'll rephrase the problem:  
The idea is to tune the rating of a document when a searcher or manager thinks that the next searcher must get it high rated.

lets say the index show 2 words "fox" in document 1  
and 4 "fox" in document 2.  
Because so, for those documents, doc 2 will be rated high for "fox" lookup.  
But I want doc1 to rate higher for the next searchers, when looking for fox, because I know the importance of this doc to fox'ers.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 30, 2022, 9:16pm UTC](https://discuss.elastic.co/t/manually-insert-words-and-occurrence-into-the-index/317707/4 "2022-10-30T21:16:27Z")

</div>

How do you know the importance though?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 27, 2022, 9:17pm UTC](https://discuss.elastic.co/t/manually-insert-words-and-occurrence-into-the-index/317707/5 "2022-11-27T21:17:21Z")

</div>

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