# Plugin manager

**URL:** <https://discuss.elastic.co/t/plugin-manager/12318>\
**Category:** Elasticsearch\
**Created:** [June 7, 2013, 10:39am UTC](https://discuss.elastic.co/t/plugin-manager/12318 "2013-06-07T10:39:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nyamka110\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nyamka110_2/32/2237_2.png) [@nyamka110\_2](https://discuss.elastic.co/u/nyamka110_2)\
**Post date:** [June 7, 2013, 10:39am UTC](https://discuss.elastic.co/t/plugin-manager/12318/1 "2013-06-07T10:39:56Z")

</div>

hi all;

I'm very new to elasticsearch, and I wanted to install fsriver and  
mapper-attachments but when i write a command " bin/plugin -install  
fr.pilato.elasticsearch.river/fsriver/0.2.0" i get error that "Couldn't find  
or load main class org.elasticsearch.plugins.PluginManager".

I found PluginManager java file but i seriously don't know where do I place  
that java file. Pls help , tnx 🙂

--  
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).  
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:** [June 7, 2013, 12:27pm UTC](https://discuss.elastic.co/t/plugin-manager/12318/2 "2013-06-07T12:27:04Z")

</div>

Did you download elasticsearch from elasticsearch website ?  
Use the right package and don't download sources from github unless you want to compile the project.

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

Le 7 juin 2013 à 12:39, [nyamka110@gmail.com](mailto:nyamka110@gmail.com) a écrit :

> hi all;
> 
> I'm very new to elasticsearch, and I wanted to install fsriver and  
> mapper-attachments but when i write a command " bin/plugin -install  
> fr.pilato.elasticsearch.river/fsriver/0.2.0" i get error that "Couldn't find  
> or load main class org.elasticsearch.plugins.PluginManager".
> 
> ## I found PluginManager java file but i seriously don't know where do I place that java file. Pls help , tnx 🙂
> 
> 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).  
> 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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![nyamka110\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nyamka110_2/32/2237_2.png) [@nyamka110\_2](https://discuss.elastic.co/u/nyamka110_2)\
**Post date:** [June 10, 2013, 2:40am UTC](https://discuss.elastic.co/t/plugin-manager/12318/3 "2013-06-10T02:40:56Z")

</div>

hi, i downloaded elasticsearch from elasticsearch's website, Did you mean  
that official elasticsearch website's download has all neccesary rivers or  
any plugins? OR should I download the rivers or any plugins from  
elasticsearch website?  
Sorry my bad english 🙂

> 

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Fatima\_Castiglione\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fatima_castiglione_m/32/2252_2.png) [@Fatima\_Castiglione\_M](https://discuss.elastic.co/u/Fatima_Castiglione_M)\
**Post date:** [June 10, 2013, 5:02am UTC](https://discuss.elastic.co/t/plugin-manager/12318/4 "2013-06-10T05:02:19Z")

</div>

Hi  
I am new to the list and to elasticsearch

I installed the plugins manually, following this tutorial  
(he explains how to install \_head, a web interface; installing \_river is  
similar)

> **[Getting started with ElasticSearch](https://www.javacodegeeks.com/2013/04/getting-started-with-elasticsearch.html)**
>
> A quick introduction to ElasticSearch, an open source, ditributed and RESTful search engine based on lucene, and how easily you can start working with it.

2013/6/9 [nyamka110@gmail.com](mailto:nyamka110@gmail.com)

> hi, i downloaded elasticsearch from elasticsearch's website, Did you mean  
> that official elasticsearch website's download has all neccesary rivers or  
> any plugins? OR should I download the rivers or any plugins from  
> elasticsearch website?  
> Sorry my bad english 🙂
> 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

# --

Fátima Castiglione Maldonado  
[castiglionemaldonado@gmail.com](mailto:castiglionemaldonado@gmail.com)

```
                 ____
               ,'_ |

```

**_|||  
\< ) .------.  
 `-----------,------.-' ,-' `-.  
| | | ,' `. ,' | | ,' `.  
| ,-' |_ /   
 _,'-' `. `---._|**\_\_\_\_\_\_\_\_\_   
.--' -----. | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ `-. ----- | | ___| | | \ ,- \ | |___ | |===========================((|) | | | | | | _____________________ / `- / |  
`--._ -----' | _________________ ,-' ----- | `.-.\_ ,' \_\_.---' | /  
| `-. | \ / `. | | `. ,' | | | `. ,'  
\_\_\_\_\_,----------`-------`-. `-._ _,-' < ___________________________ ) `------'  
| _| |  
`._\_\_\_|

=================================

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![nyamka110\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nyamka110_2/32/2237_2.png) [@nyamka110\_2](https://discuss.elastic.co/u/nyamka110_2)\
**Post date:** [June 10, 2013, 5:04am UTC](https://discuss.elastic.co/t/plugin-manager/12318/5 "2013-06-10T05:04:22Z")

</div>

I heard that David you're an author of Scrutmydocs. Right now I'm trying  
that. Would you like to help me on this, Please explain about that rivers,  
How can i create or import Database river or any other river and what's  
main role of rivers. I think FS river do the index job of my uploaded docs,  
is it right? I have many things in Scrutmydocs that i didn't understand.

how can i see my uploaded docs just like mysql database?  
Pls pls help, thank you

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![nyamka110\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nyamka110_2/32/2237_2.png) [@nyamka110\_2](https://discuss.elastic.co/u/nyamka110_2)\
**Post date:** [June 10, 2013, 5:10am UTC](https://discuss.elastic.co/t/plugin-manager/12318/6 "2013-06-10T05:10:07Z")

</div>

Hi Fatima, Thanks for your help, One question : Where do i put that codes  
to create client etc.

01//Create Client  
02Settings settings = ImmutableSettings.settingsBuilder().put("cluster.name"  
,"localtestsearch").build();  
03TransportClient transportClient = new TransportClient(settings);  
04transportClient = transportClient.addTransportAddress(new  
InetSocketTransportAddress("localhost",9300));  
05return (Client) transportClient;  
06  
07//Create Index and set settings and mappings  
08  
09CreateIndexRequestBuilder createIndexRequestBuilder =  
client.admin().indices().prepareCreate(indexName);  
10createIndexRequestBuilder.execute().actionGet();  
11  
12//Add documents  
13IndexRequestBuilder indexRequestBuilder =  
client().prepareIndex(indexName, documentType, documentId);  
14//build json object  
15XContentBuilder contentBuilder =  
jsonBuilder().startObject().prettyPrint();  
16contentBuilder.field("name", "jai");  
17contentBuilder.stopObject();  
18indexRequestBuilder.setSource(contentBuilder);  
19IndexResponse response = indexRequestBuilder .execute().actionGet();  
20  
21//Get document  
22GetRequestBuilder getRequestBuilder = client().prepareGet(indexName,  
type, id);  
23getRequestBuilder.setFields(new String{"name"});  
24GetResponse response = getRequestBuilder.execute().actionGet();  
25String name = response.field("name").getValue().toString();

Should i put this in elasticsearch config file or write in java file ? I'm  
sorry i don't know java and other programming languages.

On Monday, June 10, 2013 1:02:19 PM UTC+8, Fatima Castiglione Maldonado  
wrote:

> Hi  
> I am new to the list and to elasticsearch
> 
> I installed the plugins manually, following this tutorial  
> (he explains how to install \_head, a web interface; installing \_river is  
> similar)
> 
> [Getting started with ElasticSearch](http://www.javacodegeeks.com/2013/04/getting-started-with-elasticsearch.html)
> 
> 2013/6/9 \<[nyam...@gmail.com](mailto:nyam...@gmail.com) \<javascript:\>\>
> 
> > hi, i downloaded elasticsearch from elasticsearch's website, Did you mean  
> > that official elasticsearch website's download has all neccesary rivers or  
> > any plugins? OR should I download the rivers or any plugins from  
> > elasticsearch website?  
> > Sorry my bad english 🙂
> > 
> > > --  
> > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> # --
> 
> Fátima Castiglione Maldonado  
> [castiglion...@gmail.com](mailto:castiglion...@gmail.com) \<javascript:\>
> 
> ```
> ____
> ,'_ |
> 
> ```
> 
> \_\_\_\_\_\_\__**|||  
> \<**_ ) _.------._  
> `-----------,------.-' ,-' `-.
> 
> ```
> | | | ,' `.
> ,' | | ,' `.
> | _,-' |__ / \
> _,'-' `. `---. ___|_____________ \
> 
> .--' -----. | _____________________ `-. ----- |
> | ___| | | \ ,- \ |
> | ___| |===========================((|) | |
> | | | | _____________________ / `- / |
> 
> `--._ -----' | _________________ ,-' ----- |
> `.-._ ,' __.---' | /
> | `-. | \ /
> `. | | `. ,'
> 
> | | | `. ,'
> 
> ```
> 
> \_\_\_\_\_,----------`-------`-. `-._ _,-' < ___________________________ ) `------'  
> | \_| |
> 
> ```
> `. ____ |
> 
> ```
> 
> =================================

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Fatima\_Castiglione\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fatima_castiglione_m/32/2252_2.png) [@Fatima\_Castiglione\_M](https://discuss.elastic.co/u/Fatima_Castiglione_M)\
**Post date:** [June 10, 2013, 9:37am UTC](https://discuss.elastic.co/t/plugin-manager/12318/7 "2013-06-10T09:37:49Z")

</div>

if you really want to use that API, you will need to create a java class to  
put that code.

if all you want to do is to index text documents (that is all i want) there  
is another solution.  
i looked at the app that you mentioned ( scrutmydocs )

1. install glassfish  
download glassfish server from  
[https://glassfish.java.net/downloads/3.0.1-final.html](https://glassfish.java.net/downloads/3.0.1-final.html)  
open terminal  
go to download directory  
Make the downloaded executable, by typing in:  
chmod +x glassfish-3.0.1-unix-ml.sh  
Run the script using the command  
./glassfish-3.0.1-unix-ml.sh  
i installed it in:  
/usr/share/glassfishv3/bin/asadmin  
tell the glassfish install program where your jdk is, mine (Ubuntu) was:  
/usr/lib/jvm/java-6-openjdk-amd64/bin

2. run glassfish  
cd /usr/share/glassfishv3/bin  
./asadmin start-domain domain1

3. install scrutmydocs  
you can download the app as a war from  
[http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
go to  
[http://localhost:4848/common/index.jsf](http://localhost:4848/common/index.jsf)  
deploy the app using the option on the left

4. run scrutmydocs  
[http://localhost:8080/scrutmydocs-0.2.0/](http://localhost:8080/scrutmydocs-0.2.0/)  
once the app opens, load the docs (a button at upper-right)  
then run a query and it works

Bye

2013/6/10 [nyamka110@gmail.com](mailto:nyamka110@gmail.com)

> Hi Fatima, Thanks for your help, One question : Where do i put that codes  
> to create client etc.
> 
> 01//Create Client  
> 02Settings settings = ImmutableSettings.settingsBuilder().put("  
> cluster.name","localtestsearch").build();  
> 03TransportClient transportClient = new TransportClient(settings);  
> 04transportClient = transportClient.addTransportAddress(new  
> InetSocketTransportAddress("localhost",9300));  
> 05return (Client) transportClient;  
> 06  
> 07//Create Index and set settings and mappings  
> 08  
> 09CreateIndexRequestBuilder createIndexRequestBuilder =  
> client.admin().indices().prepareCreate(indexName);  
> 10createIndexRequestBuilder.execute().actionGet();  
> 11  
> 12//Add documents  
> 13IndexRequestBuilder indexRequestBuilder =  
> client().prepareIndex(indexName, documentType, documentId);  
> 14//build json object  
> 15XContentBuilder contentBuilder =  
> jsonBuilder().startObject().prettyPrint();  
> 16contentBuilder.field("name", "jai");  
> 17contentBuilder.stopObject();  
> 18indexRequestBuilder.setSource(contentBuilder);  
> 19IndexResponse response = indexRequestBuilder .execute().actionGet();  
> 20  
> 21//Get document  
> 22GetRequestBuilder getRequestBuilder = client().prepareGet(indexName,  
> type, id);  
> 23getRequestBuilder.setFields(new String{"name"});  
> 24GetResponse response = getRequestBuilder.execute().actionGet();  
> 25  
> ...
> 
> [Message tronqué]

# --

Fátima Castiglione Maldonado  
[castiglionemaldonado@gmail.com](mailto:castiglionemaldonado@gmail.com)

```
                 ____
               ,'_ |

```

**_|||  
\< ) .------.  
 `-----------,------.-' ,-' `-.  
| | | ,' `. ,' | | ,' `.  
| ,-' |_ /   
 _,'-' `. `---._|**\_\_\_\_\_\_\_\_\_   
.--' -----. | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ `-. ----- | | ___| | | \ ,- \ | |___ | |===========================((|) | | | | | | _____________________ / `- / |  
`--._ -----' | _________________ ,-' ----- | `.-.\_ ,' \_\_.---' | /  
| `-. | \ / `. | | `. ,' | | | `. ,'  
\_\_\_\_\_,----------`-------`-. `-._ _,-' < ___________________________ ) `------'  
| _| |  
`._\_\_\_|

=================================

--  
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).  
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, 2:32am UTC](https://discuss.elastic.co/t/plugin-manager/12318/8 "2017-07-06T02:32:02Z")

</div>


