Simon Willnauer
c947a0e6f4
fix typo - s/Deprected/Deprecated
2013-10-05 17:28:30 +02:00
Simon Willnauer
e82437754b
Warn users with IAE if pos_inc is disabled in 'stop' filter
2013-10-05 17:24:34 +02:00
Clinton Gormley
7a53d41446
[DOCS] Changed capitalization of operator in rescore query
2013-10-05 17:18:15 +02:00
Clinton Gormley
0aeac65424
[DOCS] Fixed typo
2013-10-05 17:10:30 +02:00
Clinton Gormley
d062409309
[DOCS] Removed enable_position_increments in stop filter
2013-10-05 17:06:13 +02:00
Clinton Gormley
ea05f4538c
[DOCS] Updated ICU-Plugin docs from the repo README
2013-10-05 16:31:52 +02:00
Luca Cavanna
b0fee6c01b
Changed nested filter example to use an inner bool filter instead of a bool query, to demonstrate the usage of a filter rather than a query.
2013-10-04 14:08:37 +02:00
Martijn van Groningen
427bc13272
Also clear handlesText
2013-10-03 23:57:11 +02:00
Martijn van Groningen
088e05b368
Migrate from Trove to Hppc.
2013-10-03 23:10:57 +02:00
Shay Banon
373e64b3eb
improve thread pool rejection message
2013-10-03 07:42:09 -07:00
Clinton Gormley
e53a26ff21
[DOCS] Fixed a typo in indices.get_templates
2013-10-03 11:40:29 +02:00
uboness
c29f5afa79
added javadocs for builder and cleaned up support for `shard_size` on terms & terms_stats facets
2013-10-02 22:32:32 +02:00
uboness
f3c6108b71
introduced support for "shard_size" for terms & terms_stats facets. The "shard_size" is the number of term entries each shard will send back to the coordinating node. "shard_size" > "size" will increase the accuracy (both in terms of the counts associated with each term and the terms that will actually be returned the user) - of course, the higher "shard_size" is, the more expensive the processing becomes as bigger queues are maintained on a shard level and larger lists are streamed back from the shards.
...
closes #3821
2013-10-02 22:02:00 +02:00
Nik Everett
6b000d8c6d
Support specifing score query on highlight.
...
This is useful if you want to highlight terms not in the search query or
you want sort highlighted snippets based on another query.
Closes #3630
2013-10-02 15:46:24 -04:00
Simon Willnauer
9e7b3963d8
Return source string instead of calling an infinite recursive loop
2013-10-02 20:20:09 +02:00
Boaz Leskes
268e561287
Introduced shardStats on InternalIndicesService to expose shard level statistics.
...
Added a load_average_format=array|hash param to OsStats to allow serializing load averages into a hash (with keys 1m,5m, 15m).
Added node_info_format to NodeStats, allowing to suppress node info output
2013-10-02 11:15:18 +02:00
Martijn van Groningen
23c035da35
Use simple class name as cluster name
2013-10-02 10:36:37 +02:00
Lee Hinman
b923c138b8
Uniquify more anchor links to fix asciidoc
2013-10-01 10:28:35 -06:00
Simon Willnauer
9976f6b9aa
Make testcase more reproducible
2013-10-01 17:32:20 +02:00
Boaz Leskes
f747704249
Allow dynamic templates with match_mapping_type but no path_match or match.
...
As long as we have some selector we're good.
Closes #3814
2013-10-01 17:03:31 +02:00
Britta Weber
f91fd3b9ed
fix term vector api for missing payloads
2013-10-01 16:33:06 +02:00
Simon Willnauer
f8a129961e
s/Exception/Throwable
2013-10-01 15:58:28 +02:00
Simon Willnauer
f3b6339ad1
Add more debug info to testcase
2013-10-01 15:58:28 +02:00
Simon Willnauer
e826cfa494
StreamTests only work on 64Bit JVMs
...
32bit JVMs have different buffer grow behavior. We simply ingore this
since it's a lucene feature that is tested in the upstream project.
2013-10-01 15:58:28 +02:00
Boaz Leskes
4ddfe89bdb
Improved index template tests, among other to test for getting all templates by not specifying a name.
2013-10-01 15:09:56 +02:00
Boaz Leskes
b5ae1fb51b
Calling `GET _template` gave a 500 error back.
...
Also:
We always return a valid json back
If there are no templates define we return 200 OK ( as opposed to a request for a specific template id which returns 404)
Closes #3812
2013-10-01 14:20:02 +02:00
Lee Hinman
ba40aa374e
Uniquify anchor links to fix asciidoc/docbook generation
2013-09-30 15:32:00 -06:00
Lee Hinman
0442b737be
Add more anchor links to documentation
...
Related to #3679
2013-09-30 13:13:16 -06:00
Simon Willnauer
20423a43e7
Throw ESIA if required field 'patterns' is not present in filter config.
...
If 'pattern_capture' tokenfilter is create / mapped without a 'patterns'
settings we now throw an exception since this is a misconfiguration and
likely due to the similar settings on related token filters.
Closes #3808
2013-09-30 20:28:40 +02:00
Simon Willnauer
9cb55138c7
Cut over remaining tests to 'AbstractIntegrationTest'
2013-09-30 16:07:09 +02:00
Simon Willnauer
8b69035fa0
Catch EsRejectedExecException on cluster info reschedule
2013-09-30 16:03:37 +02:00
Shay Banon
9787562d27
catch indices lifecycle failures and log them
...
make sure we catch index/shard lifecycle failures, and properly log them
2013-09-30 13:39:20 +02:00
Simon Willnauer
1f906804ff
Catch RejectedExceutionException in ZenPing et al.
...
If nodes are shutting down we close thread pools and throw
'EsRejectedExcutionException'. This commit handles these exceptions
gracefully if throw during Ping execution.
2013-09-30 11:10:54 +02:00
Shay Banon
6b6a468327
serialize timestamp on the response
2013-09-30 10:54:30 +02:00
Shay Banon
62a09fd207
additional places not to do field conversions
2013-09-30 10:39:14 +02:00
Simon Willnauer
ea3ec926c9
Move Mock Store impls to test package
2013-09-28 22:16:34 +02:00
Simon Willnauer
6c54e030d4
Expose several options from MockDirWrapper via index settings
...
Index settings can now override default behavior for 'double write'
and 'no delete open files' on MockDirectoryWrapper if tests use these
options in a legit. way. ie. in a restore situation a double write
is a legit operation.
2013-09-28 22:05:22 +02:00
Simon Willnauer
831c3fabc6
cleanup testcase
2013-09-28 20:36:15 +02:00
Boaz Leskes
2f0271062a
added a ToXContent implementation to NodeStats
2013-09-27 17:08:34 +02:00
Alexander Reelsen
a18f47e62e
Returning useful exception when sorting on a completion field
...
Closes #3747
2013-09-27 16:45:23 +02:00
uboness
4aa315974b
introduced NodeSettingsSource in the test infrastructure os tests with scopes TEST & SUITE without an explicit numNodes definitions will fall back on the nodeSettings(int) callback
2013-09-27 16:09:36 +02:00
Boaz Leskes
1d7e20b712
Add indexUUID to mapping-updated and mapping-refresh events and make sure they are applied to an index with same UUID.
...
This can go wrong if indices with the same name are repeatably created and deleted.
UUIDs can not be null anymore. If UUID is not available `_na_` will be used as a value.
Also - some minor clean up in ShardStateAction where shard started events could be added twice to the to-be-applied list where the second instance will be ignored.
Closes #3783
2013-09-27 14:42:12 +02:00
Simon Willnauer
8f087e802d
Print Java Version during Validate
2013-09-27 14:39:07 +02:00
Shay Banon
40aebfaf57
remove unused class
2013-09-27 10:10:08 +02:00
Costin Leau
ffe502ddc2
remove unused setting
2013-09-27 00:35:34 +03:00
Costin Leau
971db7dd90
service.bat properly configures mem settings
...
service.bat converts X(m(s|x)|ss) to MB/KB and uses dedicated arguments to the underlying JVM DLL
empty/unset JAVA_OPTS no longer trips commons daemon
fixes #3785
2013-09-26 23:42:32 +03:00
Boaz Leskes
b66f3c6834
Send the update-mapping events before actually indexing into the shard, because the latter may generate exceptions (like when the shard is not yet ready to accept new docs).
...
Also improved the SimpleDeleteMappingTest, as it make take a while until the update-mapping event is processed.
Closes #3782
2013-09-26 14:37:12 +02:00
Alexander Reelsen
c63869b0be
Documentation: Removed service wrapper, added rpm/deb package information
2013-09-26 14:30:25 +02:00
Shay Banon
48ca7b874d
use the event cluster state to send events back to master
...
instead of relying on the current cluster state from the cluster service, make sure to rely on the cluster state we get from the change event, this will allow us to move processing of the cluster event around potentially to before the local cluster state has been updated
2013-09-26 14:04:59 +02:00
Bernhard K. Weisshuhn
93a2742c84
do not silently fail on plugin install with source files
2013-09-26 12:24:07 +02:00