Shay Banon
c8e930dd24
update copyright
2012-07-31 20:50:38 +02:00
Shay Banon
ddf30abf24
add travis ci config
2012-07-31 20:48:11 +02:00
Shay Banon
82cfe0e8b2
upgrade to latest testng, improve console output when running test, add more options as env vars when using maven
2012-07-31 20:24:39 +02:00
Shay Banon
8dcee09868
expose the max direct memory allowed in jvm info, and guess better then receive buffer size predictor size based on it
2012-07-31 15:06:21 +02:00
Shay Banon
bbc45fefe5
rename limit to ignore_above, and create a dedicated test
2012-07-31 13:00:10 +02:00
Martijn van Groningen
41b3a454cf
Issue #2121 Added limit parameter for string type.
2012-07-31 13:00:03 +02:00
Shay Banon
68c76e6738
try harder to load the default mapping from the class load, and if we fail, just use the default value (which people really never change).
2012-07-31 00:10:25 +02:00
Igor Motov
0a5a068269
Support files with no extension in config mappings
2012-07-30 22:28:48 +02:00
Shay Banon
a63aa6cc18
Increase default recovery chunk size, closes #2125 .
2012-07-30 21:48:49 +02:00
Shay Banon
4eb85bbbd6
Transport/Http: Remove explicit setting of send/receive buffer, and improve netty receive buffer predictor, closes #2124 .
2012-07-30 21:37:38 +02:00
Shay Banon
408a74206f
bytes reference to know how to convert to channel buffer, so it can be used directly when sending it over with netty
2012-07-29 16:50:43 +02:00
Shay Banon
7edafcf9a0
Node Stats: Add jvm buffer pools stats (when available, for java 7 and above), closes #2122 .
2012-07-29 00:49:18 +02:00
Shay Banon
3338736c87
improve cached buffer allocation sizes based on jvm heap configured
2012-07-28 22:01:49 +02:00
Shay Banon
a41477e0fa
improve writing text as utf8 when having a string if we can write directly the utf8 bytes
2012-07-28 20:21:20 +02:00
Shay Banon
6e20056619
Upgrade to Netty 3.5.3, closes #2119 .
2012-07-27 19:01:21 +02:00
Shay Banon
90e94ebab9
Upgrade to Lucene 3.6.1, closes #2110 .
2012-07-22 13:28:39 -07:00
Drew Raines
2253d03709
Fix NodeStats comment.
2012-07-21 14:04:00 -07:00
Shay Banon
443f740795
*:* query string query should resolve to match_all query, since the wildcard field support, it no longer does
2012-07-21 13:55:50 -07:00
Shay Banon
153c0de636
make sure we use utf8 charset
2012-07-19 11:29:27 -07:00
Shay Banon
cc2a6babda
move to use murmur3 for bloom filter
2012-07-19 10:53:54 -07:00
Shay Banon
bd219f3b34
better failure when no filter is provided to bool filter
2012-07-14 13:17:21 +02:00
Andrius Juozapaitis
c3ccfe001a
If all filters are null OR is empty...
2012-07-14 13:04:18 +02:00
Andrius Juozapaitis
83a61cae36
Avoid NPE in case must, should or not filters are omitted.
2012-07-14 13:04:18 +02:00
Shay Banon
73a34ee537
upgrade to guava 12.0.1
2012-07-14 13:02:21 +02:00
Shay Banon
7a23b4f0b6
add query types also to field query
2012-07-12 11:30:35 +02:00
Shay Banon
0cebcc56a4
move to use linked blocking queue
2012-07-12 11:28:55 +02:00
Igor Motov
51ff83942c
Query Parser caching does not take types into account
2012-07-12 11:28:26 +02:00
Shay Banon
5517df6353
don't (re) create a string from a numeric timestamp, just return the string we get
2012-07-11 21:28:14 +02:00
Shay Banon
29d6b0e30a
add debug logging when updating the shard indexing buffer
2012-07-11 18:06:28 +02:00
Shay Banon
ee3253d558
OutOfMemory Error -> corrupted translog entry in shards, closes #2098 .
2012-07-11 16:05:20 +02:00
Shay Banon
de5068388e
add rejected metric to thread pool stats
2012-07-11 10:59:00 +02:00
Shay Banon
83323f2c88
improve the logic of expanding byte arrays
2012-07-11 10:58:55 +02:00
Shay Banon
7ff4371f95
add more trace logging for recovery
2012-07-11 01:19:11 +02:00
Shay Banon
bfb4a29700
fix new jackson version to be properly shaded
2012-07-11 01:18:59 +02:00
Shay Banon
877f2ffcd7
propagate cluster event to shard and meta states in local gateway even when state persistence is disabled, so they can act on it if needed
2012-07-11 00:02:18 +02:00
Shay Banon
57e966e9d7
upgrade to jackson 2.0.4
2012-07-10 23:44:02 +02:00
Shay Banon
99d2f27c84
Introduce Text abstraction, allowing for improved representation of strings, apply to HighlightedField (breaks backward for Java API from String to Text), closes #2093 .
...
By introducing the Text abstraction, we can keep (long) text fields in their UTF8 bytes format, and no need to convert them to a string when serializing it back to Json for example.
The first place we can apply this is to highlighted text, which can be long.. . This does breaks backward comp. for people using the Java API where the HighlightField now has a Text as its content, and not String.
2012-07-10 00:47:37 +02:00
Shay Banon
0bb7496dfe
yuck!, hack around snappy printing to System.err the failure to load its library if its not found
2012-07-09 20:14:03 +02:00
Shay Banon
1a085d9bfa
Stored binary fields to change internal representation (break Java API if used), closes #2092 .
2012-07-09 16:53:20 +02:00
Nicolas Lalevée
e91a0d85a7
Better ExplainableSearchScript interface
2012-07-09 16:34:54 +02:00
Shay Banon
1dd30bd388
deprecate readUTF, use readString instead (better named)
2012-07-08 21:21:17 +02:00
Shay Banon
d3e9506a1d
ad more info when rejecting execution
2012-07-08 12:06:57 +02:00
Shay Banon
b27cc1318f
streams to handle BytesReference as a generic type as well
2012-07-08 01:59:24 +02:00
Shay Banon
12beff9176
use netty frame decoder again
...
with the new bytes reference abstraction, and the new composite buffer handling in frame decoder, it makes more sense to move back and use netty frame decoder again, since we can easily slice refernces acorss composite buffers, and reduce copies when using compression
2012-07-08 00:56:56 +02:00
Shay Banon
f7b538e17f
move rest request to provide content as BytesReference
...
this allows for better buffer usage, specifically when forwarding requests to other nodes
2012-07-07 22:49:31 +02:00
Shay Banon
5f5458fd56
add byte buffer backed bytes reference
2012-07-07 21:33:01 +02:00
Shay Banon
35233564fd
buffer management refactoring
...
First phase at improving buffer management and reducing even further buffer copies. Introduce a BytesReference abstraction, allowing to more easily slice and "read/write references" from streams. This is the foundation for later using it to create smarter buffers on top of composite netty channels for example (which http now produces) as well as reducing buffer copies when sending transport/rest responses.
2012-07-07 01:26:41 +02:00
Shay Banon
5d93b2bfe9
Thread Pool: Allow to configure the query_type for fixed thread pool (linked/array), defaults to array, closes #2086 .
2012-07-06 11:48:45 +02:00
Shay Banon
8d1e04a973
have the quick rolling restart stress test also wait for 0 relocating shards
2012-07-06 01:01:18 +02:00
Shay Banon
dcf9194820
fix naming, also make explainable search script extend search script
2012-07-06 01:00:44 +02:00