# Fscrawler

**URL:** <https://discuss.elastic.co/t/fscrawler/99011>\
**Category:** Elasticsearch\
**Created:** [August 31, 2017, 1:38pm UTC](https://discuss.elastic.co/t/fscrawler/99011 "2017-08-31T13:38:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sureshboiina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sureshboiina/32/79183_2.png) [@sureshboiina](https://discuss.elastic.co/u/sureshboiina)\
**Post date:** [August 31, 2017, 1:38pm UTC](https://discuss.elastic.co/t/fscrawler/99011/1 "2017-08-31T13:38:43Z")

</div>

HI  
Actually i want to index the pdf files for that i am using fscrawler in elasticsearch 5.2 but getting an error

**`my _setting.json file is`**  
{  
"name" : "job\_name",  
"fs" : {  
"url" : "d:/pdf/",  
"update\_rate" : "15m",  
"includes": ["_._"],  
"excludes" : ["\*.json"],  
"json\_support" : false,  
"filename\_as\_id" : false,  
"add\_filesize" : true,  
"remove\_deleted" : true,  
"add\_as\_inner\_object" : false,  
"store\_source" : true,  
"index\_content" : true,  
"attributes\_support" : false,  
"raw\_metadata" : true,  
"xml\_support" : false,  
"index\_folders" : true,  
"lang\_detect" : false,  
"continue\_on\_error" : false,  
"pdf\_ocr" : true,  
"ocr" : {  
"language" : "eng"  
}  
},  
"elasticsearch" : {  
"nodes" : [ {  
"host" : "127.0.0.1",  
"port" : 9200,  
"scheme" : "HTTP"  
} ],  
"bulk\_size" : 100,  
"flush\_interval" : "5s",  
"type" : "doc",  
"pipeline" : "fscrawler"  
},  
"rest" : {  
"scheme" : "HTTP",  
"host" : "127.0.0.1",  
"port" : 8080,  
"endpoint" : "fscrawler"  
}  
}

**But getting error**

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/2/9276f272adf4f811d4bb9b8e91aa5969c674bf7f.png)

Please help me on this

Thanks

---

<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:** [August 31, 2017, 7:05pm UTC](https://discuss.elastic.co/t/fscrawler/99011/2 "2017-08-31T19:05:39Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

Don't post images. It's hardly readable.

Also, may be you can share somewhere (within a FSCrawler issue?) your sample document?

Thanks.

---

<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:** [September 28, 2017, 7:05pm UTC](https://discuss.elastic.co/t/fscrawler/99011/3 "2017-09-28T19:05:57Z")

</div>

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