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 |