4029 Commits

Author SHA1 Message Date
Martijn van Groningen
083df0a86c lucene 4: Upgraded o.e.search.dfs package. #2 2012-11-12 13:44:35 +01:00
Martijn van Groningen
5f942ef63d lucene 4: Upgraded o.e.search.dfs package. (Distributed idf) 2012-11-12 13:44:35 +01:00
Igor Motov
fd2cf776d8 lucene4: action package cleanup 2012-11-12 13:44:35 +01:00
Martijn van Groningen
3269e0c88e lucene 4: Fixed compile error 2012-11-12 13:44:35 +01:00
Martijn van Groningen
fcc4fe263e lucene 4: Upgraded PercolatorExecutor 2012-11-12 13:44:34 +01:00
Simon Willnauer
22c14c7354 lucene 4: lucene package cleanups 2012-11-12 13:44:34 +01:00
Simon Willnauer
595acd695e lucene 4: s/reusableTokenStream/tokenStream 2012-11-12 13:44:34 +01:00
Martijn van Groningen
d531fa7a46 lucene 4: Fixed compile error in FieldLookup 2012-11-12 13:44:34 +01:00
Martijn van Groningen
42a1d25064 lucene 4: Fixed last compile errors in HighlightPhase 2012-11-12 13:44:34 +01:00
Martijn van Groningen
b928e74904 lucene 4: Moved from FieldSelectors to FieldVisitors. Removed BaseFieldVisitor#reset and changed SourceFieldVisitor and UidFieldVisitor to singleton to prototype. 2012-11-12 13:44:34 +01:00
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