Configure elasticsearch to query files on file system

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

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
sriver-0.4.0.zip...
Trying
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
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
ip...
Trying
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.
To view this discussion on the web visit 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.

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)

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
sriver-0.4.0.zip...
Trying
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
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
ip...
Trying
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) (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.
To view this discussion on the web visit 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.

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)

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
sriver-0.4.0.zip...
Trying
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
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
ip...
Trying
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.
To view this discussion on the web visit 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.

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 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/
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
sriver-0.4.0.zip...
Trying Central Repository: 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
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
ip...
Trying 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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/f2a529e4-4810-416a-8b1d-0c3d649785ff%40googlegroups.comhttps://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.

--
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.
To view this discussion on the web visit 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.

+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

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

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

Le 5 mars 2014 à 06:43, Ivan Brusic 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 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)

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
sriver-0.4.0.zip...
Trying 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
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
ip...
Trying 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.
To view this discussion on the web visit 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.

--
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.
To view this discussion on the web visit 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.

--
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.
To view this discussion on the web visit 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.