# Fscrawler ocr question

**URL:** <https://discuss.elastic.co/t/fscrawler-ocr-question/200665>\
**Category:** Elasticsearch\
**Created:** [September 23, 2019, 10:22am UTC](https://discuss.elastic.co/t/fscrawler-ocr-question/200665 "2019-09-23T10:22:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![neergttocsdivad](https://avatars.discourse-cdn.com/v4/letter/n/43a26b/32.png) [@neergttocsdivad](https://discuss.elastic.co/u/neergttocsdivad)\
**Post date:** [September 23, 2019, 10:22am UTC](https://discuss.elastic.co/t/fscrawler-ocr-question/200665/1 "2019-09-23T10:22:19Z")

</div>

```auto
ocr:
    language: "eng"
    enabled: false
    pdf_strategy: "ocr_and_text"
  follow_symlinks: false

```

If I enable OCR in `_settings.yaml`, will all files be OCR'd - even those which already contain indexable text - or just those for which there is currently no indexable text ?

Also, does "follow\_symlinks" mean that url's will be hyperlinked and made clickable ?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 25, 2019, 11:19am UTC](https://discuss.elastic.co/t/fscrawler-ocr-question/200665/2 "2019-09-25T11:19:33Z")

</div>

It will extract both text and images.  
This test shows it:

> <https://github.com/dadoonet/fscrawler/blob/ff0310ba3a6b39abe0a580a3ba23c225350a1a67/tika/src/test/java/fr/pilato/elasticsearch/crawler/fs/tika/TikaDocParserTest.java#L665-L667>

It reads a PDF document which has an image plus some text. Both are extracted.

---

<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:** [October 23, 2019, 11:19am UTC](https://discuss.elastic.co/t/fscrawler-ocr-question/200665/3 "2019-10-23T11:19:35Z")

</div>

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