Commit Graph

4100 Commits

Author SHA1 Message Date
Simon Willnauer 5d47ad4648 lucene 4: upgraded FuzzyQueryParser + Builder to use integer edit distance rather
than floats (bw compatible)
2012-11-12 13:44:32 +01:00
Igor Motov b1eaec6c6a lucene 4: change Unicode utils to use BytesRef instead of UTF8Result 2012-11-12 13:44:32 +01:00
uboness c3633ab99f lucene 4: changed InternalIndexShard#checkIndex to use the new fixIndex and indexExists apis 2012-11-12 13:44:32 +01:00
Igor Motov 8009b80481 lucene 4: fix access to segment name due to SegmentInfo refactoring 2012-11-12 13:44:32 +01:00
Shay Banon 4b84078f91 lucene 4: text comparator should always work on bytes 2012-11-12 13:44:32 +01:00
Martijn van Groningen 65ce3aea57 lucene 4: Upgraded the function/sort classes. 2012-11-12 13:44:32 +01:00
Martijn van Groningen 48b8d0544f lucene 4: Moved SearchScript from IndexReader to AtomicReader. This also touches the seach/lookup classes 2012-11-12 13:44:32 +01:00
Martijn van Groningen d820bfe11b lucene 4: Changed from BytesReference to Text as internal term representation for facet keys. Text now also implements comparable. 2012-11-12 13:44:32 +01:00
Igor Motov b128b7a750 lucene 4: use CharArraySet for stem exclusions, stop words and articles and fix analyzer namespaces 2012-11-12 13:44:32 +01:00
Igor Motov 1cc5ee7ad9 lucene 4: implement createComponents in Analyzers 2012-11-12 13:44:32 +01:00
Igor Motov 6fad75df82 lucene 4: remove Pattern tokenizer and filter 2012-11-12 13:44:32 +01:00
Igor Motov 097cb2dac7 lucene 4: migrate char filter from CharStream to Reader 2012-11-12 13:44:31 +01:00
Shay Banon f572a7bcf7 lucene 4: no close on searcher anymore 2012-11-12 13:44:31 +01:00
Shay Banon ed03741353 lucene 4: hashCode and equals for Text and BytesReference
now that we are going to use those more in places like facets, they need to implement equals and hasCode to be used in hashes
2012-11-12 13:44:31 +01:00
Martijn van Groningen 15c9cd5142 lucene 4: Field name no longed interned when loading field data cache and return empty field data cache for fields that don't exist. 2012-11-12 13:44:31 +01:00
Martijn van Groningen 454954e7be lucene 4: Fix field data, facets and field comparators 2012-11-12 13:44:31 +01:00
Shay Banon 81d148b4e4 lucene 4: fix warmup process
also removed ExtendedIndexSearcher, we should do whats needed with the new context and leaves methods
2012-11-12 13:44:31 +01:00
Shay Banon 0c24928ef4 lucene 4: fix similarity packaging 2012-11-12 13:44:31 +01:00
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