Clinton Gormley
46cda7db09
Docs: Clarify that refresh on update just refreshes the relevant shards
2014-09-07 11:41:05 +02:00
Clinton Gormley
3bda779336
Docs: Update scripting.asciidoc
...
Clarify that doc[...] does not return objects
Closes #7384
2014-09-07 11:39:33 +02:00
Clinton Gormley
51cec43d3c
Docs: Clarify that refresh on get/update/delete just refreshes the relevant shards
...
Closes #7359
2014-09-07 11:36:52 +02:00
Clinton Gormley
0578a703df
Docs: Update prefix-query.asciidoc
...
Typo (missing word)
Closes #7283
2014-09-07 11:32:05 +02:00
Clinton Gormley
cf001d6837
Docs: Adds missing explanation to multi-match
...
Closes #7281
2014-09-07 11:30:52 +02:00
pachanta
8bae96485e
Docs: Update span-not-query.asciidoc
...
The example given does not clearly explain what the query does.
Closes #7049
2014-09-07 11:28:19 +02:00
Clinton Gormley
1bdf79e527
Docs: Added explanation of how to do multi-field terms agg
...
Closes #5100
2014-09-07 11:09:52 +02:00
Dominik Surowiecki
7c2490b2ad
Docs: Wrong class name
...
Was QFilterBuilders, should be FilterBuilders.
Closes #7611
2014-09-07 08:46:41 +02:00
shrinidhichaudhari
13e3a5e99c
Docs: Update cardinality-aggregation.asciidoc
...
Closes #7516
2014-09-06 20:45:45 +02:00
Simon Willnauer
7f32e8c707
[STORE] Simplify reading / writing from and to BlobContainer
...
BlobContainer used to provide async APIs which are not used
internally. The implementation of these APIs are also not async
by nature and neither is any of the pluggable BlobContainers. This
commit simplifies the API to a simple input / output stream and
reduces the hierarchy of BlobContainer dramatically.
NOTE: This is a breaking change!
Closes #7551
2014-09-05 21:40:20 +02:00
Alex Ksikes
07d741c2cb
Term Vectors: Support for artificial documents
...
This adds the ability to the Term Vector API to generate term vectors for
artifical documents, that is for documents not present in the index. Following
a similar syntax to the Percolator API, a new 'doc' parameter is used, instead
of '_id', that specifies the document of interest. The parameters '_index' and
'_type' determine the mapping and therefore analyzers to apply to each value
field.
Closes #7530
2014-09-05 07:42:43 +02:00
Clinton Gormley
c88f55ab52
Docs: Fixed typo in windows-as-a-service
2014-09-04 16:12:46 +02:00
Nik Everett
7bcd09a134
[docs] fix typo in language analyzer docs
2014-09-04 09:33:00 +02:00
Adrien Grand
4bfad644b3
Aggregations: Forbid usage of aggregations in conjunction with search_type=SCAN.
...
Aggregations are collection-wide statistics, which is incompatible with the
collection mode of search_type=SCAN since it doesn't collect all matches on
calls to the search API.
Close #7429
2014-09-03 09:03:01 +02:00
Adrien Grand
203e80e650
Aggregations: Only return aggregations on the first page when scrolling.
...
Aggregations are collection-wide statistics so they would always be the same.
In order to save CPU/bandwidth, we can just return them on the first page.
Same as #1642 but for aggregations.
2014-09-03 09:03:01 +02:00
Robert Muir
395744b0d2
[Analysis] Add missing docs for latvian analysis
2014-09-02 19:22:59 -04:00
Clinton Gormley
a059a6574a
Update reverse-nested-aggregation.asciidoc
...
Fixed reverse nested example
Closes #7463
2014-09-02 11:40:41 +01:00
mikemccand
53ce7ad764
fix typo
2014-09-01 16:07:05 -04:00
Britta Weber
c5ff70bf43
function_score: add optional weight parameter per function
...
Weights can be defined per function like this:
```
"function_score": {
"functions": [
{
"filter": {},
"FUNCTION": {},
"weight": number
}
...
```
If `weight` is given without `FUNCTION` then `weight` behaves like `boost_factor`.
This commit deprecates `boost_factor`.
The following is valid:
```
POST testidx/_search
{
"query": {
"function_score": {
"weight": 2
}
}
}
POST testidx/_search
{
"query": {
"function_score": {
"functions": [
{
"weight": 2
},
...
]
}
}
}
POST testidx/_search
{
"query": {
"function_score": {
"functions": [
{
"FUNCTION": {},
"weight": 2
},
...
]
}
}
}
POST testidx/_search
{
"query": {
"function_score": {
"functions": [
{
"filter": {},
"weight": 2
},
...
]
}
}
}
POST testidx/_search
{
"query": {
"function_score": {
"functions": [
{
"filter": {},
"FUNCTION": {},
"weight": 2
},
...
]
}
}
}
```
The following is not valid:
```
POST testidx/_search
{
"query": {
"function_score": {
"weight": 2,
"FUNCTION(including boost_factor)": 2
}
}
}
POST testidx/_search
{
"query": {
"function_score": {
"functions": [
{
"weight": 2,
"boost_factor": 2
}
]
}
}
}
````
closes #6955
closes #7137
2014-09-01 11:04:40 +02:00
Britta Weber
92937c7770
Docs: fix formula typo in documentation of the gauss decay in function_score
...
closes #7506
2014-09-01 09:46:13 +02:00
Adrien Grand
8e1d3d56b3
Docs: Replace added[1.4.0] with coming[1.4.0] since 1.4 is not released yet.
2014-08-29 11:57:22 +02:00
londocr
1213eec834
Spelling error of aggregation
2014-08-28 08:57:12 +02:00
Ryan Ernst
65afa1d93b
FunctionScore: Refactor RandomScoreFunction to be consistent, and return values in rang [0.0, 1.0]
...
RandomScoreFunction previously relied on the order the documents were
iterated in from Lucene. This caused changes in ordering, with the same
seed, if documents moved to different segments. With this change, a
murmur32 hash of the _uid for each document is used as the "random"
value. Also, the hash is adjusted so as to only return values between
0.0 and 1.0 to enable easier manipulation to fit into users' scoring
models.
closes #6907 , #7446
2014-08-27 08:37:25 -07:00
Peter Johnson @insertcoffee
10197936da
Docs: typo?
...
Closes #7458
2014-08-26 15:26:34 +02:00
Alexander Reelsen
f2aa4a38bc
Docs: Added link to clarify meaning of filtering in fielddata context
2014-08-26 12:00:06 +02:00
mikemccand
783a9cbb18
Stats: add segments.index_writer_max_memory to see index writer's max RAM usage before buffered documents must be written to a new segment
...
Closes #7438
Closes #7440
2014-08-25 14:43:09 -04:00
Lee Hinman
c5c11b1837
[DOCS] Document NOT as a simple_query_string flag
...
Fixes #7426
2014-08-25 10:27:24 +02:00
Alex Ksikes
e78694ae82
More Like This Query: defaults to all possible fields for items
...
Items with no specified field now defaults to all the possible fields from the
document source. Previously, we had required 'fields' to be specified either
as a top level parameter or for each item. The default behavior is now similar
to the MLT API.
Closes #7382
2014-08-22 15:07:22 +02:00
Greg Marzouka
887bd0a9c2
[DOCS] Update to the new {index}/_mapping/{type} format
2014-08-21 13:56:11 -04:00
Britta Weber
2a32cf338e
Docs: _ttl ignores all parameters except for enabled and default.
...
Also, add a line about that it can never be disabled after it was enabled.
2014-08-21 16:16:02 +02:00
Alex Ksikes
f1a6b4e9fe
More Like This Query: Switch to using the multi-termvectors API
...
The term vector API can now generate term vectors on the fly, if the terms are
not already stored in the index. This commit exploits this new functionality
for the MLT query. Now the terms are directly retrieved using multi-
termvectors API, instead of generating them from the texts retrieved using the
multi-get API.
Closes #7014
2014-08-21 12:18:21 +02:00
Adrien Grand
ea96359d82
Facets: Removal from master.
...
Close #7337
2014-08-21 10:34:39 +02:00
Alex Ksikes
62ef4a30dc
Term vector API: return 'found: false' for docs between index and refresh
...
Closes #7121
2014-08-21 09:58:49 +02:00
Colin Goodheart-Smithe
7f943f0296
Aggregations: Scriptable Metrics Aggregation
...
A metrics aggregation which runs specified scripts at the init, collect, combine, and reduce phases
Closes #5923
2014-08-20 18:17:27 +01:00
Shay Banon
3a52296358
Warmer (search) to support query cache
...
allow for search based warmer to support query cache flag on the search request, and use the index level query caching flag if set.
closes #7326
2014-08-20 09:31:29 -07:00
Martijn van Groningen
383e64bd5c
Aggregations: Add `children` bucket aggregator that is able to map buckets between parent types and child types using the already builtin parent/child support.
...
Closes #6936
2014-08-19 12:40:51 +02:00
Britta Weber
639692943f
Docs: Document distance type and sort mode for many to many geo_points
...
closes #7280
2014-08-18 16:15:55 +02:00
Lee Hinman
99b0faed14
[DOCS] document simple_query_string's `lenient` option
2014-08-18 15:56:06 +02:00
Colin Goodheart-Smithe
b2286915cd
Geo: Adds support for GeoJSON GeometryCollection
...
Closes #2796
2014-08-18 13:55:39 +01:00
Clinton Gormley
76b7b68605
Docs: Fixed header levels in setup/dir-layout.asciidoc
2014-08-18 13:38:28 +02:00
Clinton Gormley
e6b82bb15d
Docs: Fixed bad ID
2014-08-18 13:19:36 +02:00
Xiao Yu
4f417aa774
Docs: Update nested-filter.asciidoc
...
Fix whitespace to standardize on spaces for indents on both code examples for readability.
Closes #6568
2014-08-18 13:09:00 +02:00
Britta Weber
aa1dbc0778
Docs: Fix ambigous explanation of the "fields" parameter in `query_string` query
...
Closes #7292
2014-08-18 13:06:48 +02:00
Carsten Brandt
6a6c45e2d0
Docs: Update snapshots.asciidoc
...
Added a link so you directly get to the page that tells how to open/close an index.
Closes #7286
2014-08-18 13:04:25 +02:00
Konrad Feldmeier
3b3e2ed5e9
Docs: Remove the 'Factor' paragraph to reflect #6490
...
The current implementation of 'date_histogram' does not understand
the `factor` parameter. Since the docs shouldn't raise false hopes,
I removed the section.
Closes #7277
2014-08-18 13:02:15 +02:00
Mpampis Kostas
bf8c4f1155
Docs: Remove phrase duplication in api-conventions.asciidoc
...
Closes #7263
2014-08-18 13:01:12 +02:00
Mpampis Kostas
55b642abc5
Docs: Fix typo in phrase-suggest.asciidoc
...
Closes #7262
2014-08-18 13:00:30 +02:00
rdpatil4
a0b74695b7
Docs: Update frontends.asciidoc
...
Closes #7224
2014-08-18 12:59:31 +02:00
Krishna Raj
0f3ebc0876
Docs: Update integrations.asciidoc
...
Closes #7193
2014-08-18 12:57:45 +02:00
Clinton Gormley
24e66597fa
Update repositories.asciidoc
...
Added apt-get update to the commands for clarity.
Closes #7192
2014-08-18 12:57:08 +02:00