Shay Banon
4a5b147634
remove unused method
2012-12-30 17:37:46 -08:00
Shay Banon
22077d1c5f
move regex to use Object as paramater as well
2012-12-30 17:36:48 -08:00
Shay Banon
f8a08a46ac
cleanup more calls to Term with String value
2012-12-30 17:31:13 -08:00
Shay Banon
1c93c8dfb8
cleanup unused term factory
2012-12-30 16:55:22 -08:00
Shay Banon
7f0034d42f
fix thread pool stats largest
2012-12-30 01:57:18 -08:00
Shay Banon
b6f766af3f
backport lucene 4.1 terms filter and use it where applicable
2012-12-29 10:39:53 -08:00
Shay Banon
b08e8fb76c
add explicit termsFilter in mapper, and use that in terms filter
...
This also enabled support for terms filter on _id field for example
2012-12-29 01:06:32 -08:00
Shay Banon
2655c2aa58
fix index xcontent flag with id
2012-12-29 00:46:35 -08:00
Shay Banon
9a8d558e51
use object parser value for queries that support it
2012-12-29 00:14:46 -08:00
Shay Banon
fd5719b232
support multiple values when mappers construct queries
...
this will allow us to optimize parsing using actual values (numbers/bytes)
2012-12-28 23:38:43 -08:00
Shay Banon
01ba287164
more mapper simplification, reduce the value methods
2012-12-28 20:33:10 -08:00
Shay Banon
e02015c641
Use FieldType and not deprecated Field construction
2012-12-28 14:27:09 -08:00
Shay Banon
64a01c28c3
rename fieldQuery/fieldFilter to termQuery/termFilter in mappers
2012-12-28 13:48:48 -08:00
Shay Banon
12239169b1
add 0.20.3
2012-12-27 14:30:40 -08:00
Shay Banon
7fb98769a6
add a sleep to make sure settings are applied
2012-12-27 14:16:30 -08:00
Shay Banon
bab91bb9fd
upgrade to jackson 2.1.1
2012-12-27 12:03:59 -08:00
Shay Banon
d739498498
upgrade to netty 3.6.0
2012-12-27 11:55:37 -08:00
Igor Motov
b7ff23ff93
Update settings: Allow to dynamically update thread pool settings
...
Closes #2509
2012-12-27 09:39:27 -05:00
Shay Banon
6ef0e4ddda
fix type to types
2012-12-26 16:31:55 -08:00
Shay Banon
660d0ceba9
cleanup
2012-12-26 16:18:57 -08:00
Simon Willnauer
750c30f0b8
allow index and type to be specified as arrays in MultiSearchRequest
2012-12-26 16:18:17 -08:00
Dave Brosius
6342beeeb0
fix copy/paste bug where null stopWords is passed causing an NPE
2012-12-26 16:16:37 -08:00
Shay Banon
ef55e4feec
fix failed tests due to wrapping failures with mapping parsing exception
2012-12-26 15:59:07 -08:00
Shay Banon
7a0404ac35
optimize filtered query with match_all filter
...
simply just use the query in that case, and don't add the filter overhead
2012-12-26 15:47:53 -08:00
Shay Banon
8a17222ff2
match_all filter with empty array (instead of obj) fires exception when used with facets
...
fixes #2493
2012-12-26 15:35:30 -08:00
Shay Banon
2a57e7cd4b
ShardSearchFailure handling of exception does not take actual into account for status
...
fixes #2495
2012-12-26 15:00:49 -08:00
Shay Banon
2f4b759df7
Allow highlighting on wildcard fields.. ie, comment_*
...
closes #2396
2012-12-26 15:00:31 -08:00
Shay Banon
4b69846ba2
cleanup
2012-12-26 14:21:04 -08:00
Simon Willnauer
90bd82ac50
Pass topScorer=false to sub-scorers if a scorer is wrapped. Wrapped BooleanQuery can return collect-only scorers. See #2505
2012-12-26 14:20:14 -08:00
Shay Banon
2449049a84
Plugins Installer: Allow to download plugins from download.elasticsearch.org
...
closes #2507 .
2012-12-26 14:16:35 -08:00
Martijn van Groningen
c93babed42
Minor changes to the parent / child benchmark.
2012-12-24 22:12:10 +01:00
Martijn van Groningen
c6aaefa27f
Improved explain support for nested query.
...
Closes #2503
2012-12-24 13:40:20 +01:00
Martijn van Groningen
d57d89937f
Added scoring support to has_child
and has_parent
queries.
...
Added score support to `has_child` and `has_parent` queries. Both queries support a score_type option. The has_child support the same options as the top_children query and the none option which is the default and yields the current behaviour. The has_parent query support the score type options: score and none. The latter is the default and yields the current behaviour.
If the score_type is set to a value other than none then the has_parent query map the matched parent score into the related children documents. The has_child query then map the matched children documents into the related parent document. The score_type on both queries defines how the children documents scores are mapped in the parent documents. Both queries are executed in two phases. First phase collects the parent uid values of matching documents with an aggregated score per parent uid value. In the second phase either child or parent typed documents are emitted as hit that have the same parent uid value as found during the first phase. The score computed in the first phase will be used as score.
Closes #2502
2012-12-24 11:39:43 +01:00
Shay Banon
bb9c7172b0
add mappings even on failure to parse
...
since we add them internally to the compound mappers, we need to publish the fact, otherwise, for example, the codec won't find the relevant one based on the global mapper service
2012-12-24 00:04:29 -08:00
Igor Motov
fcdc36977c
Fix failure message serialization in MultiSearchResponse
...
Fixes #2498
2012-12-21 19:26:48 -05:00
Martijn van Groningen
08b026d060
Fixed top_children
query failure with dfs_query* search types.
...
Fixed error with the top_children query when `DFS_QUERY_*` is used as search_type and wraps a query that gets rewritten (E.g wildcard query).
Closes #2501
2012-12-21 18:08:44 +01:00
Martijn van Groningen
c17755d164
Removed unused code.
2012-12-21 16:54:14 +01:00
Martijn van Groningen
694989141b
Fixed AOBE when using top_children
in a must not clause.
...
Closes #2500
2012-12-21 16:47:03 +01:00
Martijn van Groningen
826a6ab02a
Improved XBooleanFilter by adding drive logic for bit based filter impl and adding unit test, which tests all possible XBooleanFilter options.
2012-12-19 22:43:47 +01:00
Phil Kates
8f5bca43fb
Make elasticsearch.in.sh more configurable via env
...
It's easier to manage a configuration through environment variables than
through a config file if that config file has static values that need to
change each version (such as the ES_CLASSPATH). Trying to keep that in
Chef is tedious whereas just controlling these few settings with
environment variables like most of the other settings in here is simple
and straightforward.
2012-12-19 21:38:40 +01:00
Shay Banon
14678a91ab
nested path to be represented as bytes as well as string
2012-12-18 15:39:13 -08:00
Shay Banon
2950799243
fix creating uid to bytes
2012-12-18 14:39:25 -08:00
Shay Banon
ac253178bd
more cleanup in mappings
2012-12-18 13:28:36 -08:00
Shay Banon
1867ef5084
simplify toXContent generation of field mappers
2012-12-18 13:00:47 -08:00
Shay Banon
f3dbe9224a
rename analyzed to tokenized to match field type
2012-12-18 11:34:41 -08:00
Shay Banon
b9c5f0472c
indexedTerm to return bytes
...
part of the effort to reduce conversion from string to types
2012-12-18 10:58:03 -08:00
Shay Banon
1cb531f000
remove unused code
2012-12-18 10:26:52 -08:00
Shay Banon
e41def7a59
remove unused code
2012-12-18 10:22:37 -08:00
Shay Banon
f01ce61f71
parse to bytes
2012-12-18 10:20:55 -08:00
Martijn van Groningen
afd998c482
Improved the size computation in StringFieldData#computeSizeInBytes()
2012-12-18 09:51:01 +01:00