lcawley
120ddd99c3
[DOCS] Remove edit link from ML node
2017-09-14 16:18:29 -07:00
Clinton Gormley
5d70df855d
Docs: Cross-cluster search doc wasn't being included
2017-01-18 10:02:51 +01:00
Simon Willnauer
d7eee637d9
fix some docs issues
2017-01-17 11:47:29 +01:00
Simon Willnauer
dca54734ac
add basic docs
2017-01-05 16:10:34 +01:00
Nik Everett
c79371fd5b
Remove lang-python and lang-javascript ( #20734 )
...
They were deprecated in 5.0. We are concentrating on making
Painless awesome rather than supporting every language possible.
Closes #20698
2016-11-21 22:13:25 -05:00
Clinton Gormley
34d90b041f
Reorganise scripting docs ( #18132 )
...
* Reorganize scripting documentation
* Further changes to tidy up scripting docs
Closes #18116
* Add note about .lat/lon potentially returning null
* Added .value to expressions example
* Fixed two bad ASCIIDOC links
2016-05-04 18:17:10 +02:00
debadair
ad28fb9ec0
Docs: Adding Painless to the Scripting documentation.
2016-03-23 13:52:40 -07:00
Clinton Gormley
676078c53d
Docs: Java Security Manager and scripting
...
Added docs explaining the impact of the Java Security Manager on scripting
languages, how to disable the JSM, and how to customise the classloader
whitelist.
Closes https://github.com/elastic/elasticsearch/issues/16094
Closes https://github.com/elastic/elasticsearch/issues/14290
2016-02-01 09:38:21 +01:00
Clinton Gormley
40650ad2d5
Merge pull request #14612 from arinto/patch-2
...
[DOCS] Typo on the tribe node description
2015-11-09 14:00:56 +01:00
Clinton Gormley
df865a2628
Merge pull request #14431 from arinto/patch-1
...
[DOCS] Missing tribe nodes' short description
2015-11-08 18:36:31 +01:00
Clinton Gormley
f123a53d72
Docs: Refactored modules and index modules sections
2015-06-22 23:49:45 +02:00
Clinton Gormley
aa94ced0ae
Remove references to the thrift and memcached transport plugins
...
as they are no longer supported
Closes #10166
2015-03-19 20:49:58 +01:00
Clinton Gormley
0751f0b7c6
[DOCS] Fixed link to tribe.asciidoc
2014-01-13 22:01:12 +01:00
Clinton Gormley
2e79246c1a
[DOCS] Added docs for tribe node
...
Related #4708
2014-01-13 21:53:53 +01:00
Britta Weber
1ede9a5730
make term statistics accessible in scripts
...
term statistics can be accessed via the _shard variable.
Below is a minimal example. See documentation on details.
```
DELETE paytest
PUT paytest
{
"mappings": {
"test": {
"_all": {
"auto_boost": true,
"enabled": true
},
"properties": {
"text": {
"index_analyzer": "fulltext_analyzer",
"store": "yes",
"type": "string"
}
}
}
},
"settings": {
"analysis": {
"analyzer": {
"fulltext_analyzer": {
"filter": [
"my_delimited_payload_filter"
],
"tokenizer": "whitespace",
"type": "custom"
}
},
"filter": {
"my_delimited_payload_filter": {
"delimiter": "+",
"encoding": "float",
"type": "delimited_payload_filter"
}
}
},
"index": {
"number_of_replicas": 0,
"number_of_shards": 1
}
}
}
POST paytest/test/1
{
"text": "the+1 quick+2 brown+3 fox+4 is quick+10"
}
POST paytest/test/2
{
"text": "the+1 quick+2 red+3 fox+4"
}
POST paytest/_refresh
POST paytest/_search
{
"script_fields": {
"ttf": {
"script": "_shard[\"text\"][\"quick\"].ttf()"
}
}
}
POST paytest/_search
{
"script_fields": {
"freq": {
"script": "_shard[\"text\"][\"quick\"].freq()"
}
}
}
POST paytest/test/2/_termvector
POST paytest/_search
{
"script_fields": {
"payloads": {
"script": "term = _shard[\"text\"].get(\"red\",_PAYLOADS);payloads = []; for(pos : term){payloads.add(pos.payloadAsFloat(-1));} return payloads;"
}
}
}
POST paytest/_search
{
"script_fields": {
"tv": {
"script": "_shard[\"text\"][\"quick\"].freq()"
}
},
"query": {
"function_score": {
"functions": [
{
"script_score": {
"script": "_shard[\"text\"][\"quick\"].freq()"
}
}
]
}
}
}
```
closes #3772
2014-01-02 11:17:33 +01:00
Igor Motov
510397aecd
Initial implementation of Snapshot/Restore API
...
Closes #3826
2013-11-10 18:26:56 -05:00
Clinton Gormley
393c28bee4
[DOCS] Removed outdated new/deprecated version notices
2013-09-03 21:28:31 +02:00
Clinton Gormley
822043347e
Migrated documentation into the main repo
2013-08-29 01:24:34 +02:00