Commit Graph

4569 Commits

Author SHA1 Message Date
Martijn van Groningen d8d7498292 lucene 4: Moved from FieldSelectors to FieldVisitors. 2012-11-12 13:44:34 +01:00
Simon Willnauer 77cbe0a26b lucene 4: s/getFieldable/getField 2012-11-12 13:44:34 +01:00
Simon Willnauer 0c1778a033 lucene 4: don't restrict ram buffer to 2GB this lucene restriction was removed with DWPT 2012-11-12 13:44:34 +01:00
Simon Willnauer d4e4b5d9f4 lucene 4: read commit user data from directory without a reader 2012-11-12 13:44:34 +01:00
Shay Banon 7b8ab2d685 lucene 4: cleanup unused class 2012-11-12 13:44:34 +01:00
Martijn van Groningen cdf1fc8981 lucene 4: upgraded o.e.index.search.nested package. Also fixed issue with liveDocs in child package. 2012-11-12 13:44:34 +01:00
Igor Motov a49078dfc1 lucene 4: replace UnicodeUtil.UTF8Result with BytesRef 2012-11-12 13:44:33 +01:00
Chris Male f444ed4dff lucene 4: Converted remaining Mappers to FieldType API 2012-11-12 13:44:33 +01:00
Chris Male 549900a082 lucene 4: Converted most Mappers over to FieldType API 2012-11-12 13:44:33 +01:00
Shay Banon e75301b781 lucene 4: optimize bytes on XContentParser
also, does not seem like we need to reuse bytes buffer, if we need to, we can always add it later
2012-11-12 13:44:33 +01:00
Martijn van Groningen 19ab1d0548 lucene 4: upgraded o.e.index.search.child package 2012-11-12 13:44:33 +01:00
Martijn van Groningen 71c3bd7c64 lucene 4: SearchContext#setNextReader accepts an AtomicReaderContext instead of an AtomicReader 2012-11-12 13:44:33 +01:00
Igor Motov 4e5e4869a6 lucene 4: add custom analyzer wrapper that supports overriding of getOffsetGap 2012-11-12 13:44:33 +01:00
Martijn van Groningen 24ef987624 lucene 4: Upgraded the simple id cache. 2012-11-12 13:44:33 +01:00
Simon Willnauer 683be6fc64 lucene 4: converted QueryParser/Builders to Lucene 4 2012-11-12 13:44:33 +01:00
Simon Willnauer 5bd8e1b337 lucene 4: fixed MLT query 2012-11-12 13:44:33 +01:00
Simon Willnauer ad84186509 lucene 4: fixed fuzzy like this queryparser/builder 2012-11-12 13:44:33 +01:00
Simon Willnauer c1a9c802f1 lucene 4: XContentParser now has bytesOrNull and returns bytesref directly 2012-11-12 13:44:33 +01:00
Simon Willnauer 479f1784e8 lucene 4: converted queryparser to lucene classic query parser 2012-11-12 13:44:32 +01:00
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