Shay Banon
8e6b171205
remove test sysout
2012-01-29 22:52:52 +02:00
Shay Banon
25763e2124
Query DSL: prefix query to support _id, closes #1648 . (fix support analysis for prefix is configured)
2012-01-29 22:05:16 +02:00
Shay Banon
49b6d70dfd
Query DSL: prefix query to support _id, closes #1648 .
2012-01-29 21:09:11 +02:00
Shay Banon
b2a3332698
Terms Facet sorting does not handle null values properly with new JDK 7 sorting, closes #1647 .
2012-01-29 18:17:37 +02:00
Shay Banon
bb6fb6e083
improve test to wait for 2 nodes
2012-01-28 00:26:53 +02:00
Shay Banon
0922b5e80c
improve type based query when using ids (or term on _id) perf
2012-01-28 00:25:26 +02:00
Shay Banon
293a971ea6
Better failure when passing invalid options to a query/filter, closes #1640 .
2012-01-26 13:53:37 +02:00
Shay Banon
da433df217
Mapping: _source mapping to allow for format to convert to (if needed), closes #1639 .
2012-01-26 00:18:46 +02:00
Shay Banon
7d757a2c2e
current search context is only needed in case of script
2012-01-25 13:03:18 +02:00
Shay Banon
68bb5d1434
by default, index metadata to be stored in smile format and store binary format mapping and alias filter to improve the cost it takes to persist them
2012-01-25 11:58:29 +02:00
Shay Banon
01d8305af3
better failure message when failing to load settings
2012-01-24 19:52:04 +02:00
Shay Banon
68a0dca577
add the version the index was created with (as a setting) to support better upgrade in the future between versions
2012-01-24 13:28:15 +02:00
Shay Banon
c1a2a5c910
close the multicast socket in test
2012-01-24 13:10:38 +02:00
Shay Banon
e0f9f292ec
better logging (port number) when failing to bind
2012-01-24 13:08:16 +02:00
Shay Banon
b2aae7f3a0
better failure message when no master found (how long we waited for it)
2012-01-24 13:07:58 +02:00
Shay Banon
7bcee7660a
better failure message when no master found (how long we waited for it)
2012-01-24 12:56:47 +02:00
Shay Banon
30b8823e3d
allow for plugins to set shards allocator
2012-01-23 22:50:03 +02:00
Shay Banon
7625f647ae
also store the fact that a shard is primary or not in the shard state
2012-01-23 21:58:28 +02:00
Shay Banon
50aad23fac
also store the fact that a shard is primary or not in the shard state
2012-01-23 21:57:39 +02:00
Shay Banon
9d99c54e2c
_open and _close does not resolve aliases, closes #1628 .
2012-01-23 02:04:57 +02:00
Shay Banon
1b7d329307
add a local gateway test to make sure we recover also latest state when updating index metadata and templates
2012-01-23 00:50:32 +02:00
Shay Banon
f320cf4509
REST: `/` to properly return error code (HEAD and GET) when blocked (not recovered, no master), as well as cluster health (red == 503), closes #1633 .
2012-01-22 23:57:02 +02:00
Shay Banon
942b427940
Local Gateway: Store specific index metadata under dedicated index locations, closes #1631 .
2012-01-22 23:34:34 +02:00
Shay Banon
203c25739c
Merge branch 'ttl-mapping-update' of https://github.com/Paikan/elasticsearch
2012-01-19 16:17:38 +02:00
Shay Banon
a1a30226ca
Removing a node with TRACE logging enabled causes cluster state not to be properly updated, closes #1626 .
2012-01-19 15:42:23 +02:00
Benjamin Devèze
1b260af67a
updatable default TTL in mapping
2012-01-18 23:53:02 +01:00
Shay Banon
2eeb609353
Thread Pool: Add a dedicated thread pool for refresh, closes #1624 .
2012-01-19 00:22:27 +02:00
Shay Banon
d95783b158
index.recovery.initial_shards is not being taken into account, closes #1623 .
2012-01-18 23:02:13 +02:00
Shay Banon
5beb656a16
have terms filter builder support iterables as well
2012-01-18 21:34:33 +02:00
Shay Banon
5325bf4bec
allow plugins to provide actual Module instances, not just classes to create the modules from
2012-01-18 21:18:29 +02:00
Shay Banon
0a3c941947
Node Stats: Add fs level stats (size + iostats), closes #1622 .
2012-01-18 21:00:09 +02:00
Shay Banon
64358948ef
Failure exception while executing a valid query after an invalid query, closes #1617 .
2012-01-18 15:08:37 +02:00
Shay Banon
534f487de3
Local Gateway: Move shard state to be stored under each shard, and not globally under _state, closes #1618 .
2012-01-18 01:08:35 +02:00
Shay Banon
801c709b42
test with local gateway
2012-01-18 01:02:55 +02:00
Shay Banon
c2ef91afe6
better logging when failing to load field data to memory due to OOM
2012-01-17 12:58:30 +02:00
Shay Banon
7121138803
Merge branch 'fix-ttl-default' of https://github.com/Paikan/elasticsearch
2012-01-17 12:54:15 +02:00
Shay Banon
0d2d0936a7
support one, and all, all-1 for index.recovery.initial_shards
2012-01-17 11:47:21 +02:00
Benjamin Devèze
0810808864
fix bug in TTL handling where default TTL value was not set properly
2012-01-17 10:35:16 +01:00
Shay Banon
56a9c66df1
improve a bit the speed of adding new fields as part of mapping change / parse
2012-01-16 21:09:07 +02:00
Shay Banon
bddea09170
/_status doc count of index wrong, closes #1615 .
2012-01-16 13:48:31 +02:00
Shay Banon
1f5a74a91a
lucene 3.5 verison
2012-01-16 13:40:49 +02:00
Shay Banon
21405f5aa4
Highlighting: Add boundary_chars and boundary_max_size to control text boundaries with fast vector highlighter (term vector), closes #1614 .
2012-01-15 23:05:34 +02:00
Shay Banon
9bdef666cb
Plugin loading broken, closes #1610 .
2012-01-15 17:20:14 +02:00
Shay Banon
1d35e27b3b
Plugins: Allow for plugins to implement onModule method that will be automatically injected with the relevant module type, closes #1613 .
2012-01-15 16:42:29 +02:00
Shay Banon
e37c0904f0
Add generic execution of APIs to Client (and indices/cluster) and allow for plugins to register custom APIs, closes #1612 .
2012-01-15 16:15:09 +02:00
Shay Banon
8ee6ee05cd
Java API: Move all request builders to org.elasticsearch.action... from org.elasticsearch.client.action, closes #1611 .
2012-01-15 12:44:50 +02:00
Shay Banon
c3c5aec567
rename RequestBuilder to ActionRequestBuilder and have a request() method on the actual interface
2012-01-15 12:14:57 +02:00
Shay Banon
6ff15b928c
rename Actions to ValidateActions
2012-01-15 12:09:18 +02:00
Shay Banon
864c2ac96d
remove Action interface and rename BaseAction to TransportAction (all transport level actions should extend it)
2012-01-15 01:08:39 +02:00
Benjamin Devèze
4b21cf2993
add percolation support to update action
2012-01-14 18:22:23 +01:00
Shay Banon
0530115f62
Merge remote-tracking branch 'origin/master'
2012-01-14 00:28:16 +02:00
Shay Banon
2c5824d5bf
first step into trying to allow plugins to define custom actions that are integrated into the Client interface by allowing to register custom actions with TransportActionModule and ClientTransportActionModule
2012-01-14 00:25:24 +02:00
Lukáš Vlček
7a8e420363
fix typos in javadoc
2012-01-13 14:25:13 +01:00
Shay Banon
5eedfb1d62
Multicast Discovery: if it fails, still start in a single cluster mode, closes #1608 .
2012-01-13 10:40:29 +02:00
Shay Banon
d2d65f2f65
add test marker on the class as well
2012-01-12 16:59:43 +02:00
Olivier Favre
8f0ecbcc0b
Improve latitude and longitude normalization
2012-01-12 16:58:44 +02:00
Shay Banon
97b5c100ce
Add a simplified setting to disable shutdown API: action.disable_shutdown, closes #1606 .
2012-01-12 14:31:37 +02:00
Shay Banon
04a138db5d
Allow to provide timeout parameter in request body (as well as URI parameter), closes #1604 .
2012-01-12 14:19:21 +02:00
Shay Banon
a380e0e169
optimize match all query against a type to be wrapped with a constant score query and not filtered
2012-01-12 13:39:08 +02:00
Shay Banon
771dbdb4bc
doc nested docs and get / uid
2012-01-11 15:01:40 +02:00
Shay Banon
9d979dfc01
Add thread_pool to nodes info and nodes stats APIs, closes #1601 .
2012-01-10 17:45:10 +02:00
Shay Banon
3b92962ddd
bring back the option to use max instead of size for min/max thread pools
2012-01-10 14:17:26 +02:00
Shay Banon
941bccd36d
Merge branch 'update-ttl-timestamp' of https://github.com/Paikan/elasticsearch
2012-01-10 13:41:55 +02:00
Shay Banon
ecd41ca6e4
add 0.18.8
2012-01-10 13:10:53 +02:00
Benjamin Devèze
682176497f
handle timestamp and TTL in update action
2012-01-10 10:26:58 +01:00
Shay Banon
ed8a46ce09
on index failure when updating, make sure to call the listener
2012-01-10 10:43:01 +02:00
Shay Banon
710e0d78df
support Iterable for generic iterable based structures for builder
2012-01-09 23:07:38 +02:00
Shay Banon
5b2854e8bb
Date Histogram Facet: Add `pre_offset` and `post_offset` options, closes #1599 .
2012-01-09 21:28:56 +02:00
Shay Banon
4464fe1dc1
Node Stats API: Add specific flags for stats, simplified REST paths, closes #1597 .
2012-01-09 18:01:41 +02:00
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