Commit Graph

4582 Commits

Author SHA1 Message Date
Shay Banon f4418fb181 lucene 4: fix segments info usage 2012-11-12 13:44:31 +01:00
Shay Banon 7972f6f959 lucene 4: fix call to expungeDeletes 2012-11-12 13:44:31 +01:00
Shay Banon 386c2ebdb9 lucene 4: remove bloom cache
we can add bloom cache, if we need it, as a codec on the uid field
we still need to rewrite the UidFilter to not use bloom, but that will be the regular one
2012-11-12 13:44:31 +01:00
Shay Banon a4d0e3a0e8 lucene 4: add codes dependency 2012-11-12 13:44:31 +01:00
Igor Motov 05138bb2fb lucene 4: upgrade analyzers 2012-11-12 13:44:30 +01:00
Shay Banon 7aacc8d448 lucene 4: upgrade store/dir 2012-11-12 13:44:30 +01:00
Shay Banon 3d4ca81c29 remove XIndexWriter
removing the buffered deletes bloom filter no longer requires setting the bloom filter on it
2012-11-12 13:44:30 +01:00
Shay Banon f9b0fcb3a3 remove BufferedDeletesStream
by default, we will put a bloom filter code on the _uid field, so no need for the optimization of using bloom filters when trying to delete a doc by _uid term per segment
2012-11-12 13:44:30 +01:00
Shay Banon 55a31f7ac5 change to lucene 4.0 dependency
upgrade has begun...
2012-11-12 13:44:30 +01:00
Shay Banon ac3501bc72 Upgrade to netty 3.5.10
closes #2399
2012-11-12 10:39:27 +01:00
Shay Banon edaa65dba2 Multi Match: Wrongly defaults to dis_max instead of bool
fixes #2397
2012-11-10 14:59:45 +01:00
Njal Karevoll f33e353259 The index of the next RestFilter must be incremented before the current filter starts processing.
Otherwise, synchronous filters will not work. For example, the following filter would cause a StackOverflowError:

public class SimpleRestFilter extends RestFilter {
    @Override
    public void process(RestRequest request, RestChannel channel, RestFilterChain filterChain) {
        filterChain.continueProcessing(request, channel);
    }
}
2012-11-09 22:04:09 +01:00
Shay Banon 91de48d2d3 remove accented character 2012-11-09 21:54:17 +01:00
Shay Banon a8e43578a2 Adding a type with _source or _all enabled fails, when these are disabled in index
fixes #2394
2012-11-09 17:21:25 +01:00
Martijn van Groningen 4a9faac470 Added must/should/mustNot method variants that accepts vararg FilterBuilder instances. 2012-11-06 14:23:03 +01:00
Shay Banon 31a8e92b8e Node Stats: add max content length to http info 2012-11-06 11:37:23 +01:00
Shay Banon 0d5530e55f Node Stats: add available processors to OS info 2012-11-06 11:31:23 +01:00
Shay Banon 33900476f4 Node Stats: Add largest thread pool count per thread pool stats
closes #2382
2012-11-06 11:25:38 +01:00
Igor Motov af1e8c0eb1 Add auto index creation on update request
Fixes #2375
2012-11-02 10:18:51 -04:00
Martijn van Groningen ef25ac2414 Fixed that the `ignore_indices` option isn't set in multi search api. Closes #2380 2012-11-02 10:58:02 +01:00
Aaron Dixon bd9a5bfa0c fixed issue2371 (incorrect behavior of path_match) 2012-11-01 22:11:33 +01:00
Chris Male 768b8b4d2b Changed SpatialRelation contains to within 2012-11-01 22:03:47 +01:00
Igor Motov 23f7b0002a Deleting a non-existent warmer shouldn't cause request to hang
Fixes #2363
2012-11-01 21:49:54 +01:00
Igor Motov 7aa3f51b6e Simplify plugin installation troubleshooting
Add check for write access to plugins directory before trying to install plugin. Support verbose mode that prints out intermediate exceptions. Don't install plugin is plugin directory already exists. Fixes #2357
2012-11-01 21:47:15 +01:00
Igor Motov a2628b5eb2 Upsert should return fields Fixes #2362 2012-11-01 21:43:23 +01:00
Shay Banon ec64c8c907 Upgrade to Netty 3.5.9
closes #2377
2012-11-01 16:16:06 +01:00
Shay Banon d8013aecc3 add 0.19.11 and 0.19.12 versions 2012-10-24 01:41:46 +02:00
Shay Banon 253d2d1304 add java opts to bat file as well 2012-10-23 23:54:10 +02:00
Scott MacVicar cf7ebfcebf Add $JAVA_OPTS to the plugin manager, useful for those who have proxies
Summary:
Facebook machines have on direct access to the internet. Need to tell java that we should use proxies.

Test Plan:
export JAVA_OPTS="-Dhttp.proxyHost=<ip> -Dhttp.proxyPort=8080"
2012-10-23 23:53:29 +02:00
Igor Motov 29928a9e15 Add test for percolation with the _size field enabled 2012-10-23 23:08:52 +02:00
Igor Motov a760f906e5 Percolation shouldn't fail when the _size field is enabled 2012-10-23 23:08:52 +02:00
Shay Banon 227250aaa0 add fvh and plain shortcuts for highlighter types 2012-10-23 02:28:17 +02:00
Igor Motov c551f93cae Add highlighter type switch 2012-10-23 02:25:55 +02:00
Shay Banon 4573abc737 nested facet fails with filter caching turned off
fixed #2340
2012-10-22 20:04:57 +02:00
Shay Banon 04eabbd38a Mapping: string mapping to automatically set omit_norms to true and index_options to docs when setting index to not_analyzed
closes #2349
2012-10-22 19:01:01 +02:00
Shay Banon e40f4d2b1a add cluster name back to cluster state API 2012-10-22 15:35:04 +02:00
Shay Banon a3ffc65909 add 0.20.0.RC2 to versions on master 2012-10-22 01:56:23 +02:00
Shay Banon c1489be816 forgot to mark 0.21.0 as snap 2012-10-22 01:55:33 +02:00
Shay Banon 6ec0071fa4 move master to be 0.21.0 Beta1 snap 2012-10-22 01:51:20 +02:00
Shay Banon fe980343be release 0.20.0.RC1 2012-10-22 01:48:09 +02:00
Shay Banon c0e2eb5f5f better workaround for snappy error output
instead of setting the err stream to null, set it to a null output print stream
2012-10-22 00:15:12 +02:00
Shay Banon faa7501715 Aliases API times out when actions end up with no actual change to aliases
closes #2345
2012-10-21 02:45:56 +02:00
Shay Banon a3e7daf415 Auto create index to support white/black lists of index patterns
closes #2344
2012-10-21 02:27:30 +02:00
Martijn van Groningen 6a936a9efc Added method that accepts a map as script parameters 2012-10-21 00:46:19 +02:00
Martijn van Groningen ee5df74a6b Fixed delete by query issue with index aliases and nested mappings.
The issue was that under these circumstances the delete by query operation would run forever.
What also is fixed is that during shard recovery when delete by query is replayed nested docs
are also deleted. Closes #2302
2012-10-20 23:39:15 +02:00
Shay Banon 246dc1d992 formatting 2012-10-19 09:48:48 +02:00
Simon Willnauer b6a83fd8b2 #2332 support CustomScoreQuery highlighting and expose QueryBuilder on CustomScoreQuery via Java API 2012-10-19 09:23:16 +02:00
Shay Banon 2c7850584d move all allocations to be Decision base
this again will allow to provide better output as to why a specific decision has been made (like a shard needing to move from a node)
2012-10-16 10:10:06 -04:00
Shay Banon a963bc1dc9 Setting index_analyzer incorrectly sets analyzer
fixes #2329
2012-10-16 09:19:47 -04:00
Shay Banon c2073c343d improve allocation decision to allow to explain why a decision has been made
building the infra to support explaining why an allocation decision has been made, for example, why a shard is not allocated on a specific node
2012-10-16 09:03:54 -04:00