Hello Kent,
you can always access the raw transport and send any request you wish
for the unsupported APIs:
from elasticsearch import Elasticsearch
es = Elasticsearch()
data, status = es.transport.perform_request('PUT', '/_river/....',
body={'type': 'fs',})
Hope this helps,
Honza Kral
On Thu, Mar 13, 2014 at 9:57 PM, Kent Tenney <[email protected]> wrote:
> From the fsriver doc:
>
> curl -XPUT 'localhost:9200/_river/mydocs/_meta' -d '{
> "type": "fs",
> "fs": {
> "url": "/tmp",
> "update_rate": 900000,
> "includes": "*.doc,*.pdf",
> "excludes": "resume"
> }
> }'
>
> How does this translate to the Python API?
>
> Thanks,
> Kent
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CAAa_k2f9zW7VLR5%3DjkqipQwzZanU%2BQxCDWSVJ0FD1L_6RP6g7w%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CABfdDiod%2B59QVa9dtOT8TBSAtuHh8Zm_ongDu-2vs%3DeZD-UcFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.