Martijn van Groningen
ddea22771e
Fixed mlt api bug related to custom routing value.
...
If the a routing value isn't id based, the get part of the mlt request couldn't retrieve the document for the second part of the mlt request and a 500 code is returned instead. This fix addresses this issue.
Closes #2489
2012-12-17 11:00:30 +01:00
uboness
8b74c42099
Support for RegexpQuery & RegexpFilter
...
- Added "regexp" query type (based on Lucene 4 RegexpQuery)
- Added "regexp" filter type
- Fixed a bug in IdFieldMapper where prefixQuery on a single type would be redundantly wrapped in a boolean query
2012-12-16 23:24:18 +01:00
Shay Banon
5a6004a168
First indexing of a dynamic boolean field can cause it not to be indexed correctly
...
fixes #2487
2012-12-15 19:04:10 -08:00
Igor Motov
c8285739d2
Correctly parse *:* query into matchAllDocsQuery
...
Fixes #2486
2012-12-14 14:36:20 -08:00
Martijn van Groningen
148dc3c013
Added Lucene 4.1 todo
2012-12-14 16:08:37 +01:00
Shay Banon
c65d5a77c4
reuse non analyzed token stream for string types
...
so heavyweight token stream won't be created each time
2012-12-12 22:53:48 -08:00
Shay Banon
fc35fd8a29
improve fields iteration trying to find customer valued analyzer
2012-12-12 22:08:54 -08:00
Shay Banon
36fd76b826
don't call toLowerCase on each bulk item
2012-12-12 21:56:23 -08:00
Shay Banon
32bf7607c7
optimize boolean filter to use bits driven by result bitset
2012-12-12 20:12:51 -08:00
Shay Banon
4778d5c2eb
optimize boolean filter for one clause case
2012-12-12 16:32:22 -08:00
Shay Banon
8d0d288a1c
add 0.20 versions
2012-12-08 01:37:21 +01:00
Alex Lambert
635438e7d1
restore deleted plugin path modification
2012-12-08 01:15:17 +01:00
Shay Banon
e021904250
use the 0.20.0 version
2012-12-07 23:15:44 +01:00
Shay Banon
4dec14d5da
Wildcard query on non existent field matches all documents
...
fixes #2461
2012-12-07 19:37:26 +01:00
Martijn van Groningen
ea9a4d70cf
lucene 4: Removed the usage of Document & Field when retrieving stored fields.
2012-12-06 18:18:52 +01:00
Igor Motov
d947dfde2b
Add support for ignoring settings in system properties.
...
An elasticsearch node can be instructed to ignore settings specified in system properties by setting config.ignore_system_properties setting to true.
2012-12-06 09:37:36 -05:00
Martijn van Groningen
591a76bd88
Changed es version from string to class Version.
2012-12-06 15:37:03 +01:00
Martijn van Groningen
966fdfdfb8
Changed es version from string to class Version
2012-12-06 15:35:30 +01:00
Martijn van Groningen
22f99e848f
Expose es version in node info api.
...
Closes #2466
2012-12-06 15:22:44 +01:00
Martijn van Groningen
f72d5c1907
Expose fragmenter option for plain / normal highlighter.
...
Closes #2465
2012-12-06 14:59:42 +01:00
Shay Banon
c2f8ee105b
add a marker CachedFilter
...
this allows to easily and globally check if we cache a filter or not, all filter caching uses this marker interface
2012-12-06 10:13:47 +01:00
Shay Banon
2786e29a10
expose filter strategy in filtered query
2012-12-06 02:20:09 +01:00
Shay Banon
c22b521800
fix properly handling acceptDocs in filters
...
our idea is to apply it on the "filtered/constant" level, and not on compound filters, so we won't apply it multiple times. The solution is conservative a bit now, we can further optimize it in the future, for example, not to wrap it when no caching is done within the filter chain
2012-12-06 01:55:16 +01:00
Shay Banon
5a226cde8e
add 0.19.13
2012-12-04 15:41:38 +01:00
Shay Banon
c36638d159
not delete filter improvements
...
- don't check no null for liveDocs, since we know they are not null with the check for hasDeletion
- improve iteration over liveDocs vs. innerSet, prefer to iterate over the faster one
2012-12-04 02:00:36 +01:00
Martijn van Groningen
6cfd938dce
Fixed unable to highlight on all multi-valued field values.
...
Closes #2384
2012-12-03 12:39:18 +01:00
Shay Banon
f17ad829ac
remove snappy support
...
relates to #2459
2012-12-03 12:30:13 +01:00
Shay Banon
677e6ce4ef
Deprecate Shared Gateway
...
closes #2458
2012-12-03 11:44:17 +01:00
Shay Banon
a2a8553faf
Indexing Slow Log
...
closes #2457
2012-12-03 10:21:59 +01:00
Shay Banon
b10cec1908
Upgrade to Netty 3.5.11
...
closes #2456
2012-12-02 22:29:49 +01:00
Shay Banon
b4f85ee422
no need to check for log levels
...
we already do that when we log, and those are set to TRACE most times for slow log (since logging is based on thresholds)
2012-12-02 22:03:51 +01:00
Shay Banon
a274d9386f
Add types and stats to search slow log
...
closes #2455
2012-12-02 22:01:17 +01:00
Igor Motov
6021515567
The relevancy score in explanation should match the actual score in custom_filters_query
...
Fixes #2441
2012-11-27 10:13:16 -08:00
Shay Banon
69ef822da6
cleanup docsets
...
- remove the DocSet abstraction, and use Bits where we can by getting it from DocIdSet
- better handling of acceptDocs, though still need to properly apply them when caching is involved
2012-11-27 10:04:21 -08:00
Igor Motov
fb9143aac1
fix sporadically disappearing fields during concurrent dynamic mapping updates
2012-11-24 14:02:58 +01:00
Simon Willnauer
4ab78bc537
Add basic javadocs for o.e.cluster.rounting package and related classes
2012-11-23 15:14:30 +01:00
Simon Willnauer
32a0772821
#2436 expose KeepWordTokenFilter by default
2012-11-23 10:11:30 +01:00
Igor Motov
65a43d3ad4
Fix handling of stop word _lang_ notation
...
Fixes #2412
2012-11-23 09:54:02 +01:00
Shay Banon
2094207bf1
add completed count to thread pools
2012-11-22 15:55:25 +01:00
Shay Banon
e1679b89bb
fix failed test that were using the wrong form match query
2012-11-22 15:14:02 +01:00
Shay Banon
192cf5298a
fix failed test that were using the wrong form match query
2012-11-22 14:44:03 +01:00
Shay Banon
f4d6d8139d
Match query should fail when trying to provide several fields in its simplified form
...
fixes #2432
2012-11-22 10:23:48 +01:00
Chris Male
2541847945
Added control over Query used by MatchQuery with there are zero terms after analysis
2012-11-22 22:13:29 +13:00
Shay Banon
9a90c1c3b5
conservative timeouts on internal recovery actions
...
safe guards against cases where intenral recovery actions take too long (possibly due to a bug)
2012-11-22 00:31:57 +01:00
Shay Banon
f5a3261e15
only log that we delete unused shard if it exists
2012-11-21 20:45:31 +01:00
Shay Banon
d9b78000b1
Setting logger levels using cluster update settings does not work
...
fixes #2428
2012-11-21 13:44:54 +01:00
Chris Male
9e2469e04f
Add per-field Similarity support
2012-11-21 12:44:59 +13:00
Shay Banon
4e8a9008b7
second phase at optimizing merging/parsing large new mappings
...
apply the new mappings only after the parsing/merging of a full doc/mapping is done
2012-11-19 17:40:13 +01:00
Shay Banon
303752d78a
first phase at optimizing merging large mappings
...
bulk them the same level ones when traversing and introduce them
2012-11-19 17:13:45 +01:00
Shay Banon
6e597ffccb
allow to associate a payload with bulk requests
2012-11-19 16:16:35 +01:00