# Configure elasticsearch to query files on file system

**URL:** <https://discuss.elastic.co/t/configure-elasticsearch-to-query-files-on-file-system/16140>\
**Category:** Elasticsearch\
**Created:** [March 4, 2014, 11:27am UTC](https://discuss.elastic.co/t/configure-elasticsearch-to-query-files-on-file-system/16140 "2014-03-04T11:27:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nitesh\_Earkara](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@Nitesh\_Earkara](https://discuss.elastic.co/u/Nitesh_Earkara)\
**Post date:** [March 4, 2014, 11:27am UTC](https://discuss.elastic.co/t/configure-elasticsearch-to-query-files-on-file-system/16140/1 "2014-03-04T11:27:33Z")

</div>

Hi,

I have been trying to configure ElasticSearch to query/search files in file  
system on a Windows 7 Operating system. I have installed ElasticSearch and  
its up and running. I have been trying to install fsriver plugin by  
following instructions mentioned in link [https://github.com/dadoonet/fsriver](https://github.com/dadoonet/fsriver)

But when I try to install it, the installation fails with below message. If  
anyone has any idea, please do let me know.

C:\Users\ner\Downloads\elasticsearch-1.0.1(2)\elasticsearch-1.0.1\bin\>plugin  
-in  
stall fr.pilato.elasticsearch.river/fsriver/0.4.0  
-\> Installing fr.pilato.elasticsearch.river/fsriver/0.4.0...  
Trying  
[http://download.elasticsearch.org/fr.pilato.elasticsearch.river/fsriver/f](http://download.elasticsearch.org/fr.pilato.elasticsearch.river/fsriver/f)  
sriver-0.4.0.zip...  
Trying  
[http://search.maven.org/remotecontent?filepath=fr/pilato/elasticsearch/ri](http://search.maven.org/remotecontent?filepath=fr/pilato/elasticsearch/ri)  
ver/fsriver/0.4.0/fsriver-0.4.0.zip...  
Trying  
[https://oss.sonatype.org/service/local/repositories/releases/content/fr/p](https://oss.sonatype.org/service/local/repositories/releases/content/fr/p)  
ilato/elasticsearch/river/fsriver/0.4.0/fsriver-0.4.0.zip...  
Trying  
[https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/v0.4.0.z](https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/v0.4.0.z)  
ip...  
Trying  
[https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/master.z](https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/master.z)  
ip...  
_Failed to install fr.pilato.elasticsearch.river/fsriver/0.4.0, reason:  
failed to_

- download out of all possible locations..., use -verbose to get detailed  
informa\*  
_tion_

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/03eccef0-22e6-4eac-9190-569892dbcae7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/03eccef0-22e6-4eac-9190-569892dbcae7%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Roland\_Pirklbauer](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@Roland\_Pirklbauer](https://discuss.elastic.co/u/Roland_Pirklbauer)\
**Post date:** [March 5, 2014, 5:22am UTC](https://discuss.elastic.co/t/configure-elasticsearch-to-query-files-on-file-system/16140/2 "2014-03-05T05:22:59Z")

</div>

Am Dienstag, 4. März 2014 12:27:33 UTC+1 schrieb Nitesh Earkara:

> Hi,
> 
> I have been trying to configure Elasticsearch to query/search files in  
> file system on a Windows 7 Operating system. I have installed Elasticsearch  
> and its up and running. I have been trying to install fsriver plugin by  
> following instructions mentioned in link  
> [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver)
> 
> But when I try to install it, the installation fails with below message.  
> If anyone has any idea, please do let me know.
> 
> C:\Users\ner\Downloads\elasticsearch-1.0.1(2)\elasticsearch-1.0.1\bin\>plugin  
> -in  
> stall fr.pilato.elasticsearch.river/fsriver/0.4.0  
> -\> Installing fr.pilato.elasticsearch.river/fsriver/0.4.0...  
> Trying  
> [http://download.elasticsearch.org/fr.pilato.elasticsearch.river/fsriver/f](http://download.elasticsearch.org/fr.pilato.elasticsearch.river/fsriver/f)  
> sriver-0.4.0.zip...  
> Trying  
> [http://search.maven.org/remotecontent?filepath=fr/pilato/elasticsearch/ri](http://search.maven.org/remotecontent?filepath=fr/pilato/elasticsearch/ri)  
> ver/fsriver/0.4.0/fsriver-0.4.0.zip...  
> Trying  
> [https://oss.sonatype.org/service/local/repositories/releases/content/fr/p](https://oss.sonatype.org/service/local/repositories/releases/content/fr/p)  
> ilato/elasticsearch/river/fsriver/0.4.0/fsriver-0.4.0.zip...  
> Trying  
> [https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/v0.4.0.z](https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/v0.4.0.z)  
> ip...  
> Trying  
> [https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/master.z](https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/master.z)  
> ip...  
> _Failed to install fr.pilato.elasticsearch.river/fsriver/0.4.0, reason:  
> failed to_
> 
> - download out of all possible locations..., use -verbose to get detailed  
> informa\*  
> _tion_

Your problem is, that you cannot download the river plugin. Most likely  
this is because a firewall is preventing download from your windows  
machine, where you installed elasticsearch. You can download the plugin  
from [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver) (using the Download zip button on  
the right) and then copy the zip-file to the windows machine (e.g. in a  
directory c:\temp).

Then you can install the plugin by calling

C:\Users\ner\Downloads\elasticsearch-1.0.1(2)\elasticsearch-1.0.1\bin\>plugin  
-install fr.pilato.elasticsearch.river/fsriver/0.4.0 -url  
file://localhost/c$/temp/fsriver-master.zip

I'm not 100% sure about the correct syntax for the url-parameter, since  
I've only done similar installation of plugins at a linux box, where a  
firewall prevented the install command from directly downloading the plugin  
files.

I hope this helps, or at least pushes you a little in the right direction.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/303b8951-3acc-4e14-970f-c24066134f04%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/303b8951-3acc-4e14-970f-c24066134f04%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Nitesh\_Earkara](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@Nitesh\_Earkara](https://discuss.elastic.co/u/Nitesh_Earkara)\
**Post date:** [March 5, 2014, 5:29am UTC](https://discuss.elastic.co/t/configure-elasticsearch-to-query-files-on-file-system/16140/3 "2014-03-05T05:29:24Z")

</div>

Hi Roland,

Thanks for the suggestion. I am getting error while trying to install using  
the way you suggested.

Below is the error message

C:\Users\ner\Downloads\elasticsearch-1.0.1(2)\elasticsearch-1.0.1\bin\>plugin  
-install fr.pilato.elasticsearch.river/fsriver/0.4.0 -url  
C:\Users\ner\Downloads/fs  
river-master.zip  
-\> Installing fr.pilato.elasticsearch.river/fsriver/0.4.0...  
_Failed to install fr.pilato.elasticsearch.river/fsriver/0.4.0, reason:  
unknown protocol: c_

On Tuesday, March 4, 2014 4:57:33 PM UTC+5:30, Nitesh Earkara wrote:

> Hi,
> 
> I have been trying to configure Elasticsearch to query/search files in  
> file system on a Windows 7 Operating system. I have installed Elasticsearch  
> and its up and running. I have been trying to install fsriver plugin by  
> following instructions mentioned in link  
> [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver)
> 
> But when I try to install it, the installation fails with below message.  
> If anyone has any idea, please do let me know.
> 
> C:\Users\ner\Downloads\elasticsearch-1.0.1(2)\elasticsearch-1.0.1\bin\>plugin  
> -in  
> stall fr.pilato.elasticsearch.river/fsriver/0.4.0  
> -\> Installing fr.pilato.elasticsearch.river/fsriver/0.4.0...  
> Trying  
> [http://download.elasticsearch.org/fr.pilato.elasticsearch.river/fsriver/f](http://download.elasticsearch.org/fr.pilato.elasticsearch.river/fsriver/f)  
> sriver-0.4.0.zip...  
> Trying  
> [http://search.maven.org/remotecontent?filepath=fr/pilato/elasticsearch/ri](http://search.maven.org/remotecontent?filepath=fr/pilato/elasticsearch/ri)  
> ver/fsriver/0.4.0/fsriver-0.4.0.zip...  
> Trying  
> [https://oss.sonatype.org/service/local/repositories/releases/content/fr/p](https://oss.sonatype.org/service/local/repositories/releases/content/fr/p)  
> ilato/elasticsearch/river/fsriver/0.4.0/fsriver-0.4.0.zip...  
> Trying  
> [https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/v0.4.0.z](https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/v0.4.0.z)  
> ip...  
> Trying  
> [https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/master.z](https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/master.z)  
> ip...  
> _Failed to install fr.pilato.elasticsearch.river/fsriver/0.4.0, reason:  
> failed to_
> 
> - download out of all possible locations..., use -verbose to get detailed  
> informa\*  
> _tion_

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f2a529e4-4810-416a-8b1d-0c3d649785ff%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f2a529e4-4810-416a-8b1d-0c3d649785ff%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [March 5, 2014, 5:43am UTC](https://discuss.elastic.co/t/configure-elasticsearch-to-query-files-on-file-system/16140/4 "2014-03-05T05:43:10Z")

</div>

The zip download available on github is not what you want. The format  
required for plugins is different from the source download found on github.  
Since it appears that you do not have download access, as Roland mentioned,  
your last option is to clone the project in git and build it yourself with  
maven. The resulting zip file will be in the correct plugin format.

--  
Ivan

On Tue, Mar 4, 2014 at 9:29 PM, Nitesh Earkara [enitesh@gmail.com](mailto:enitesh@gmail.com) wrote:

> Hi Roland,
> 
> Thanks for the suggestion. I am getting error while trying to install  
> using the way you suggested.
> 
> Below is the error message
> 
> C:\Users\ner\Downloads\elasticsearch-1.0.1(2)\elasticsearch-1.0.1\bin\>plugin  
> -install fr.pilato.elasticsearch.river/fsriver/0.4.0 -url  
> C:\Users\ner\Downloads/fs  
> river-master.zip  
> -\> Installing fr.pilato.elasticsearch.river/fsriver/0.4.0...  
> _Failed to install fr.pilato.elasticsearch.river/fsriver/0.4.0, reason:  
> unknown protocol: c_
> 
> On Tuesday, March 4, 2014 4:57:33 PM UTC+5:30, Nitesh Earkara wrote:
> 
> > Hi,
> > 
> > I have been trying to configure Elasticsearch to query/search files in  
> > file system on a Windows 7 Operating system. I have installed Elasticsearch  
> > and its up and running. I have been trying to install fsriver plugin by  
> > following instructions mentioned in link [https://github.com/](https://github.com/)  
> > dadoonet/fsriver
> > 
> > But when I try to install it, the installation fails with below message.  
> > If anyone has any idea, please do let me know.
> > 
> > C:\Users\ner\Downloads\elasticsearch-1.0.1(2)\elasticsearch-1.0.1\bin\>plugin  
> > -in  
> > stall fr.pilato.elasticsearch.river/fsriver/0.4.0  
> > -\> Installing fr.pilato.elasticsearch.river/fsriver/0.4.0...  
> > Trying [http://download.elasticsearch.org/fr.pilato.elasticsearch](http://download.elasticsearch.org/fr.pilato.elasticsearch).  
> > river/fsriver/f  
> > sriver-0.4.0.zip...  
> > Trying [Central Repository: fr](http://search.maven.org/remotecontent?filepath=fr/)  
> > pilato/elasticsearch/ri  
> > ver/fsriver/0.4.0/fsriver-0.4.0.zip...  
> > Trying [https://oss.sonatype.org/service/local/repositories/](https://oss.sonatype.org/service/local/repositories/)  
> > releases/content/fr/p  
> > ilato/elasticsearch/river/fsriver/0.4.0/fsriver-0.4.0.zip...  
> > Trying [https://github.com/fr.pilato.elasticsearch.river/fsriver/](https://github.com/fr.pilato.elasticsearch.river/fsriver/)  
> > archive/v0.4.0.z  
> > ip...  
> > Trying [https://github.com/fr.pilato.elasticsearch.river/fsriver/](https://github.com/fr.pilato.elasticsearch.river/fsriver/)  
> > archive/master.z  
> > ip...  
> > _Failed to install fr.pilato.elasticsearch.river/fsriver/0.4.0, reason:  
> > failed to_
> > 
> > - download out of all possible locations..., use -verbose to get detailed  
> > informa\*  
> > _tion_
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/f2a529e4-4810-416a-8b1d-0c3d649785ff%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f2a529e4-4810-416a-8b1d-0c3d649785ff%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/f2a529e4-4810-416a-8b1d-0c3d649785ff%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f2a529e4-4810-416a-8b1d-0c3d649785ff%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQC2wNa%2BLpjMwhjnsmkbMjBVs-fGcXvwQL%3DQ%3DeF0ud8bbQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQC2wNa%2BLpjMwhjnsmkbMjBVs-fGcXvwQL%3DQ%3DeF0ud8bbQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [March 5, 2014, 8:11am UTC](https://discuss.elastic.co/t/configure-elasticsearch-to-query-files-on-file-system/16140/5 "2014-03-05T08:11:48Z")

</div>

+1

If your browser can download it, use [http://search.maven.org/remotecontent?filepath=fr/pilato/elasticsearch/river/fsriver/0.4.0/fsriver-0.4.0.zip](http://search.maven.org/remotecontent?filepath=fr/pilato/elasticsearch/river/fsriver/0.4.0/fsriver-0.4.0.zip)

When using install script with -url option, add file: as protocol.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 5 mars 2014 à 06:43, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) a écrit :

The zip download available on github is not what you want. The format required for plugins is different from the source download found on github. Since it appears that you do not have download access, as Roland mentioned, your last option is to clone the project in git and build it yourself with maven. The resulting zip file will be in the correct plugin format.

--  
Ivan

> On Tue, Mar 4, 2014 at 9:29 PM, Nitesh Earkara [enitesh@gmail.com](mailto:enitesh@gmail.com) wrote:  
> Hi Roland,
> 
> Thanks for the suggestion. I am getting error while trying to install using the way you suggested.
> 
> Below is the error message
> 
> C:\Users\ner\Downloads\elasticsearch-1.0.1(2)\elasticsearch-1.0.1\bin\>plugin -install fr.pilato.elasticsearch.river/fsriver/0.4.0 -url C:\Users\ner\Downloads/fs  
> river-master.zip  
> -\> Installing fr.pilato.elasticsearch.river/fsriver/0.4.0...  
> Failed to install fr.pilato.elasticsearch.river/fsriver/0.4.0, reason: unknown protocol: c
> 
> > On Tuesday, March 4, 2014 4:57:33 PM UTC+5:30, Nitesh Earkara wrote:  
> > Hi,
> > 
> > I have been trying to configure Elasticsearch to query/search files in file system on a Windows 7 Operating system. I have installed Elasticsearch and its up and running. I have been trying to install fsriver plugin by following instructions mentioned in link [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver)
> > 
> > But when I try to install it, the installation fails with below message. If anyone has any idea, please do let me know.
> > 
> > C:\Users\ner\Downloads\elasticsearch-1.0.1(2)\elasticsearch-1.0.1\bin\>plugin -in  
> > stall fr.pilato.elasticsearch.river/fsriver/0.4.0  
> > -\> Installing fr.pilato.elasticsearch.river/fsriver/0.4.0...  
> > Trying [http://download.elasticsearch.org/fr.pilato.elasticsearch.river/fsriver/f](http://download.elasticsearch.org/fr.pilato.elasticsearch.river/fsriver/f)  
> > sriver-0.4.0.zip...  
> > Trying [http://search.maven.org/remotecontent?filepath=fr/pilato/elasticsearch/ri](http://search.maven.org/remotecontent?filepath=fr/pilato/elasticsearch/ri)  
> > ver/fsriver/0.4.0/fsriver-0.4.0.zip...  
> > Trying [https://oss.sonatype.org/service/local/repositories/releases/content/fr/p](https://oss.sonatype.org/service/local/repositories/releases/content/fr/p)  
> > ilato/elasticsearch/river/fsriver/0.4.0/fsriver-0.4.0.zip...  
> > Trying [https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/v0.4.0.z](https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/v0.4.0.z)  
> > ip...  
> > Trying [https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/master.z](https://github.com/fr.pilato.elasticsearch.river/fsriver/archive/master.z)  
> > ip...  
> > Failed to install fr.pilato.elasticsearch.river/fsriver/0.4.0, reason: failed to  
> > download out of all possible locations..., use -verbose to get detailed informa  
> > tion
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f2a529e4-4810-416a-8b1d-0c3d649785ff%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f2a529e4-4810-416a-8b1d-0c3d649785ff%40googlegroups.com).
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQC2wNa%2BLpjMwhjnsmkbMjBVs-fGcXvwQL%3DQ%3DeF0ud8bbQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQC2wNa%2BLpjMwhjnsmkbMjBVs-fGcXvwQL%3DQ%3DeF0ud8bbQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ACFFA36A-70CF-42ED-A1FE-E02138A1D5C1%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/ACFFA36A-70CF-42ED-A1FE-E02138A1D5C1%40pilato.fr).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:45am UTC](https://discuss.elastic.co/t/configure-elasticsearch-to-query-files-on-file-system/16140/6 "2017-07-06T01:45:41Z")

</div>


