Shay Banon
1185d4eb19
Merge branch 'fielddata'
2013-01-22 16:17:15 +01:00
Shay Banon
c295211a85
final move to new field data
2013-01-22 16:16:33 +01:00
Shay Banon
27bfb341ff
better logging on missing format, and allow to configure format on a type on the index level
2013-01-22 16:16:33 +01:00
uboness
09cc70b8c9
added predefined empty implementation for all atomic field datas
2013-01-22 16:16:33 +01:00
Shay Banon
6b92b592b4
allow to clear by reader the new field data cache
2013-01-22 16:16:32 +01:00
Shay Banon
c67386f644
properly invalidate on core closed reader
2013-01-22 16:16:32 +01:00
Shay Banon
af757fd821
more usage of field data
...
note, removed field data from cache stats, it will have its own stats later on (cache part is really misleading)
2013-01-22 16:16:32 +01:00
Shay Banon
de013babf8
move geo filters and numeric range to use new field data
2013-01-22 16:16:32 +01:00
Shay Banon
be1e5becbb
move scripts to use new field data
2013-01-22 16:16:32 +01:00
Shay Banon
772ee9db54
move terms to use new field data
2013-01-22 16:16:32 +01:00
Shay Banon
e5b651321f
remove some safe methods because of the new makeSafe method usage
2013-01-22 16:16:32 +01:00
Shay Banon
f189a832c5
grr pages -> paged
2013-01-22 16:16:32 +01:00
Shay Banon
5b7173fc35
move sorting to work with new field data
2013-01-22 16:16:32 +01:00
uboness
b739bf97d4
added missing dedicated value comparators for the different indices field data
2013-01-22 16:16:32 +01:00
Shay Banon
45f27fe96a
add packed bytes variant for strings/bytes
2013-01-22 16:16:32 +01:00
uboness
855b64a8a7
byte field data implementation
2013-01-22 16:16:31 +01:00
uboness
f1f3c241fd
short field data implementation
2013-01-22 16:16:31 +01:00
uboness
3840439365
float field data implementation
2013-01-22 16:16:31 +01:00
Shay Banon
9137fcc6fc
move geo distance sorting to use new field data
2013-01-22 16:16:31 +01:00
Shay Banon
d5e70a27df
integer type to support int field data type
2013-01-22 16:16:31 +01:00
uboness
fc09ce7ac9
Implemented int field data
2013-01-22 16:16:31 +01:00
Shay Banon
d82859c82b
geo point new field mapper with geo distance facet based impl
2013-01-22 16:16:31 +01:00
Shay Banon
2e86081f7b
use smartNameMapper on context
2013-01-22 16:16:31 +01:00
Shay Banon
d88e3f73ac
add specific makeSafe method to make an unsafe (shared) bytes based value to a "safe" one
2013-01-22 16:16:31 +01:00
Shay Banon
1765b0b813
date histogram to use new field data
2013-01-22 16:16:31 +01:00
Shay Banon
37acba1b57
terms stats to use new field data
2013-01-22 16:16:31 +01:00
Shay Banon
f1f86efed5
move statistical facet to use new field data
2013-01-22 16:16:30 +01:00
Shay Banon
699ff2782e
move histogram facet to use new field data
2013-01-22 16:16:30 +01:00
Shay Banon
8c7e0f5ca1
fix getOrds on single array ords
2013-01-22 16:16:30 +01:00
Shay Banon
fa363b2dca
move range facet to use new field data abstraction
2013-01-22 16:16:30 +01:00
Shay Banon
692413862a
add clear when deleting an index for the field data service
2013-01-22 16:16:30 +01:00
Shay Banon
a39ca58de9
add field data service to index level services
2013-01-22 16:16:30 +01:00
Shay Banon
2d91939253
add initial field data type support to mappers
...
hardwired and still happily leaves with current field data impl
2013-01-22 16:16:30 +01:00
Shay Banon
e0b280f9b3
use FieldMapper.Names for fieldNames, and not just fieldName as string
2013-01-22 16:16:30 +01:00
Shay Banon
7dc5cf9799
add long field support
2013-01-22 16:16:30 +01:00
Shay Banon
7397007e05
initial commit
2013-01-22 16:16:30 +01:00
Clinton Gormley
7cfdd9ef59
Corrected filter strategy option in FilteredQueryParser
...
Changed from 'query_filter' to 'query_first'
2013-01-22 12:54:00 +01:00
Simon Willnauer
0b730aae81
Pass on filterStrategy in XFilteredQuery if query is rewritten
2013-01-22 12:40:21 +01:00
Martijn van Groningen
a5bd57ed6c
Added trace log statement, to catch stacktraces
2013-01-20 23:17:18 +01:00
Simon Willnauer
35cf9ee11d
wait for cluster to be formed in SimpleNodesInfoTests
2013-01-19 15:44:26 +01:00
Simon Willnauer
d6b613ac8c
Respect lowercase_expanded_terms in MappingQueryParser
...
Fixes #2566
2013-01-19 13:57:45 +01:00
Simon Willnauer
31fd521fd1
provide more information if a null DocumentMapper is returned
2013-01-18 16:43:56 +01:00
Simon Willnauer
c563248f76
testMoreLikeThisIssue2197 should create index mapping first to prevent races
2013-01-18 16:41:37 +01:00
Simon Willnauer
6f38a3a8a8
create index and mapping first to ensure all relevant nodes see the mapping
2013-01-18 16:09:24 +01:00
Shay Banon
468295dc37
upgrade to netty 3.6.2
2013-01-18 12:47:13 +01:00
Simon Willnauer
393de984bd
Remove deprecated StreamInput/Output#read/writeUTF
2013-01-17 22:38:42 +01:00
Simon Willnauer
d37c844da0
use camelcase for getters
2013-01-17 22:27:44 +01:00
Simon Willnauer
3d80c53192
Allow ShardsAllocator to be configured via node level settings.
...
* Default ShardsAllocator is set to BalancedShardsAllocator
* Core ShardsAllocator implementations can be defined via 'cluster.routing.allocation.type'
* Core ShardsAllocator implementations are exposed via short keys 'balanced' (BalancedShardsAllocator) and 'even_shards' (EvenShardsCountAllocator)
* Third party allocators can be loaded via fully-qualified class names.
Closes #2557
2013-01-17 16:23:52 +01:00
Simon Willnauer
2eb09e6b1a
Added BalancedShardsAllocator that balances shards based on a weight function.
...
* Weights are calculated per index and incorporate index level, global and primary related parameters
* Balance operations are executed based on a win maximation strategy that tries to relocate shards
first that offer the biggest gain towards the weight functions optimum
* The WeightFunction allows settings to prefer index based balance over global balance and vice versa
* Balance operations can be throttled by raising a threshold resulting in less agressive balance operations
* WeightFunction shipps with defaults to achive evenly distributed indexes while maintaining a global balance
Closes #2555
2013-01-17 12:02:42 +01:00
Igor Motov
d97839b8a8
Fix char filter issues introduced during lucene 4 migration
...
Fixes #2543
2013-01-14 12:43:02 -05:00