Hi,
Thanks for adding the code in ManageRiverAction. :}
Actually, I have a local river running with name of wikidocs which contain
some files and pdf. it is running at interval of 2 min. When i call the
command
curl '172.16.51.128:9200/_river/wikidocs/_stop'?pretty
{
"_index" : "_river",
"_type" : "wikidocs",
"_id" : "_stop",
"exists" : false
}
the log show the river is still indexing the content in folder and i tired
to update the document and got the updated result after 2 min. Does* _stop*means that the river will stop the indexing the particular index or
something else?
just to log the result, i run the following curl command to verify my
results
curl '172.16.51.128:9200/_river/wikidocs/_status'?pretty
{
"_index" : "_river",
"_type" : "wikidocs",
"_id" : "_status",
"_version" : 1,
"exists" : true, "_source" :
{"ok":true,"node":{"id":"qttVufn6QRyUN5bd7AgejQ","name":"Elastic-Master","transport_address":"inet[/172.16.51.128:9300]"}}
Thanks
Ajitpal Singh
On Tuesday, 23 April 2013 23:17:38 UTC+1, David Pilato wrote:
It's now added in FSRiver and will be part of 0.2.0 release:
Suspend or restart FSRiver · Issue #21 · dadoonet/fscrawler · GitHub
HTH
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr
| @scrutmydocs https://twitter.com/scrutmydocs
Le 22 avr. 2013 à 12:30, David Pilato <da...@pilato.fr <javascript:>> a
écrit :
You can close the _river index.
Note that it will suspend all rivers.
That said, if you need to have an action to suspend FSRiver, you can open
an issue in FSRiver project and I will try to add it.
HTH
--
David Pilato | Technical Advocate | *Elasticsearch.comhttp://elasticsearch.com/
*
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr
| @scrutmydocs https://twitter.com/scrutmydocs
Le 22 avr. 2013 à 11:13, Ajitpal Singh <ajit....@gmail.com <javascript:>>
a écrit :
Hi All,
I'm working with fs-river to index the local file system. The fs-river run
on the thread at particular interval for eg. 180000 [every 3 min]. Can we
pause/stop the index, but still able to run search query? Using curl
command
curl -XPOST "localhost:9200/my_index/_close/"
will close the index, but the search capability also stops, Until we open
the index again using _open switch.
thanks,
Ajitpal
--
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 <javascript:>.
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.
For more options, visit https://groups.google.com/groups/opt_out.