135 Commits

Author SHA1 Message Date
Adrien Grand
06a6034d9b LUCENE-7730: Better accuracy for the length normalization factor. 2017-05-18 16:27:31 +02:00
Adrien Grand
89f6d170f5 LUCENE-7783: Fix NPE when getting points on a non-existing field. 2017-04-13 09:43:01 +02:00
Adrien Grand
23b002a0fd LUCENE-7756: Only record the major Lucene version that created the index, and record the minimum Lucene version that contributed to segments. 2017-04-04 09:57:16 +02:00
Adrien Grand
8ed2b764ed LUCENE-6819: Remove index-time boosts. 2017-03-02 19:18:16 +01:00
Uwe Schindler
8684fe7944 LUCENE-7726: Fix HTML entity bugs in Javadocs to be able to build with Java 9 2017-03-01 23:57:18 +01:00
Adrien Grand
df6f830723 LUCENE-7410: Make cache keys and close listeners less trappy. 2017-02-28 14:46:45 +01:00
Alan Woodward
7a8c59dd86 LUCENE-7681: Remove LegacyDocValues implementations from MemoryIndex 2017-02-17 09:50:43 +00:00
Alan Woodward
6696eafaae LUCENE-7679: MemoryIndex should take into account omitNorms 2017-02-09 10:46:38 +00:00
Adrien Grand
86233cb95d LUCENE-7055: Add ScorerProvider to get an estimation of the cost of scorers before building them. 2017-01-17 08:51:58 +01:00
Adrien Grand
9aca4c9d56 LUCENE-7462: Give doc values APIs an advanceExact method. 2016-10-24 10:51:23 +02:00
Adrien Grand
c22725f0b5 LUCENE-7494: Give points a per-field API. 2016-10-18 10:14:27 +02:00
Mike McCandless
f7aa200d40 LUCENE-7407: switch doc values usage to an iterator API, based on DocIdSetIterator, instead of random acces, freeing codecs for future improvements 2016-09-21 09:41:41 -04:00
Robert Muir
105c7eae87 LUCENE-7413: move legacy numeric support to backwards module 2016-08-17 09:28:45 -04:00
David Smiley
dcc9a4b9a4 LUCENE-7391: Fix MemoryIndex fields() perf regression 2016-07-25 09:59:00 -04:00
David Smiley
3ca4fea578 LUCENE-7340: MemoryIndex.toString renamed to toStringDebug; fix NPE 2016-07-06 11:24:03 -04:00
Steve Rowe
a2a1bd2a4a LUCENE-7338: Fix javadocs package and overview description section anchor names to the Java8 style: s/*_description/*.description/ 2016-06-13 16:10:49 -04:00
Christine Poerschke
52f5c50246 LUCENE-7319: remove unused imports 2016-06-13 09:59:14 +01:00
Mike McCandless
8fe78da23c LUCENE-6766: make new Lucene62Codec, with new segment info format that reads/writes the index sort, to support index sorting; remove all usage of SlowCompositeReaderWrapper; also sort ids when merging norms; CheckIndex verifies sort 2016-05-06 16:41:26 -04:00
Adrien Grand
2ee8426d5e LUCENE-7238: Explicitly disable the query cache in MemoryIndex.createSearcher. 2016-04-21 17:01:43 +02:00
Martijn van Groningen
c1dfeb8ef8 LUCENE-7093: Added point values support to the memory index 2016-03-15 13:13:19 +01:00
Martijn van Groningen
cf3eea2640 LUCENE-7091: Added doc values support to memory index 2016-03-15 09:57:40 +01:00
Mike McCandless
7523ca1162 LUCENE-7086: move SlowCompositeReaderWrapper to misc module, and throw clear exc if you try to use in with points
Squashed commits:

commit e26b065c71388407bc6725256ca43d7bb30dee29
Author: Mike McCandless <mikemccand@apache.org>
Date:   Thu Mar 10 14:16:45 2016 -0500

    simplify the checking for incoming points

commit b7254376dcb398c7739aab4544118bb4526961d5
Merge: 8ec82a0 d35d569
Author: Mike McCandless <mikemccand@apache.org>
Date:   Thu Mar 10 14:05:24 2016 -0500

    Merge branch 'master' into slow_wrapper

    Conflicts:
    	lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCache.java
    	lucene/misc/src/test/org/apache/lucene/uninverting/TestFieldCacheReopen.java

commit 8ec82a0d9a0dd946d96da20962bb2ea95758edbe
Author: Mike McCandless <mikemccand@apache.org>
Date:   Thu Mar 10 13:56:25 2016 -0500

    LUCENE-7086: move SlowCompositeReaderWrapper to misc module
2016-03-10 16:08:59 -05:00
Martijn van Groningen
0b8b16f9f2 LUCENE-7087: Let MemoryIndex#fromDocument(...) accept 'Iterable<? extends IndexableField>' as document instead of 'Document' 2016-03-10 14:05:54 +01:00
Uwe Schindler
f48d23cd14 LUCENE-7053: Remove custom comparators from BytesRef class and solely use natural byte[] comparator throughout codebase. It also replaces the natural comparator in ArrayUtil by Java 8's Comparator#naturalOrder(). 2016-02-29 09:25:55 +01:00
Mike McCandless
126ac9a5fe BytesRefHash.sort always sorts in unicode order 2016-02-27 10:26:20 -05:00
Robert Muir
9ca1a19b81 LUCENE-7042: more cleanup for Point encodings 2016-02-22 19:32:52 -05:00
Robert Muir
189e985b5c LUCENE-7037: Switch all exceptions tests to expectThrows() 2016-02-19 12:07:47 -05:00
Uwe Schindler
0f43705788 LUCENE-7013: Revert changes to package-info.java files (adds newline after license header and before javadocs back) 2016-02-04 23:02:50 +01:00
Shai Erera
813ca77250 LUCENE-7013: Move license header to top of file 2016-02-04 15:51:19 +02:00
Alan Woodward
5e935d7106 LUCENE-6992: Allow adding IndexableField to MemoryIndex 2016-01-26 09:02:44 +00:00
Michael McCandless
29cb337377 LUCENE-6975: rename dimensional values to points; add ExactPointQuery to match documents containing exactly an indexed point
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725998 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 15:58:08 +00:00
Michael McCandless
24c46305bd LUCENE-6971: remove StorableField, StoredDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725117 13f79535-47bb-0310-9956-ffa450edef68
2016-01-17 19:54:50 +00:00
Alan Woodward
43cd1639f5 LUCENE-6884: Analyzer.tokenStream() and Tokenizer.setReader() don't need to throw IOException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712731 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 10:00:11 +00:00
Michael McCandless
e5c4ba48df LUCENE-6825: add dimensionally indexed values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710752 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 09:31:35 +00:00
Robert Muir
a944ab17a7 LUCENE-6789: change IndexSearcher default similarity to BM25
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703070 13f79535-47bb-0310-9956-ffa450edef68
2015-09-14 22:03:35 +00:00
Uwe Schindler
1816ed1945 LUCENE-6653, LUCENE-6652: Refactor TermToBytesRefAttribute; add oal.analysis.tokenattributes.BytesTermAttribute; remove code duplication in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688830 13f79535-47bb-0310-9956-ffa450edef68
2015-07-02 14:09:29 +00:00
Adrien Grand
d671dd8d89 LUCENE-6553: Simplify how live docs are applied.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687524 13f79535-47bb-0310-9956-ffa450edef68
2015-06-25 13:59:19 +00:00
Adrien Grand
c397fe7234 LUCENE-6531: Make PhraseQuery immutable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685754 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 10:18:40 +00:00
Michael McCandless
c08d81cc39 LUCENE-6410: remove unused 'reuse' parameter to Terms.iterator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672155 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:48:07 +00:00
Robert Muir
5aa3cbfb2d LUCENE-6404: fix 0-length payload semantics in MemoryIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671813 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 11:37:58 +00:00
Robert Muir
58107a2b76 LUCENE-6402: MemoryIndex should pass TestUtil.checkReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671808 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 11:21:29 +00:00
Michael McCandless
19c70cab54 LUCENE-6395: MemoryIndex's TermsEnum.seekExact(long ord) was failing to set the term bytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671540 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 14:22:49 +00:00
Robert Muir
a9915c6616 LUCENE-6317: Fix readStringStringMap API, reduce memory usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663157 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 20:30:49 +00:00
Robert Muir
69300ee467 LUCENE-6246: Fix DocsEnum -> PostingsEnum transition (phase 1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660366 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 12:46:55 +00:00
Robert Muir
c385668a1f LUCENE-6224: cut over more package.htmls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658464 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 16:51:43 +00:00
Robert Muir
376256316b LUCENE-4797: enable doclint html verification
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658040 13f79535-47bb-0310-9956-ffa450edef68
2015-02-07 10:10:34 +00:00
Alan Woodward
c13216934c LUCENE-4524: Replace DocsEnum and DocsAndPositionsEnum with PostingsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657800 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 13:25:22 +00:00
Robert Muir
010e352f60 LUCENE-6218: don't decode freqs or enumerate all positions when scoring is not needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657554 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 12:34:28 +00:00
Adrien Grand
457e70ab94 LUCENE-6179: Disallow out-of-order scoring.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652013 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 09:35:20 +00:00
David Wayne Smiley
cd8fc589b9 LUCENE-6155: Add payloads to MemoryIndex; add flag to HL QueryScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649798 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 13:19:20 +00:00