# Indexing office documents

**URL:** <https://discuss.elastic.co/t/indexing-office-documents/4564>\
**Category:** Elasticsearch\
**Created:** [June 7, 2011, 7:10am UTC](https://discuss.elastic.co/t/indexing-office-documents/4564 "2011-06-07T07:10:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slava\_G](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Slava\_G](https://discuss.elastic.co/u/Slava_G)\
**Post date:** [June 7, 2011, 7:10am UTC](https://discuss.elastic.co/t/indexing-office-documents/4564/1 "2011-06-07T07:10:23Z")

</div>

Hi,  
Is there any convenient way to index office documents rather then  
parse them by-myself (using Tika or Aperture) and the to feed the  
elasticsearch with the parsed data ? If yes, some reference to java  
API will be very helpful.

Thank You and Best Regards.

---

<div class="post-metadata">

**Author:** ![Rui\_Lopes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rui_lopes/32/2310_2.png) [@Rui\_Lopes](https://discuss.elastic.co/u/Rui_Lopes)\
**Post date:** [June 7, 2011, 8:36am UTC](https://discuss.elastic.co/t/indexing-office-documents/4564/2 "2011-06-07T08:36:41Z")

</div>

On Tue, Jun 7, 2011 at 08:10, slavag [slavago@gmail.com](mailto:slavago@gmail.com) wrote:

> Hi,  
> Is there any convenient way to index office documents rather then  
> parse them by-myself (using Tika or Aperture) and the to feed the  
> elasticsearch with the parsed data ? If yes, some reference to java  
> API will be very helpful.

I haven't tried it yet, but there is a plugin, see:

[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/attachment-type.html)

Best regards,  
Rui Lopes

---

<div class="post-metadata">

**Author:** ![ruflin\_2](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@ruflin\_2](https://discuss.elastic.co/u/ruflin_2)\
**Post date:** [June 7, 2011, 8:43am UTC](https://discuss.elastic.co/t/indexing-office-documents/4564/3 "2011-06-07T08:43:58Z")

</div>

I use the plugin mentioned by Rui in our production environment and  
most files work as expected. It uses Tika internally. Installation  
into elasticsearch is pretty easy. Stop your elasticsearch server and  
run the following command in your elasticsearch folder:

./bin/plugin install mapper-attachments

Then restart the server and push your documents to the index (make  
sure you have enough memory for large documents).

On Jun 7, 9:10 am, slavag [slav...@gmail.com](mailto:slav...@gmail.com) wrote:

> Hi,  
> Is there any convenient way to index office documents rather then  
> parse them by-myself (using Tika or Aperture) and the to feed the  
> elasticsearch with the parsed data ? If yes, some reference to java  
> API will be very helpful.
> 
> Thank You and Best Regards.

---

<div class="post-metadata">

**Author:** ![Slava\_G](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Slava\_G](https://discuss.elastic.co/u/Slava_G)\
**Post date:** [June 7, 2011, 8:09pm UTC](https://discuss.elastic.co/t/indexing-office-documents/4564/4 "2011-06-07T20:09:00Z")

</div>

Thank You for helpful replies, I'm going to try this.

On Jun 7, 11:43 am, ruflin [ruf...@gmail.com](mailto:ruf...@gmail.com) wrote:

> I use the plugin mentioned by Rui in our production environment and  
> most files work as expected. It uses Tika internally. Installation  
> into elasticsearch is pretty easy. Stop your elasticsearch server and  
> run the following command in your elasticsearch folder:
> 
> ./bin/plugin install mapper-attachments
> 
> Then restart the server and push your documents to the index (make  
> sure you have enough memory for large documents).
> 
> On Jun 7, 9:10 am, slavag [slav...@gmail.com](mailto:slav...@gmail.com) wrote:
> 
> > Hi,  
> > Is there any convenient way to index office documents rather then  
> > parse them by-myself (using Tika or Aperture) and the to feed the  
> > elasticsearch with the parsed data ? If yes, some reference to java  
> > API will be very helpful.
> 
> > Thank You and Best Regards.

---

<div class="post-metadata">

**Author:** ![fashionalwallet](https://avatars.discourse-cdn.com/v4/letter/f/839c29/32.png) [@fashionalwallet](https://discuss.elastic.co/u/fashionalwallet)\
**Post date:** [June 10, 2011, 12:30am UTC](https://discuss.elastic.co/t/indexing-office-documents/4564/5 "2011-06-10T00:30:28Z")

</div>

- deleted -

---

<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:** [July 6, 2017, 4:04am UTC](https://discuss.elastic.co/t/indexing-office-documents/4564/6 "2017-07-06T04:04:07Z")

</div>


