Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3230 commits
Select commit Hold shift + click to select a range
b1f7d3c
Add 5.5.1 version constant and BWC indices
dakrone Jul 25, 2017
086b942
Fix elvis operator documentation
dakrone Jul 25, 2017
39f6bc5
Parse "*" in query_string_query as MatchAllDocsQuery
dakrone Jul 25, 2017
dd37cd1
Coerce decimal strings for whole number types by truncating the decim…
Jul 26, 2017
ce6c353
[Docs] Add profile section to the Search API documentation (#25880)
tlrx Jul 26, 2017
48d027b
[Docs] Update Java Low-Level documentation to reflect shaded deps (#2…
tlrx Jul 26, 2017
f0b24ba
inner hits: Only access stored fields when needed
martijnvg Jul 24, 2017
283b511
MasterNodeChangePredicate should use the node instance to detect mast…
bleskes Jul 26, 2017
236d2e5
Fix rest client causing jarHell for gradle 3.5+ (#25892)
hub-cap Jul 26, 2017
b9eb9d2
[DOCS] update low level client artifact name
javanna Jul 27, 2017
4517515
Caching a MinDocQuery can lead to wrong results. (#25909)
jpountz Jul 27, 2017
7451fa2
Release operation permit on thread-pool rejection (#25930)
ywelsch Jul 27, 2017
e5ec958
Allow build to directly run under JDK 9 (#25859)
ywelsch Jul 27, 2017
8a4b33e
Remove the shadow plugin apply in the rest client (#25921)
hub-cap Jul 27, 2017
d7d8300
Fix eclipse issues related to rest client shading (#25874)
hub-cap Jul 27, 2017
dd8deb7
docs: Remove incorrect warning
martijnvg Jul 28, 2017
c465891
Update plugin-related output in reference docs (#25897)
danielmitterdorfer Jul 28, 2017
807884f
No more using 'hybrid mmapfs / niofs' (#25944)
propulkit Jul 31, 2017
8c21797
Add max file size bootstrap check
jasontedor Jul 31, 2017
fdc1a86
Remove useless checks from evil JNA tests
jasontedor Jul 31, 2017
f502f68
Remove memlock suggestion from systemd service
jasontedor Jul 31, 2017
993955a
Set address space limit in systemd service file
jasontedor Jul 31, 2017
5721eb9
Add test for limits on systemd
jasontedor Jul 31, 2017
58a6127
Remove mention of http_address in nodes info docs
jasontedor Jul 31, 2017
fcb948f
[DOCS] add links to javadocs to clients docs (#25745)
javanna Jul 31, 2017
080123a
Fix term(s) query for range field (#25918)
Jul 31, 2017
643700a
Fixed bug that mapper_parsing_exception is thrown for numeric field w…
honourednihilist Jul 31, 2017
93ae1d5
Fix max proceses assertion in systemd tests
jasontedor Aug 1, 2017
978ff1f
[Docs] Add migration notes for the high-level rest client (#25911)
tlrx Aug 1, 2017
c00a52c
Add recommendation on unicast hosts to docs
jasontedor Aug 1, 2017
de5a4ab
Painless: allow doubles to be casted to longs. (#25936)
jpountz Aug 1, 2017
fcd5645
Docs: Remove s3 repository integ test documentation (#26005)
rjernst Aug 1, 2017
d98e2b9
[Docs] Add documentation for search queries in high-level rest client…
tlrx Aug 2, 2017
bba2d6c
Fix `_exists_` in query_string on empty indices. (#25993)
jpountz Aug 2, 2017
bb53b63
Node should start up despite of a lingering `.es_temp_file` (#21210)
bleskes Aug 1, 2017
c83d4cc
Update shards_allocation.asciidoc (#26019)
aronszanto Aug 3, 2017
12f1df3
Fixes array out of bounds for value count agg (#26038)
colings86 Aug 3, 2017
51972a6
[Docs] Add Aggregations list to the high-level client documentation (…
tlrx Aug 3, 2017
b7c6623
[Docs] Fix bad cross doc link
tlrx Aug 3, 2017
d92b6a1
Build: Fork javac to avoid GC overhead (#26047)
rjernst Aug 3, 2017
281228e
Updates 5.6.0 release notes
colings86 Aug 4, 2017
11d38b9
docs: Use stackexchange based example to make documentation easier to…
martijnvg Aug 4, 2017
cc24bbd
[TEST] prevent yaml tests from using raw requests (#26044)
javanna Aug 7, 2017
493ddb6
Update templates.asciidoc (#26036)
markwalkom Aug 8, 2017
5afe696
Adds release notes for 5.5.2
colings86 Aug 8, 2017
e38e885
Docs: Use correct field name in Field Value factor docs. (#26104)
ianfisk Aug 8, 2017
551fed5
Docs: Note feature missing from reindex
nik9000 Aug 9, 2017
17c812e
Fix inner hits to work with queries wrapped in an `indices` query.
martijnvg Aug 10, 2017
ccf1e9b
updates 5.5.2 release notes
colings86 Aug 11, 2017
5e90ebb
Updates 5.6.0 release notes
colings86 Aug 11, 2017
c07683e
Fix incorrect class name in deleteByQuery docs (#26151)
hanbj Aug 11, 2017
7021d5f
Fixed typo in README.textile (#26168)
JapSeyz Aug 11, 2017
17e41d7
AwaitFix testDeprecatedSettings (#25680)
andyb-elastic Aug 11, 2017
a09b034
Remove percolate threadpool as it doesn't exists.
gmoskovicz Aug 14, 2017
24a5e36
Fix Netty 4 multi-port test
jasontedor Aug 1, 2017
a7f1646
Fix Netty 3 multi-port test
jasontedor Aug 14, 2017
47461ca
Update reference from DateHistogram to Histogram (#26169)
hanbj Aug 14, 2017
9cbe4ec
Snapshot/Restore: Ensure that shard failure reasons are correctly sto…
imotov Aug 14, 2017
54620ff
Allow not configure logging without config
jasontedor Aug 14, 2017
d0292f0
Lazy initialize deprecation logger in parser
jasontedor Aug 15, 2017
55b0d47
Allow wildcards for shard IP filtering (#26187)
ywelsch Aug 15, 2017
5452660
Register setting cluster.indices.tombstones.size (#26193)
ywelsch Aug 15, 2017
b1f6131
Lazily resolve path.scripts setting
jasontedor Aug 15, 2017
7d65ac5
[Docs] Fix typo in api-conventions.asciidoc (#26171)
dlindeque Aug 15, 2017
32f74b3
Fix typo in comment in o/e/b/Elasticsearch
jasontedor Aug 15, 2017
f29cf9d
[Docs] Fix boolean value in include-in-all.asciidoc (#25732)
rvadym Aug 15, 2017
bbb7af5
describe how to apply best_compression (#25706)
matarrese Aug 15, 2017
729d35d
Use holder pattern for lazy deprecation loggers
jasontedor Aug 15, 2017
03a8bda
Docs disambiguate reindex's requests_per_second (#26185)
berglh Aug 15, 2017
e739d40
Further improve docs for requests_per_second
nik9000 Aug 15, 2017
4663098
Serialize and expose timeout of acknowledged requests in REST layer (…
ywelsch Aug 15, 2017
10f488b
Fix script setting names in script security docs
jasontedor Aug 16, 2017
1ded568
Release pipelined http responses on close (#26226)
Tim-Brooks Aug 16, 2017
f13b8b0
Add deprecation logging when _all is enabled (#26228)
dakrone Aug 16, 2017
a161e67
Evaluate settings values before passing it to task closure (#26243)
s1monw Aug 16, 2017
3dc923e
Updated 5.6.0 release notes
clintongormley Aug 17, 2017
26aefac
Fix some links in Painless method reference
nik9000 Aug 17, 2017
be38f03
Docs: fold section into current chapter
nik9000 Aug 17, 2017
a922b97
Workaround Eclipse Oxygen type inference error (#26001)
albertzaharovits Aug 9, 2017
d8ff828
Add links to external classes in clients javadoc (#25998)
javanna Aug 17, 2017
6f2b2bd
Handle release of 5.5.2
nik9000 Aug 17, 2017
e712361
Revert "Add deprecation logging when _all is enabled (#26228)"
dakrone Aug 18, 2017
bf17795
Fix typo re: bootstrap.memory_lock in Docker docs. (#26265)
michaelbaamonde Aug 18, 2017
743ab24
Use explicit test classes output dir for configuring test task
ywelsch Aug 21, 2017
c3fb17f
ICUCollationKeywordFieldMapper use SortedSetDocValuesField (#26267)
mattweber Aug 21, 2017
6fc9e83
[Docs] Correct json example in ingest-node.asciidoc (#26221)
Atothendrew Aug 21, 2017
ece4d1c
[DOCS] Clarify compatibility and relation between high level REST cli…
javanna Aug 21, 2017
77159da
[Docs] Clarify behaviour of Pattern Capture Token Filter during searc…
cbuescher Aug 21, 2017
06993f4
[DOCS] add sentence about high level client support for 5.6
javanna Aug 22, 2017
1c5004d
Fix nested query highlighting (#26305)
jimczi Aug 22, 2017
ea053e8
#26305: fix tests after backport
jimczi Aug 22, 2017
d27e9d9
Add workaround for Javadoc generation issues on JDK 9 b181
ywelsch Aug 23, 2017
1f871e9
Use Javadoc tool from JAVA_HOME (#26330)
ywelsch Aug 23, 2017
1d48d5b
Set classpath on Painless apiJavadoc task
ywelsch Aug 23, 2017
e05d6e6
Add docs regarding setting logging levels
jasontedor Aug 23, 2017
fa0d19b
Fix logging level docs
jasontedor Aug 24, 2017
9ab7a58
[TEST] Fixes docs tests
colings86 Aug 24, 2017
8822637
Updates 5.6.0 release notes
colings86 Aug 24, 2017
f49feb8
Handle long paths on Windows for standalone tests
jasontedor Aug 24, 2017
e997ec9
Revert shading for the low level rest client
hub-cap Aug 24, 2017
42adf14
Build: Allow build to configure which license/notice to embed in jars…
rjernst Aug 25, 2017
f41942c
[DOCS] Adds release notes for 5.5.3
colings86 Aug 25, 2017
b546d5d
Fix the mention of split_on_whitespace's default value in QSQ docs (#…
Bargs Aug 25, 2017
5cf3ac5
Register ParsedTopHits aggregation with the rest high level client (#…
inve1 Aug 25, 2017
3c970b8
Register ip_range aggregation with the high level client (#26383)
cbuescher Aug 25, 2017
50ef7ef
Fix compilation in eclipse (#25107)
nik9000 Jun 7, 2017
230de00
[Docs] Fixing phrasing in has-parent-query.asciidoc (#26396)
shaulzorea Aug 28, 2017
00aeaf5
setgid on /etc/elasticearch on package install
jasontedor Aug 29, 2017
4fc899d
Scripting: Deprecate scripts.max_compilation_per_minute setting (#26402)
spinscale Aug 29, 2017
a410ca7
Revert "Scripting: Deprecate scripts.max_compilation_per_minute setti…
spinscale Aug 29, 2017
0ad4e7b
[DOCS] Updates 5.5.3 release notes
colings86 Aug 29, 2017
1353f42
[DOCS] Updates 5.6.0 release notes
colings86 Aug 29, 2017
1550e66
Revert "[Docs] Update Java Low-Level documentation to reflect shaded …
hub-cap Aug 29, 2017
5d638a4
Scripting: Deprecate scripts.max_compilation_per_minute setting (#26420)
spinscale Aug 29, 2017
43d193a
Avoid blocking on channel close on network thread (#25521)
Tim-Brooks Jul 10, 2017
aa8252f
Adapt Netty 3 to avoid blocking on channel close
jasontedor Aug 29, 2017
2fa6a4f
Fix missing imports for MockTcpTransport
jasontedor Aug 29, 2017
fbef063
Build: Add git hashes used as build metadata (#26397)
rjernst Aug 28, 2017
1c703ca
Use short name for invoking wrapper script
jasontedor Aug 30, 2017
5a8bba4
Upgrade to Log4j 2.9.0
jasontedor Aug 31, 2017
ad10f48
Allow abort of bulk items before processing (#26434)
tvernum Aug 31, 2017
e95cb29
Allow double aborts on bulk item requests
jasontedor Aug 31, 2017
ad374be
Test: Quiet failing java 9 test due to log4j upgrade
rjernst Aug 31, 2017
b1a513d
Reenable BWC tests after backport
jasontedor Aug 31, 2017
31f8331
Add a shading example to the rest client docs
hub-cap Sep 1, 2017
7678413
Skip some logging tests on JDK 9
jasontedor Sep 1, 2017
c04eead
Skip another logging test on JDK 9
jasontedor Sep 1, 2017
f9c09b2
Remove inadvertently added line from test method
jasontedor Sep 1, 2017
f1ed9a7
Prettify primary response in assertion message
jasontedor Sep 1, 2017
0d1f1b8
Clarify development vs. production mode
jasontedor Sep 2, 2017
91cb238
fixing typo in nested-aggregation.asciidoc (#26481)
shaulzorea Sep 4, 2017
8a73898
[Docs] Fix wrong indent in gateway documentation (#26501)
Sep 5, 2017
34958af
Add Log4j to SLF4J binding for repository-hdfs
jasontedor Sep 5, 2017
8323bdf
Forbid direct usage of ContentType.create() methods (#26457)
tlrx Sep 6, 2017
adab020
[Docs] Add "Using Java Builders" section (#26517)
tlrx Sep 6, 2017
47cd516
Fix cache compute if absent for expired entries
jasontedor Sep 6, 2017
781a835
Internal: Add versionless alias for rest client codebase in policy fi…
rjernst Sep 7, 2017
fbecfd8
Remove maybe-stale norelease pattern
jasontedor Sep 8, 2017
d579ce6
Support Vagrant 2.x
risdenk Sep 9, 2017
c41407d
Allow multiple digits in Vagrant 2.x minor versions
jasontedor Sep 9, 2017
26285f8
[Docs] Fix typo in javadocs (#26556)
sunkuet02 Sep 9, 2017
0267a0e
[Docs] Update method setSource(byte[] source) (#26561)
jiangzhuolin Sep 11, 2017
b067831
Snapshot fallback should consider build.snapshot
jasontedor Sep 11, 2017
cf1e7a1
Fix compilation in Build.java
jasontedor Sep 11, 2017
5a32d0e
[DOCS] Set release-state to released.
debadair Sep 11, 2017
854ef6b
Upgrade to Lucene-6.6.1. (#26535)
jpountz Sep 12, 2017
d39ac99
Bump ES version to 5.6.1 (#26586)
hub-cap Sep 12, 2017
59f1d55
Add beta tag to MSI Windows Installer (#26616)
russcam Sep 13, 2017
3cc396b
Add MSI breaking change to release notes (#26593)
russcam Sep 13, 2017
efb06bc
Fix unmapped_type creation for indices created in 2.x (#26602)
jimczi Sep 13, 2017
f26ef69
Add boolean similarity to built in similarity types (#26613)
brusic Sep 13, 2017
b8f2f46
Fix incomplete sentences in parent-join docs (#26623)
jimczi Sep 13, 2017
9d53bed
[Docs] Clarify size parameter in Completion Suggester doc (#26617)
tlrx Sep 13, 2017
661a304
testMockFailToSendNoConnectRule should wait for connection close to b…
bleskes Jul 15, 2017
ed5852b
[Docs] Update link in removal_of_types.asciidoc (#26614)
danochoa Sep 14, 2017
4507e30
Adds release notes for 5.6.1
colings86 Sep 14, 2017
566f3f1
Fix percolator highlight sub fetch phase to not highlight query twice…
jimczi Sep 14, 2017
62b8e10
Fixes broken release notes
colings86 Sep 14, 2017
667b497
Add missing catch arguments to the rest api spec (#26536)
hub-cap Sep 14, 2017
fde220f
[Docs] Update ingest.asciidoc (#26599)
markwalkom Sep 15, 2017
fc49997
Docs: Use single-node discovery.type for dev example
dliappis Sep 15, 2017
99c2e47
Fix kuromoji default stoptags (#26600)
avdv Sep 15, 2017
b5fc5ba
[Docs] Correct typo in removal_of_types.asciidoc (#26646)
beand Sep 14, 2017
a6cdfd5
[DOCS] Remove edit link from ML node
lcawl Sep 14, 2017
310b8f3
[DOCS] Bumped version for 5.6.1
debadair Sep 18, 2017
1979598
Handle release of 5.6.1
nik9000 Sep 18, 2017
ff43813
Add skip version to rolling upgrade test (#26632)
hub-cap Sep 18, 2017
fbfc6d8
Add missing script contexts and types allowed settings. (#26703)
jdconrad Sep 19, 2017
72c334f
Fix code example indentation (#26697)
bevacqua Sep 19, 2017
66f0fa8
inner hits: Do not allow inner hits to be specified on a nested that …
martijnvg Jul 17, 2017
e7509fa
Invalid JSON request body caused endless loop (#26680)
original-brownbear Sep 19, 2017
46667e5
test: Use a single primary shard so that the exception can caught in …
martijnvg Sep 19, 2017
c42eade
Backporting "Sense for VirtualBox and $HOME when deciding to turn on …
jbaiera Jun 12, 2017
3209bcd
Add setup and teardown for old cluster tests (#26713)
hub-cap Sep 19, 2017
eeb573f
Upgrade API: fix excessive logging and unnecessary template updates (…
imotov Sep 19, 2017
3c21acc
Make RestHighLevelClient's Request class public (#26627)
tlrx Sep 20, 2017
73c9315
[Docs] Fix name of character filter in example. (#26724)
shibli049 Sep 20, 2017
6e9a2cc
Catch exceptions and inform handler in RemoteClusterConnection#collec…
s1monw Sep 20, 2017
3b0e119
[DOCS] Added index-shared4 and index-shared5.asciidoc
lcawl Sep 20, 2017
de2b2e6
BulkProcessor flush runnable preserves the thread context from creati…
jaymode Sep 20, 2017
5db3250
[Docs] Remove what appears to be merge conflict leftovers (#26731)
catherinesnow Sep 21, 2017
18c58d9
[Docs] Fixed typo of *configuration* (#25058)
wasserman Sep 21, 2017
985320f
Fix permission errors when using Read Only HDFS Repository (#26714)
jbaiera Sep 21, 2017
1c3ce36
Adds 5.6.2 release notes
colings86 Sep 21, 2017
5873f37
[Docs] Grammar fix (#26737)
catherinesnow Sep 21, 2017
7634d0c
[Docs] Added link to Reindex API page (#26735)
gitaarik Sep 21, 2017
e297c53
aggs: Do not delegate a null scorer to LeafBucketCollectors
martijnvg Sep 22, 2017
eab7b25
[Tests] Prevent test errors cause by empty field names (#26740)
cbuescher Sep 22, 2017
8e83bfa
Plugins: Add backcompat for sha1 checksums (#26748)
rjernst Sep 22, 2017
57e20f3
Upgrade to Log4j 2.9.1
jasontedor Sep 22, 2017
a44e17f
[DOCS] Replace mention of string field type with text and keyword
javanna Sep 25, 2017
20725cf
Updates 5.6.2 release notes
colings86 Sep 25, 2017
f881919
[DOCS] improve encrypted communication example in java REST low-level…
javanna Sep 25, 2017
d75540e
Build: Set bwc builds to always set snapshot (#26704)
rjernst Sep 20, 2017
eff1e3c
[DOCS] Bumped version for 5.6.2
debadair Sep 26, 2017
b719249
Bumping ES Version to 5.6.2 (#26793)
jbaiera Sep 26, 2017
af6ab88
Add note to docs on /etc/elasticsearch ownership
jasontedor Sep 27, 2017
ae35914
Add note to migration docs on setgid change
jasontedor Sep 27, 2017
ba075d2
Add label to breaking packaging changes
jasontedor Sep 27, 2017
9f7919a
MetaData Builder doesn't properly prevent an alias with the same name…
bleskes Sep 29, 2017
64256d4
Fix references to vm.max_map_count in Docker docs
wlalele Sep 29, 2017
6fd3344
Pass exception from sendMessage to listener (#23559)
Tim-Brooks Mar 30, 2017
e31ec75
Log cause when a write and flush fails
jasontedor Oct 1, 2017
ecace7c
Maybe die before trying to log cause
jasontedor Oct 1, 2017
acc26e9
[Docs] Update length-tokenfilter.asciidoc (#26849)
markwalkom Oct 2, 2017
6cea891
[Docs] Correcting max value for length token filter
cbuescher Oct 2, 2017
991183d
Tests: Add Fedora-26 to packaging tests
dliappis Oct 3, 2017
f1434c8
Use Azure upload method instead of our own implementation (#26751) (#…
dadoonet Oct 3, 2017
fa03e60
Clarify pure wilcard matching with `query_string` (#26814)
jimczi Oct 4, 2017
c1dc638
Fix default paths for Windows service
jasontedor Oct 4, 2017
8fa000f
Fix serialization errors when cross cluster search goes to a single s…
javanna Oct 4, 2017
c25002f
Change log level on write and flush failure to warn
jasontedor Oct 5, 2017
a7c9fd3
Unwrap causes when maybe dying
jasontedor Oct 5, 2017
4ed38c1
Unwrap causes when maybe dying for Netty 3
jasontedor Oct 5, 2017
fb32305
Add additional low-level logging handler
jasontedor Oct 5, 2017
9b555e2
Document JVM option MaxFDLimit for macOS ()
stuvie Oct 5, 2017
09d0ed6
Remove deploying in JBoss documentation
jasontedor Oct 5, 2017
ba2a57c
Add Netty channel information on write and flush failure
ywelsch Oct 6, 2017
680f5d4
Add Netty channel information on write and flush failure (Netty3)
ywelsch Oct 6, 2017
6bbb7c3
Use proper logging placeholder for Netty logging
ywelsch Oct 6, 2017
d06fc6d
Update type-field.asciidoc
clintongormley Oct 6, 2017
9a26a1b
Fix search_after with geo distance sorting (#26891)
jimczi Oct 6, 2017
b238ce1
[TEST] Added skipping the `headers` feature to the Bulk REST YAML test
karmi Oct 5, 2017
7e0e32a
Adds 5.6.3 release notes
javanna Oct 6, 2017
1a2f265
Fix IndexOutOfBoundsException in histograms for NaN doubles (#26787) …
thomas11 Oct 6, 2017
f9e5529
[Docs] Add not about maximum token length for whitespace tokenizer (#…
cbuescher Oct 7, 2017
377a43c
[API] Added the `terminate_after` parameter to the REST spec for "Cou…
karmi Oct 5, 2017
4d6a5b1
fixing typo in datehistogram-aggregation.asciidoc (#26924)
shaulzorea Oct 8, 2017
dc507fd
Update 5.6.3 release notes
javanna Oct 9, 2017
cb4abe9
Fix join field docs (#26929)
fonelor Oct 9, 2017
62b228c
Docs: Add note to contributing docs warning against tool based refact…
rjernst Oct 9, 2017
897cac6
Fix filtering for ListSetting (#26914)
tlrx Oct 10, 2017
e2d8959
ingest: Fix bug that prevent date_index_name processor from accepting…
martijnvg Oct 6, 2017
e688b4b
fix compile error
martijnvg Oct 10, 2017
08a0d4d
Add Homebrew instructions to getting started
vurple Oct 10, 2017
f25846d
Fix handling of paths containing parentheses
olcbean Oct 10, 2017
9ea3421
[DOCS] Plugin Installation for Windows (#21671)
pickypg Oct 10, 2017
ceecb63
[DOCS] Bumped version for 5.6.3
debadair Oct 10, 2017
9e36c16
Clarify systemd overrides
Oct 10, 2017
bebfa23
Check for closed connection while opening
jasontedor Oct 10, 2017
7de1dc7
[DOCS] Fixed indentation of the definition list.
debadair Oct 10, 2017
a37d949
Fix NPE for /_cat/indices when no primary shard (#26953)
dnhatn Oct 10, 2017
7e2873f
Fix compilation for simple local transport tests
jasontedor Oct 10, 2017
10bf1ae
Bumping ES Version to 5.6.4
ywelsch Oct 11, 2017
80b1e2c
Cat shards bytes (#26952)
GlenRSmith Oct 11, 2017
bb92bb2
Use a dedicated ThreadGroup in rest sniffer (#26897)
retoo Oct 12, 2017
b278349
Fix a typo in the similarity docs (#26970)
agent5566 Oct 12, 2017
0d2aaca
Clarify settings and template on create index
ppf2 Oct 12, 2017
fe2d4a0
Reformat paragraph in template docs to 80 columns
jasontedor Oct 12, 2017
f52e9fa
Provide explanation of dangling indices, fixes #26008
geekpete Oct 13, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ attention.
- If submitting code, have you built your formula locally prior to submission with `gradle check`?
- If submitting code, is your pull request against master? Unless there is a good reason otherwise, we prefer pull requests against master and will backport as needed.
- If submitting code, have you checked that your submission is for an [OS that we support](https://www.elastic.co/support/matrix#show_os)?
- If you are submitting this code for a class then read our [policy](https://github.com/elastic/elasticsearch/blob/master/CONTRIBUTING.md#contributing-as-part-of-a-class) for that.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ dependency-reduced-pom.xml
# testing stuff
**/.local*
.vagrant/
/logs/

# osx stuff
.DS_Store
Expand Down
37 changes: 36 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ If you have a bugfix or new feature that you would like to contribute to Elastic

We enjoy working with contributors to get their code accepted. There are many approaches to fixing a problem and it is important to find the best approach before writing too much code.

Note that it is unlikely the project will merge refactors for the sake of refactoring. These
types of pull requests have a high cost to maintainers in reviewing and testing with little
to no tangible benefit. This especially includes changes generated by tools. For example,
converting all generic interface instances to use the diamond operator.

The process for contributing to any of the [Elastic repositories](https://github.com/elastic/) is similar. Details for individual projects can be found below.

### Fork and clone the repository
Expand Down Expand Up @@ -88,7 +93,8 @@ Contributing to the Elasticsearch codebase
**Repository:** [https://github.com/elastic/elasticsearch](https://github.com/elastic/elasticsearch)

Make sure you have [Gradle](http://gradle.org) installed, as
Elasticsearch uses it as its build system.
Elasticsearch uses it as its build system. Gradle must be at least
version 3.3 in order to build successfully.

Eclipse users can automatically configure their IDE: `gradle eclipse`
then `File: Import: Existing Projects into Workspace`. Select the
Expand Down Expand Up @@ -137,3 +143,32 @@ Before submitting your changes, run the test suite to make sure that nothing is
```sh
gradle check
```

Contributing as part of a class
-------------------------------
In general Elasticsearch is happy to accept contributions that were created as
part of a class but strongly advise against making the contribution as part of
the class. So if you have code you wrote for a class feel free to submit it.

Please, please, please do not assign contributing to Elasticsearch as part of a
class. If you really want to assign writing code for Elasticsearch as an
assignment then the code contributions should be made to your private clone and
opening PRs against the primary Elasticsearch clone must be optional, fully
voluntary, not for a grade, and without any deadlines.

Because:

* While the code review process is likely very educational, it can take wildly
varying amounts of time depending on who is available, where the change is, and
how deep the change is. There is no way to predict how long it will take unless
we rush.
* We do not rush reviews without a very, very good reason. Class deadlines
aren't a good enough reason for us to rush reviews.
* We deeply discourage opening a PR you don't intend to work through the entire
code review process because it wastes our time.
* We don't have the capacity to absorb an entire class full of new contributors,
especially when they are unlikely to become long time contributors.

Finally, we require that you run `gradle check` before submitting a
non-documentation contribution. This is mentioned above, but it is worth
repeating in this section because it has come up in this context.
2 changes: 1 addition & 1 deletion GRADLE.CHEATSHEET
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ test -> test
verify -> check
verify -Dskip.unit.tests -> integTest
package -DskipTests -> assemble
install -DskipTests -> install
install -DskipTests -> publishToMavenLocal
6 changes: 3 additions & 3 deletions NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Elasticsearch
Copyright 2009-2016 Elasticsearch
Copyright 2009-2017 Elasticsearch

This product includes software developed by The Apache Software
Foundation (http://www.apache.org/).
This product includes software developed by The Apache Software Foundation
(http://www.apache.org/).
28 changes: 14 additions & 14 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ h3. Indexing
Let's try and index some twitter like information. First, let's create a twitter user, and add some tweets (the @twitter@ index will be created automatically):

<pre>
curl -XPUT 'http://localhost:9200/twitter/user/kimchy?pretty' -d '{ "name" : "Shay Banon" }'
curl -XPUT 'http://localhost:9200/twitter/user/kimchy?pretty' -H 'Content-Type: application/json' -d '{ "name" : "Shay Banon" }'

curl -XPUT 'http://localhost:9200/twitter/tweet/1?pretty' -d '
curl -XPUT 'http://localhost:9200/twitter/tweet/1?pretty' -H 'Content-Type: application/json' -d '
{
"user": "kimchy",
"post_date": "2009-11-15T13:12:00",
"message": "Trying out Elasticsearch, so far so good?"
}'

curl -XPUT 'http://localhost:9200/twitter/tweet/2?pretty' -d '
curl -XPUT 'http://localhost:9200/twitter/tweet/2?pretty' -H 'Content-Type: application/json' -d '
{
"user": "kimchy",
"post_date": "2009-11-15T14:12:12",
Expand Down Expand Up @@ -87,7 +87,7 @@ curl -XGET 'http://localhost:9200/twitter/tweet/_search?q=user:kimchy&pretty=tru
We can also use the JSON query language Elasticsearch provides instead of a query string:

<pre>
curl -XGET 'http://localhost:9200/twitter/tweet/_search?pretty=true' -d '
curl -XGET 'http://localhost:9200/twitter/tweet/_search?pretty=true' -H 'Content-Type: application/json' -d '
{
"query" : {
"match" : { "user": "kimchy" }
Expand All @@ -98,18 +98,18 @@ curl -XGET 'http://localhost:9200/twitter/tweet/_search?pretty=true' -d '
Just for kicks, let's get all the documents stored (we should see the user as well):

<pre>
curl -XGET 'http://localhost:9200/twitter/_search?pretty=true' -d '
curl -XGET 'http://localhost:9200/twitter/_search?pretty=true' -H 'Content-Type: application/json' -d '
{
"query" : {
"match_all" : {}
}
}'
</pre>

We can also do range search (the @postDate@ was automatically identified as date)
We can also do range search (the @post_date@ was automatically identified as date)

<pre>
curl -XGET 'http://localhost:9200/twitter/_search?pretty=true' -d '
curl -XGET 'http://localhost:9200/twitter/_search?pretty=true' -H 'Content-Type: application/json' -d '
{
"query" : {
"range" : {
Expand All @@ -130,16 +130,16 @@ Elasticsearch supports multiple indices, as well as multiple types per index. In
Another way to define our simple twitter system is to have a different index per user (note, though that each index has an overhead). Here is the indexing curl's in this case:

<pre>
curl -XPUT 'http://localhost:9200/kimchy/info/1?pretty' -d '{ "name" : "Shay Banon" }'
curl -XPUT 'http://localhost:9200/kimchy/info/1?pretty' -H 'Content-Type: application/json' -d '{ "name" : "Shay Banon" }'

curl -XPUT 'http://localhost:9200/kimchy/tweet/1?pretty' -d '
curl -XPUT 'http://localhost:9200/kimchy/tweet/1?pretty' -H 'Content-Type: application/json' -d '
{
"user": "kimchy",
"post_date": "2009-11-15T13:12:00",
"message": "Trying out Elasticsearch, so far so good?"
}'

curl -XPUT 'http://localhost:9200/kimchy/tweet/2?pretty' -d '
curl -XPUT 'http://localhost:9200/kimchy/tweet/2?pretty' -H 'Content-Type: application/json' -d '
{
"user": "kimchy",
"post_date": "2009-11-15T14:12:12",
Expand All @@ -152,7 +152,7 @@ The above will index information into the @kimchy@ index, with two types, @info@
Complete control on the index level is allowed. As an example, in the above case, we would want to change from the default 5 shards with 1 replica per index, to only 1 shard with 1 replica per index (== per twitter user). Here is how this can be done (the configuration can be in yaml as well):

<pre>
curl -XPUT http://localhost:9200/another_user?pretty -d '
curl -XPUT http://localhost:9200/another_user?pretty -H 'Content-Type: application/json' -d '
{
"index" : {
"number_of_shards" : 1,
Expand All @@ -165,7 +165,7 @@ Search (and similar operations) are multi index aware. This means that we can ea
index (twitter user), for example:

<pre>
curl -XGET 'http://localhost:9200/kimchy,another_user/_search?pretty=true' -d '
curl -XGET 'http://localhost:9200/kimchy,another_user/_search?pretty=true' -H 'Content-Type: application/json' -d '
{
"query" : {
"match_all" : {}
Expand All @@ -176,7 +176,7 @@ curl -XGET 'http://localhost:9200/kimchy,another_user/_search?pretty=true' -d '
Or on all the indices:

<pre>
curl -XGET 'http://localhost:9200/_search?pretty=true' -d '
curl -XGET 'http://localhost:9200/_search?pretty=true' -H 'Content-Type: application/json' -d '
{
"query" : {
"match_all" : {}
Expand All @@ -200,7 +200,7 @@ We have just covered a very small portion of what Elasticsearch is all about. Fo

h3. Building from Source

Elasticsearch uses "Gradle":https://gradle.org for its build system. You'll need to have a modern version of Gradle installed - 2.13 should do.
Elasticsearch uses "Gradle":https://gradle.org for its build system. You'll need to have at least version 3.3 of Gradle installed.

In order to create a distribution, simply run the @gradle assemble@ command in the cloned directory.

Expand Down
71 changes: 52 additions & 19 deletions TESTING.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ run it using Gradle:
gradle run
-------------------------------------

or to attach a remote debugger, run it as:

-------------------------------------
gradle run --debug-jvm
-------------------------------------

=== Test case filtering.

- `tests.class` is a class-filtering shell-like glob pattern,
Expand Down Expand Up @@ -335,7 +341,7 @@ vagrant plugin install vagrant-cachier
. Validate your installed dependencies:

-------------------------------------
gradle :qa:vagrant:checkVagrantVersion
gradle :qa:vagrant:vagrantCheckVersion
-------------------------------------

. Download and smoke test the VMs with `gradle vagrantSmokeTest` or
Expand All @@ -361,24 +367,25 @@ VM running trusty by running

These are the linux flavors the Vagrantfile currently supports:

* ubuntu-1204 aka precise
* ubuntu-1404 aka trusty
* ubuntu-1504 aka vivid
* debian-8 aka jessie, the current debian stable distribution
* ubuntu-1604 aka xenial
* debian-8 aka jessie
* debian-9 aka stretch, the current debian stable distribution
* centos-6
* centos-7
* fedora-22
* fedora-25
* fedora-26
* oel-6 aka Oracle Enterprise Linux 6
* oel-7 aka Oracle Enterprise Linux 7
* sles-12
* opensuse-13
* opensuse-42 aka Leap

We're missing the following from the support matrix because there aren't high
quality boxes available in vagrant atlas:

* sles-11
* oel-6

We're missing the follow because our tests are very linux/bash centric:
We're missing the following because our tests are very linux/bash centric:

* Windows Server 2012

Expand Down Expand Up @@ -427,19 +434,46 @@ and in another window:

----------------------------------------------------
vagrant up centos-7 --provider virtualbox && vagrant ssh centos-7
cd $TESTROOT
sudo bats $BATS/*rpm*.bats
cd $BATS_ARCHIVES
sudo -E bats $BATS_TESTS/*rpm*.bats
----------------------------------------------------

If you wanted to retest all the release artifacts on a single VM you could:

-------------------------------------------------
gradle prepareTestRoot
vagrant up ubuntu-1404 --provider virtualbox && vagrant ssh ubuntu-1404
cd $TESTROOT
sudo bats $BATS/*.bats
gradle setupBats
cd qa/vagrant; vagrant up ubuntu-1404 --provider virtualbox && vagrant ssh ubuntu-1404
cd $BATS_ARCHIVES
sudo -E bats $BATS_TESTS/*.bats
-------------------------------------------------

You can also use Gradle to prepare the test environment and then starts a single VM:

-------------------------------------------------
gradle vagrantFedora25#up
-------------------------------------------------

Or any of vagrantCentos6#up, vagrantCentos7#up, vagrantDebian8#up,
vagrantFedora25#up, vagrantOel6#up, vagrantOel7#up, vagrantOpensuse13#up,
vagrantSles12#up, vagrantUbuntu1404#up, vagrantUbuntu1604#up.

Once up, you can then connect to the VM using SSH from the elasticsearch directory:

-------------------------------------------------
vagrant ssh fedora-25
-------------------------------------------------

Or from another directory:

-------------------------------------------------
VAGRANT_CWD=/path/to/elasticsearch vagrant ssh fedora-25
-------------------------------------------------

Note: Starting vagrant VM outside of the elasticsearch folder requires to
indicates the folder that contains the Vagrantfile using the VAGRANT_CWD
environment variable.


== Coverage analysis

Tests can be run instrumented with jacoco to produce a coverage report in
Expand Down Expand Up @@ -475,12 +509,11 @@ gradle run --debug-jvm
== Building with extra plugins
Additional plugins may be built alongside elasticsearch, where their
dependency on elasticsearch will be substituted with the local elasticsearch
build. To add your plugin, create a directory called x-plugins as a sibling
of elasticsearch. Checkout your plugin underneath x-plugins and the build
will automatically pick it up. You can verify the plugin is included as part
of the build by checking the projects of the build.
build. To add your plugin, create a directory called elasticsearch-extra as
a sibling of elasticsearch. Checkout your plugin underneath elasticsearch-extra
and the build will automatically pick it up. You can verify the plugin is
included as part of the build by checking the projects of the build.

---------------------------------------------------------------------------
gradle projects
---------------------------------------------------------------------------

Loading