# Manually write document to ElasticSearch

**URL:** <https://forum.litium.com/t/manually-write-document-to-elasticsearch/2643>\
**Category:** Questions\
**Created:** [August 3, 2022, 1:45pm UTC](https://forum.litium.com/t/manually-write-document-to-elasticsearch/2643 "2022-08-03T13:45:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin.w](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/robin.w/32/75_2.png) [@Robin.w](https://forum.litium.com/u/Robin.w)\
**Post date:** [August 3, 2022, 1:45pm UTC](https://forum.litium.com/t/manually-write-document-to-elasticsearch/2643/1 "2022-08-03T13:45:52Z")

</div>

Hi, I want to use a elastic search result to build a second elastic index. I dont want to presist the result on disk and asign it Guids.

As of now i can only add Guid to the index queue, so i can’t use the normal “indexQueueService.Enqueue” flow.

In an optimal world adding a string data prop to the IndexQueueItem whould solve my problem, but for now is there a way to create a manual loop add write my documents to elastic?

Litium version: 7/8

---

<div class="post-metadata">

**Author:** ![NilsN](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/nilsn/32/302_2.png) [@NilsN](https://forum.litium.com/u/NilsN)\
**Post date:** [August 5, 2022, 9:03am UTC](https://forum.litium.com/t/manually-write-document-to-elasticsearch/2643/2 "2022-08-05T09:03:52Z")

</div>

The `IndexQueueItem` has an `AdditionalInfo` dictionary property. Could it be enough to add your string data prop there?

---

<div class="post-metadata">

**Author:** ![Robin.w](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/robin.w/32/75_2.png) [@Robin.w](https://forum.litium.com/u/Robin.w)\
**Post date:** [August 6, 2022, 8:06am UTC](https://forum.litium.com/t/manually-write-document-to-elasticsearch/2643/3 "2022-08-06T08:06:19Z")

</div>

@NilsN I can only find that field on Litium 8. Is it also included in some update for L7 ?

---

<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:** [September 3, 2022, 8:06am UTC](https://forum.litium.com/t/manually-write-document-to-elasticsearch/2643/4 "2022-09-03T08:06:22Z")

</div>

Closed on September 3, 2022, 8:06am UTC

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