Olivier Favre
566ca24247
Fix missing affectation in SimpleChildQuerySearchTests.testParentChildQueriesCanHandleNoRelevantTypesInIndex()
2013-11-07 15:58:41 +01:00
Luca Cavanna
2071fb26c2
Trimmed down HighlighterSearchTests
...
Used common assertHighlight and concise mapping whenever possible
More indexRandom too
2013-11-07 15:44:33 +01:00
Luca Cavanna
06938e6fb0
Fixed fetch subphase to not recreate the HitContext for each hit, so that the object cache stays the same
...
Fixed also bug in the fast vector highlighter which was raised by enabling the object cache, due to null FieldQuery (NPE) in case the objects are taken from the cache
Added tests to check if there are issues when highlighting multiple fields at the same time
Closes #4106
2013-11-07 15:44:33 +01:00
Simon Willnauer
91e31e530f
Move stresstests out of o.e.test
2013-11-07 14:44:05 +01:00
Simon Willnauer
03c326dafa
Move o.e.junit to o.e.test.junit
2013-11-07 14:41:17 +01:00
Simon Willnauer
e8f4445cc3
Move MockDirectories into o.e.test.store
2013-11-07 14:39:33 +01:00
Simon Willnauer
8ecdb65d94
Move IndexFieldDataServiceTests into corresponding package
2013-11-07 14:37:01 +01:00
Simon Willnauer
a9239f8147
Guarantee sorted order for [Double|Long|Bytes]Values
...
Values returned by [Double|Long|Bytes]Values are sorted today which
is guaranteed by the underlying Lucene index. Several implementations can
make use of this property but the interfaces don't guarantee this behavior.
This commit adds the guarantees and makes use of them in several places.
Note: This change might require sorting for 3rd party implemenations of these
interaces.
2013-11-07 10:29:23 +01:00
Simon Willnauer
f5f6259d03
Reduce number of documents in RobinEngineIntegrationTest to prevent memory peaks triggering OOM
2013-11-07 09:44:53 +01:00
Shay Banon
021aa09614
External method to set rootTypeParsers in DocumentMapperParser incorrect
...
fixes #4113
2013-11-07 01:06:57 +01:00
Simon Willnauer
f6c2ee0ab2
Improve stability of RobinEngineIntegrationTest by reducing direct memory usage of the test env
2013-11-06 22:09:00 +01:00
Shay Banon
c95c7096e5
Index Stats: Add support for segments stats
...
closes #4101
2013-11-06 20:44:01 +01:00
Simon Willnauer
e1b6988886
move to [1.0.0.Beta2] SNAP
2013-11-06 16:19:50 +01:00
Simon Willnauer
77bc5d5ecf
release [1.0.0.Beta1]
2013-11-06 15:32:43 +01:00
Simon Willnauer
bb777a2dfe
Apply fix for LUCENE-5330 pruning the IndexWriter queue to get rid of pending event
...
Closes #4093
2013-11-06 14:00:28 +01:00
Simon Willnauer
d4873bd6a5
Use same caching strategy for STANDARD and DEFAULT analyzer
2013-11-06 10:58:40 +01:00
Luca Cavanna
47aa01f5d1
Improved highlight *manyDocs tests (fvh and postings) to have random refreshes, flushes and optimizes using indexRandom
2013-11-06 10:30:32 +01:00
Luca Cavanna
a3e355d40e
Fixed doc_id used in combination with context.searcher(), needs to be topLevelId rather than just docId
...
Improved test to catch this problem calling refresh more frequently and having the word to highlight in different positions in the text
Closes #4103
2013-11-06 01:20:27 +01:00
Shay Banon
ebc8975efd
NPE when closing XContentBuilder and using 'pretty' query parameter
...
fixes #4100
2013-11-06 01:10:58 +01:00
Igor Motov
03179497a3
Add /_cat endpoint
2013-11-05 15:40:48 -05:00
Simon Willnauer
9654631186
Change 'standart' analyzer to use emtpy stopword list by default.
...
The 'default' / 'standard' analyzer can be a trappy default sicne it filters
english stopwords by default. Yet a default should not be dedicated to a certain language
since elasticsearch is used in many different scenarios where a standard analysis chain
with specialization to english full-text might be rather counter productive.
This commit changes the 'standard' analyzer to use an empty stopword list for indices
that are created from 1.0.0.Beta1 version onwards but will maintain backwards compatibiliy
for older indices.
Closes #3775
2013-11-05 21:07:21 +01:00
Shay Banon
1586339ee0
better support for single value to settings builder where the type gets lost
...
relates to #4097
2013-11-05 21:04:27 +01:00
Shay Banon
7c32269f4f
Dist. Percolation: Use .percolator instead of _percolator for type name
...
Use .percolator as the internal (hidden) type name for percolators within the index. Seems nicer name to represent "hidden" types within an index.
closes #4090
2013-11-05 20:02:59 +01:00
Lee Hinman
af183a1619
Fix indices.recovery.concurrent_small_file_streams
not being dynamically settable
...
Fixes #4094
2013-11-05 10:03:21 -07:00
Boaz Leskes
0ef2493b2c
Throw an exception if a type's mapping root node is not equal to the type in question.
...
Also, fix all the problems it brought up in tests.
Removed OverrideTypeMappingTests as it is no longer relevant.
Better naming for the default percolator mapping and change it's content use _default_ as root node.
Closes #4038
2013-11-05 11:54:25 +01:00
Simon Willnauer
552852f299
Remove unreleased versions from master & fix 0.90.6 Lucene Version
2013-11-05 10:34:44 +01:00
Igor Motov
0f785d5779
Optimize concrete index resolution in TransportMoreLikeThisAction
2013-11-04 22:05:37 -05:00
Leonardo Menezes
5e4928ca92
Resolve aliases on redirects inside TransportMoreLikeThisAction
...
fixes #4045
2013-11-04 22:05:37 -05:00
Shay Banon
5f170cb4fd
Remove Index Reader warmer introduced in 0.90.6
...
It create the following challenges:
- it automatically load all the norms for all fields. This should be an opt in feature similar to the new loading feature in field data. Will open a separate issue for it.
- It automatically loads all doc values for all fields (if they have it), overriding effectively the loading option of field data when its backed by doc values.
closes #4078
2013-11-04 18:32:50 +01:00
Vojtech Hyza
47969efae9
Keep word filter through an error if keep_word_path
was specified.
...
Closes #4073
2013-11-04 16:49:07 +01:00
Simon Willnauer
0be5eca5d2
move to [0.90.7] SNAP
2013-11-04 14:55:55 +01:00
Luca Cavanna
5474cffe8f
Added support for highlighting multi term queries using the postings highlighter
...
Closes #4042
2013-11-04 12:55:22 +01:00
Igor Motov
123bc98d81
Fix possible NPE in ClusterState.toString()
...
ClusterState.toString() can throw NPE if at least on index template exists in the cluster state.
2013-11-04 06:36:45 -05:00
Igor Motov
c724f0de5d
Initial implementation of ResourceWatcherService
...
Closes #4062
2013-11-03 21:55:54 -05:00
Shay Banon
1b799e9a3e
use immutable open map to list the files in store
2013-11-03 21:31:42 +01:00
Boaz Leskes
c1e853c51d
More detailed logging for FullRollingRestartTests.testFullRollingRestart
...
set indices.cluster & cluster.service to TRACE
2013-11-03 16:50:22 +01:00
Shay Banon
ed10758a6b
add keys/values to ImmutableOpenMap
2013-11-03 14:34:29 +01:00
Shay Banon
671d2dd650
verify operations on store dir are executed when its open
...
call ensureOpen and properly set the open flag
also, better handling of failures and error message during listAll in local recovery
2013-11-03 14:23:58 +01:00
Shay Banon
8f88d0aa4a
URI routing parameter support with multi search API
...
Support URI level routing parameter for the multi search API, that will act as the default routing (unless explicitly set).
closes #4058
2013-11-03 02:30:19 +01:00
Shay Banon
a8535e247e
URI routing parameter does not work with Bulk API
...
closes #4053
2013-11-03 02:16:09 +01:00
Simon Willnauer
b0a8abeb88
Add missing .get() call to actually execute the update setting in RecoveryWhileUnderLoadTests
2013-11-02 09:16:25 +01:00
Shay Banon
6be85cece4
cleanup DiscoveryNodes#Builder construction
...
have a better method name, and only allow to create a copy of the builder based on existing nodes when constructing the builder
2013-11-02 03:38:22 +01:00
Shay Banon
e551ec282f
cleanup ClusterState#Builder construction
...
have a better method name, and only allow to create a copy of the builder based on existing cluster state when constructing the builder
2013-11-02 02:52:01 +01:00
Shay Banon
ef56c68f67
have IndexMetaData Builder pattern similar to other state builders
2013-11-02 02:13:25 +01:00
Shay Banon
fef647cb92
cleanup RoutingTable#Builder construction
...
have a better method name, and only allow to create a copy of the builder based on existing routing table when constructing the builder
2013-11-02 01:27:51 +01:00
Shay Banon
d111e169a4
cleanup MetaData#Builder construction
...
have a better method name, and only allow to create a copy of the builder based on existing meta data when constructing the builder
2013-11-02 01:04:33 +01:00
Shay Banon
acc5f584d4
fix test to not rely on execution of processed / ack order
...
also, make sure the order is consistent (as much as possible) when calling ack to processed
2013-11-02 00:04:12 +01:00
Andrew Raines
7d2c4afa98
_cat/nodes improvements.
...
* Handle info/stats null possibilities if cluster is in duress.
* Shorten node id.
2013-11-01 17:33:54 -05:00
Andrew Raines
f9a1726300
Add _cat/health.
...
% curl localhost:9200/_cat/health\?v=1\&ts=0
cluster status nodeTotal nodeData shards pri relo init unassign
kluster green 1 1 20 20 0 0 0
% curl localhost:9200/_cat/health\?ts=0
kluster green 1 1 20 20 0 0 0
% curl localhost:9200/_cat/health\?v=1
epoch time cluster status nodeTotal nodeData shards pri relo init unassign
1383341092 16:24:52 kluster green 1 1 20 20 0 0 0
% curl localhost:9200/_cat/health
1383341119 16:25:19 kluster green 1 1 20 20 0 0 0
Closes #4050 .
2013-11-01 16:37:23 -05:00
Andrew Raines
48f4ba06c0
Add TimestampedTable subclass.
2013-11-01 16:37:22 -05:00