Honza Král
a1dc43192b
forgot raw -> keyword in example
2017-11-10 15:35:39 +01:00
Honza Král
7f5a9f8cec
Update example to work with elasticsearch 6.0
2017-11-10 15:18:50 +01:00
Honza Král
40b0a68b82
Add repository to commit documents
2017-10-26 14:36:50 +02:00
Israel Blancas
0eba1bf2c1
Add requirements.txt in the example ( #644 )
2017-08-29 22:39:38 +02:00
Nick Lang
9320ee7eaf
add optional host and path param on load.py ( #601 )
...
If you want/need to load data into a different es cluster just specify either the
* -H/--host option
* -p/--path option
ex: python load.py --host http://123.123.123.123:9200 -p /home/code/elasticsearch
2017-06-15 16:49:26 +02:00
Honza Král
72105e3f4c
Allow the example/load.py script to load other repos from CLI
2017-05-18 10:11:34 -07:00
Honza Král
66cc0a82b4
allow fielddata for files field to allow aggregations
2017-02-18 15:49:13 +05:30
Honza Král
ef3820c4fe
use text/keyword instead of string in load example
2016-12-12 14:10:06 +11:00
Honza Král
4812980479
Merge PR #497 , thanks veatch!
2016-12-06 12:33:35 +01:00
Jason Veatch
7fbcfc2c71
Cleaned up indentation in script block
2016-12-01 16:29:05 -05:00
Jason Veatch
d4748c98c3
Restore fixed update example in example/load.py
...
Earlier I'd misread the Scripting and Security page about inline scripts
- turns out they are enabled by default. Earlier failures I saw were due
to old groovy syntax. Things are working after changing to painless.
2016-12-01 16:03:46 -05:00
Jason Veatch
b46f7e74e6
Querying with parent id has changed in ES v5
2016-12-01 14:17:44 -05:00
Jason Veatch
3401b21f1c
Updated example queries for ES v5
2016-12-01 13:47:08 -05:00
Jason Veatch
cdd1fbf6a0
Scripted updates are disabled by default in ES v5
2016-12-01 13:45:21 -05:00
Jason Veatch
9ac70f3dcb
Fix UnicodeDecodeError
2016-12-01 12:08:39 -05:00
Jason Veatch
5f199882d8
multi_field type is removed from 5, move to new format
...
Instead of ignoring all 400s when creating the index, only ignore
index_already_exists_exception and raise other exceptions.
2016-12-01 10:51:04 -05:00
Honza Král
da1a8b92c9
Make sure example works with Elasticsearch 2.0
...
Fixes #300
2015-11-04 18:13:31 +01:00
Honza Král
99eb8936a3
Another example query, this time with an actual query
2013-12-09 17:48:54 +01:00
Honza Král
3e262779bb
Example code using the client
2013-12-09 03:17:32 +01:00