Shay Banon
f1f2fb2ba7
Nodes Info API: Allow to specify which info to get back, simpler URI paths, closes #1596 .
2012-01-09 15:24:17 +02:00
Shay Banon
d149cbb06e
query builder builds a "safe" byte array
2012-01-09 00:17:53 +02:00
Shay Banon
39e41ab819
no need to raise a node disconnected if the transport service is stopped
2012-01-08 23:52:19 +02:00
Shay Banon
bb1b46431c
move validate query to read bytes ref
2012-01-08 23:51:34 +02:00
Shay Banon
0f1b3f0457
delete by query to use byte reference serialization
2012-01-08 20:52:48 +02:00
Shay Banon
0cc906aa21
read reference binary data in publish cluster state
2012-01-08 20:07:13 +02:00
Shay Banon
858195351b
translog actions to use bytes ref serialization, and have the option to mark BytesStreamInput as unsafe
2012-01-08 17:23:37 +02:00
Shay Banon
c02dc8f4f8
recovery chunk to use bytes ref
2012-01-08 16:41:24 +02:00
Shay Banon
cf73e18146
get / mget to read byte reference for the source
2012-01-08 15:47:32 +02:00
Shay Banon
7966716673
Improve serialization (stream) of UTF strings, note, requires flush when upgrading, closes #1595 .
2012-01-08 15:26:33 +02:00
Shay Banon
ef9c96faa6
just read byte in channel buffer wrapper, no need to check for bounds since it is checked internally
2012-01-08 13:57:10 +02:00
Shay Banon
3cd08e49e8
clean unused method
2012-01-08 13:51:57 +02:00
Shay Banon
656c3989de
read reference bytes in search hit for source so we don't copy it unless needed
2012-01-08 13:40:25 +02:00
Shay Banon
638a8a19e4
read bytes reference in shard count request
2012-01-08 13:21:03 +02:00
Shay Banon
0941d157be
enhance StreamInput to allow to read a bytes ref, and have it directly read it from netty buffers / bytes, apply it to index/percolate/search/count (for now)
2012-01-08 13:13:42 +02:00
Shay Banon
45b5594e9b
sleep before checking for no master block
2012-01-08 12:17:53 +02:00
Shay Banon
e059e213db
removed phonetic, fix test config files
2012-01-08 12:06:30 +02:00
Shay Banon
d2e3ff66b2
netty buffer handling with http always copies over the buffer, so its basically safe
2012-01-08 11:09:08 +02:00
Shay Banon
3d51553cf2
Move phonetic token filter to a plugin, closes #1594 .
2012-01-07 23:18:30 +02:00
Shay Banon
aec5af3800
clean more test yml files
2012-01-07 00:08:09 +02:00
Shay Banon
164df9979a
remove yml file conf for test
2012-01-06 23:43:35 +02:00
Shay Banon
5c7d1d0984
remove yml file conf for test
2012-01-06 23:41:28 +02:00
Shay Banon
ec8b7c3e23
No master (startup / minimum_master_node) / not recovered blocks should cause proper failures on operations, closes #1589 .
2012-01-06 23:38:41 +02:00
Shay Banon
93cce59a74
have retry on conflict parameter default to 0, and really mean it when retrying...
2012-01-05 23:45:00 +02:00
Shay Banon
13ad6015c4
associate a rest status with a cluster block, and derive the status based on the blocks a failure has
2012-01-05 23:24:47 +02:00
Shay Banon
fcb96fdd1b
cluster block failure should return 503 status code
2012-01-05 20:58:23 +02:00
Shay Banon
e38d80288b
allow to set the master node timeout also in rest cluster state api
2012-01-05 20:50:54 +02:00
Shay Banon
abc782abbb
add an option to control teh master node timeout in cluster health request
2012-01-05 20:50:16 +02:00
Shay Banon
759d948335
when setting timeout on cluster health, automatically set the master node timeout as well if it was not explicitly set
2012-01-05 20:49:42 +02:00
Shay Banon
d3b2a2cf66
use a constant value for default master node timeout
2012-01-05 20:48:09 +02:00
Shay Banon
2b125bd6b4
master not discovered should use 503 response code
2012-01-05 20:45:36 +02:00
Shay Banon
a18021c778
Filter cache to have just weighted (node) and none, and index query parser cache to be size based, closes #1590 .
2012-01-05 20:44:09 +02:00
Shay Banon
367ecceef6
Merge branch 'ttl-routing-test' of https://github.com/Paikan/elasticsearch
2012-01-05 15:03:59 +02:00
Benjamin Devèze
d95aa9f266
add ttl tests with routing
2012-01-04 23:37:34 +01:00
Shay Banon
df4a3bfd37
better explanation calc with the change to factor in custom filters score
2012-01-05 00:09:40 +02:00
Shay Banon
e5f2ce0fd6
use factor in scripts, so custom score function will work correctly when it multiplies
2012-01-04 21:53:26 +02:00
Shay Banon
7d0af6a345
move to 0.9.2 lzf
2012-01-04 20:44:39 +02:00
Shay Banon
1b68f99449
TTL does not respect routing when expiring (deleting) documents, closes #1586
2012-01-04 20:37:13 +02:00
Shay Banon
700514fd6c
have the zip bat windows file use dos line endings
2012-01-03 20:35:42 +02:00
Shay Banon
38e8727a89
Plugins: If a plugin has a bin directory, move it under the main bin location under the plugin name, closes #1584 .
2012-01-03 14:03:27 +02:00
Shay Banon
ed1d1249fc
simplify support transport actions, no need to provide several action paths, we can derive them
2012-01-03 13:43:27 +02:00
Shay Banon
a793336635
clean unused method
2012-01-03 13:23:02 +02:00
Shay Banon
8e2cd64ee3
remove unused script service
2012-01-03 13:04:18 +02:00
Shay Banon
c4d75f3844
document missing should be 404
2012-01-03 01:11:47 +02:00
Shay Banon
761862a9a9
nicer exception names
2012-01-03 01:05:08 +02:00
Shay Banon
beb5986256
nicer main action names
2012-01-03 01:04:08 +02:00
Shay Banon
83d5084f62
Update API: Allow to update a document based on a script, closes #1583 .
2012-01-02 22:02:19 +02:00
Lee Hinman
e582f6c91a
Rename count/pacakge-info.java to count/package-info.java
2012-01-01 12:11:41 +02:00
Shay Banon
8c6b2a3077
Date Histogram Facet: Improve time zone handling, add factor option, closes #1580 .
2012-01-01 00:09:57 +02:00
Shay Banon
53b1b6e4bb
add size in bytes to bb dir
2011-12-31 20:33:17 +02:00
Shay Banon
8cf8b478af
Scan Search: Improve performance while scrolling through it, closes #1579 .
2011-12-31 17:49:19 +02:00
Shay Banon
370444cb75
count collector does not throw stop collection
2011-12-31 16:26:01 +02:00
Shay Banon
a4e4235d93
move sort optimization when sorting by _score to sort parse element from the query phase execution
2011-12-31 16:24:27 +02:00
Shay Banon
3c88eacb01
bind transport validate query actions as singletons
2011-12-30 13:42:08 +02:00
Shay Banon
0f1a908bae
improve multi field highlighting with fast vector based highlighting by caching the custom query across field mappers (one when there is field match, and one when there isn't)
2011-12-30 02:08:05 +02:00
Shay Banon
ee011c9f0d
Highlighter: Add require_field_match (both global and per field) option, closes #1577 .
2011-12-30 02:00:20 +02:00
Shay Banon
c2df297624
randomize routing value when validating query
2011-12-29 14:32:02 +02:00
Shay Banon
e47ec96ca2
Merge branch 'master' of https://github.com/dakrone/elasticsearch
2011-12-29 14:17:50 +02:00
Shay Banon
73c58693cd
improve analyzers and tokenizers bindings to work similar to filters and char filters, by processing them first, and lazily binding them if needed
2011-12-29 13:57:39 +02:00
Lee Hinman
f6b036f713
Refactor validate to validateQuery and move into indices admin action
2011-12-28 15:27:59 -07:00
Shay Banon
4e6217c54d
simplify toString for cached filter
2011-12-28 23:35:04 +02:00
Shay Banon
bb63d38a65
Two different indexes with the same nested object name causing ArrayIndexOutOfBoundsException, closes #1575 .
2011-12-28 22:20:09 +02:00
Shay Banon
cb0284f802
count down latch if we don't have any changes in cluster update settings
2011-12-28 22:06:13 +02:00
Edward Wang
636f7bd454
Fix failed test ClusterAndIndexReaderOnlyTests
...
MetaData uses two different string constants, "cluster.blocks.read_only"
and "cluster.read_only", for one setting. It confuses
TransportClusterUpdateSettingsAction and causes
lusterAndIndexReaderOnlyTests never finish.
2011-12-28 22:05:27 +02:00
Lee Hinman
0cb1a2ebe1
Prefer local shards for validate action
2011-12-28 08:54:55 -07:00
Lee Hinman
be6e18cb36
Add query validation feature
2011-12-27 13:51:59 -07:00
Shay Banon
f79cf4149f
remove unused code
2011-12-27 20:36:57 +02:00
Shay Banon
5049f60b6c
Set an index / indices to read only, or make the cluster read only, closes #1573 .
2011-12-27 20:35:07 +02:00
bbgordonn
b41166a78a
RestIndicesExistsAction: include block message in error if ClusterBlockException.
2011-12-27 17:19:03 +02:00
bbgordonn
661d04e9de
#1452 closed: block writes or metadata changes if {index,cluster}.read_only is set.
2011-12-27 17:19:03 +02:00
Shay Banon
cc3f44473f
Search: Support partial fields that can returns partial view of the _source, closes #1570 .
2011-12-26 16:49:55 +02:00
Shay Banon
37398c2000
ignore index shard missing failure when refreshing as it might happen
2011-12-26 16:32:30 +02:00
Shay Banon
038d91d134
Java API: ScriptSortBuilder does not pass the lang used, closes #1569 .
2011-12-25 18:37:42 +02:00
Shay Banon
fb218babe3
add adapter streams that wrap another adapter and delegate all method calls, have handles use them
2011-12-25 17:37:58 +02:00
Shay Banon
aa078788f9
Nested objects not deleted on "delete by query", closes #1537 .
2011-12-25 13:33:02 +02:00
Shay Banon
0ea58cacfd
Query DSL: Add different execution models for terms filter, closes #1568 .
2011-12-24 00:29:55 +02:00
Shay Banon
73b74847aa
cleanup test
2011-12-22 23:24:12 +02:00
jayson.minard
52e6327467
unit tests for issue 1560, customfiltersscore min and multiply search modes
2011-12-22 23:19:58 +02:00
Shay Banon
3d9e87201e
Cluster metadata files destroyed when using blob store gateway causing data loss, closes #1564 ,
2011-12-22 20:42:37 +02:00
Shay Banon
a0fb6f3d92
sync with latest patch of byte buffer directory submitted ot Lucene, seems to pass all Luceen tests
2011-12-22 20:31:32 +02:00
Shay Banon
415ee6425a
Allow search to continue when sort field is missing from type mapping, closes #1558 .
2011-12-22 14:25:54 +02:00
jayson.minard
61b2562623
Query DSL: custom_filters_score allow score_mode for "min" and "multiply", closes #1560
2011-12-22 14:05:51 +02:00
Shay Banon
fe4ba2ad55
Improve multi field mapper with highlighting based on source, closes #1559 .
2011-12-22 02:24:36 +02:00
Shay Banon
c0053a601b
Boolean Type: Consider `F` as false as well when searching on it, closes #1556 .
2011-12-21 23:48:16 +02:00
Shay Banon
52743a05fa
rename setEncoder to setHighlighterEncoder, its not evident which encoder is refers to
2011-12-21 23:36:16 +02:00
Shay Banon
55d8d0d9c6
Analyze API: Allow to execute it without pre-creating an index, and allow to build custom analyzer (tokenizer + token_filters), closes #1555 .
2011-12-21 23:24:55 +02:00
Shay Banon
c918a68554
better output
2011-12-21 07:04:49 +02:00
Shay Banon
91b60f1d2f
Generate pid file even when running in foreground mode, closes #1553 .
2011-12-21 05:28:28 +02:00
Shay Banon
ffca91dda0
improve detection of which logging library to use, use slf4j if its the log4j jar file used (does not have setLevel method)
2011-12-21 04:27:28 +02:00
Shay Banon
a488424404
Analysis: Add phonetic encodder called `bm` or `beider_morse`, closes #1552 .
2011-12-21 03:53:44 +02:00
Shay Banon
2b838b808e
add another path trie test for wildcard vs. contant
2011-12-20 17:42:06 +02:00
Shay Banon
dd6c076454
simplify and improve scaling/blocking thread pools
2011-12-20 12:03:28 +02:00
Shay Banon
1f250ede50
better support for "embedded" token types (binaries) when parsing
2011-12-19 15:51:05 +02:00
Shay Banon
41b5c3d562
wait for yellow state in test
2011-12-19 13:51:33 +02:00
Shay Banon
33db88232d
move to 0.18.7
2011-12-19 11:43:50 +02:00
Shay Banon
0328a300eb
move jmeter files under jmeter, no need for jmx
2011-12-18 01:01:12 +02:00
Shay Banon
dd87bec6cd
optimize checksum computation to make sure we only work on buffers and no on single bytes
2011-12-18 00:59:38 +02:00
Shay Banon
a3ca1afed5
Translog: When not sync'ing on each operation, buffer writes, closes #1549 .
2011-12-18 00:19:35 +02:00
Shay Banon
010b910333
0.18.5 ignores query string analyzer, closes #1547 .
2011-12-16 23:50:11 +02:00
Shay Banon
ec04435b06
rename test
2011-12-16 23:36:31 +02:00
Shay Banon
26fc9bcb25
abstract away the fs translog file to an interface
2011-12-16 23:30:31 +02:00
Shay Banon
9c1280f6eb
add future support to track current merge
2011-12-16 22:55:00 +02:00
Shay Banon
cb4c249a65
Search: When searching against a type with a dfs search type, dfs is ignored, closes #1546 .
2011-12-16 19:17:31 +02:00
Shay Banon
f74256afcd
improve multicast message to have an internal header for node to node discovery
2011-12-16 18:29:10 +02:00
Shay Banon
3ddbc6469a
fix spelling
2011-12-16 17:01:02 +02:00
Shay Banon
c53f9694d1
add a utility main class that will automatically run it in the foreground without setting a system property
2011-12-16 15:43:15 +02:00
Shay Banon
367a608707
remove jline from distribution to simplify it (no longer painting log levels though...)
2011-12-16 15:36:22 +02:00
Shay Banon
1a26ba7968
improve guessing if upper date range check works or is it a numeric
2011-12-15 22:36:44 +02:00
Shay Banon
92c162d534
optimize field query/filter for numerics to only parse the string representation once
2011-12-15 21:24:28 +02:00
Shay Banon
f745b80edb
timestamp term match broken in 0.18.5, closes #1543 .
2011-12-15 20:49:38 +02:00
Shay Banon
922833cdc4
source not returned when * specified in fields list, closes #1541 .
2011-12-14 21:18:14 +02:00
Shay Banon
f05fa91cb2
if we loaded source, use it when needing it in other fetch phases like extracting specific fields instead of loading it again
2011-12-14 16:28:29 +02:00
Shay Banon
9ae402dde9
Nested queries: getDocIdSet NullPointerException, closes #1536 .
2011-12-14 15:07:36 +02:00
Shay Banon
16c4c8c726
mark hostname as nullable
2011-12-13 19:11:36 +02:00
Nicolas Lalevée
4693b1e875
Add the hostname to the node info
2011-12-13 19:10:31 +02:00
Shay Banon
d2c1ec5f25
Query DSL: Allow to default certain settings in query_string / field queries, closes #1540 .
2011-12-13 19:02:01 +02:00
Shay Banon
679bd1c877
Query DSL: query_string analyze wildcard option with prefix to automatically do OR'ed wildcard when its broken down into several tokens, closes #1539 .
2011-12-13 18:38:30 +02:00
Shay Banon
0cd38f505d
Query DSL: Replace index.query.bool.max_clause_count with indices.query.bool.max_clause_count (old one still supported), closes #1538 .
2011-12-13 17:47:09 +02:00
Shay Banon
0d195eb368
move unused variable
2011-12-12 20:54:13 +02:00
Shay Banon
346d2fc28c
remove unused setting
2011-12-12 20:53:47 +02:00
Shay Banon
5d65b98611
add the version number to the json multicast response
2011-12-12 20:35:17 +02:00
Shay Banon
ce999489d5
set the node service on the discovery to get the additional service level attributes (issue #1532 )
2011-12-12 20:22:19 +02:00
Shay Banon
775339d78a
Allow to configure a shard with no file based data location locking, closes #1535 .
2011-12-12 15:04:54 +02:00
Shay Banon
b0b379dc88
River: When deleting a river, make sure when its closed that its data is deleted, closes #1534 .
2011-12-12 01:09:46 +02:00
Shay Banon
de861d6f43
Support Multicast discovery for external clients, closes #1532 .
2011-12-11 18:54:07 +02:00
Shay Banon
5258b505eb
Multicast: Add discovery.zen.ping.multicast.send_ping setting to disable sending ping requests while still having multicast enabled, closes #1479 .
2011-12-11 16:24:12 +02:00
Shay Banon
3a363976ed
don't debug log conflict base failure (version conflict / document exists)
2011-12-10 01:38:29 +02:00
Shay Banon
e7eed3c182
fix package location of trove extensions
2011-12-10 00:12:42 +02:00
Shay Banon
2b388cff5a
better debug logging of where the default mapping is loaded from
2011-12-09 23:50:46 +02:00
Shay Banon
72eb1508c6
no need to check and throw eof in readBoolean, already done in readByte
2011-12-09 10:05:07 +02:00
Shay Banon
a71f2eed99
fix test to wait for async indexing to finish
2011-12-09 10:04:11 +02:00
Shay Banon
0412e3e2e6
create NodeEnvironment outside of guice so if it fails, it fails early and does not takes ages with guice trying to create it per injection
2011-12-08 18:08:30 +02:00
Shay Banon
e56086cf7b
allow to perform operations on a recovering shard using versioning to do conflict detection
2011-12-08 17:41:27 +02:00
Shay Banon
1cd3af9de0
better exception message
2011-12-08 17:40:43 +02:00
Shay Banon
1fd5a48409
wait for yellow status before searching
2011-12-08 16:28:57 +02:00
Shay Banon
76af8425f0
separate writeAllowed check to actual operation compared to optimize/flush/refresh
2011-12-08 14:14:04 +02:00
Shay Banon
b7d3f8fc99
use the smaller value possible
2011-12-08 14:10:25 +02:00
Shay Banon
16c2c6b2c3
fix deb to properly copy over sigar
2011-12-08 13:40:09 +02:00
Peter
bccf0b193e
moving debian package to maven
2011-12-08 13:22:09 +02:00
Shay Banon
ba29160562
allow to enabled/disable gc deletes internally
2011-12-08 12:07:55 +02:00
Shay Banon
df9f333a27
Default mapping means new types not mapped explicitly, closes #1524 .
2011-12-07 23:17:27 +02:00
Shay Banon
5ea6c0bac5
wait for green status in test to make sure shards are allocated
2011-12-07 17:01:57 +02:00
Shay Banon
c1b86f5786
upgrade to guava 10.0.1 and fix assembly
2011-12-06 21:09:28 +02:00
Shay Banon
9781d8675d
cleanups, remove unused code
2011-12-06 16:40:07 +02:00
Shay Banon
c6d5672a17
fix to provided scope from runtime since we need to compile with it
2011-12-06 13:52:40 +02:00
Shay Banon
19d80a7f1b
assemblies
2011-12-06 13:41:49 +02:00
Shay Banon
6a71eab51f
finalize structure, tests pass
2011-12-06 02:43:17 +02:00
Shay Banon
a8fd2d48b8
first cleanup phase, move to single src
2011-12-06 00:59:23 +02:00