Commit Graph

10860 Commits

Author SHA1 Message Date
Jim Ferenczi 2ffcb878b4 Add version 7.5.1 2018-09-10 09:19:09 +02:00
iverase f406ff91a8 LUCENE-7862: Store the real bounds of the leaf cells in the BKD index when the number of dimensions is bigger than 1 2018-09-08 15:42:30 +02:00
iverase 6fbcda60a2 LUCENE-8491: Adjust maxRadius to prevent constructing circles that are too big 2018-09-07 14:48:52 +02:00
Alan Woodward 66c671ea80 LUCENE-8483: Scorer cannot have a null Weight 2018-09-07 11:41:47 +01:00
Erick Erickson 0dc66c236d SOLR-12028: BadApple and AwaitsFix annotations usage 2018-09-06 20:43:51 -07:00
Adrien Grand 1a006556e5 LUCENE-8468: Add sliceDescription to the toString() of ByteBuffersIndexInput.
This fixes test failures in TestLucene50CompoundFormat#testResourceNameInsideCompoundFile.
2018-09-06 14:01:25 +02:00
Dawid Weiss 922295a94d LUCENE-8481: Javadocs should no longer reference RAMDirectory. 2018-09-06 09:34:21 +02:00
Christine Poerschke a3aa014d1a Fix typo in TermQuery.equals javadocs. 2018-09-05 17:51:01 +01:00
Simon Willnauer c8b47e2024 LUCENE-8484: Only drop fully deleted segments in SoftDeletesDirectoryReaderWrapper
This specializes the change in LUCENE-8484 since there are valid usecases
where filtered reader should not modify the number of readers if a higher
level reader wants to expose the deleted or soft-deleted docs.
2018-09-05 16:00:54 +02:00
Simon Willnauer 7223a8bf7a LUCENE-8484: Drop fully deleted reader in SubReaderWrapper (#445)
Today we can only wrap readers in SubReaderWrapper but never filter them out
entirely. This causes a invariant for soft-deletes that exposes fully deleted
segments with SoftDeletesDirectoryReaderWrapper. This change drops fully
deleted readers after they are wrapped.
2018-09-05 12:44:54 +02:00
Dawid Weiss 6be01e2ade LUCENE-8485: Update randomizedtesting to version 2.6.4. 2018-09-05 11:51:02 +02:00
Namgyu Kim 97ccbc734b LUCENE-8476: Optimizations in UserDictionary (KoreanAnalyzer)
Signed-off-by: Namgyu Kim <kng0828@gmail.com>
Signed-off-by: Jim Ferenczi <jimczi@apache.org>
2018-09-05 11:35:55 +02:00
Alan Woodward 94776bf311 Correct locations of English stopwords in MIGRATE.txt 2018-09-04 13:08:40 +01:00
Adrien Grand 2da53c32cb LUCENE-8475: Remove deprecated constants from RamUsageEstimator. 2018-09-04 14:03:24 +02:00
Adrien Grand a9acdfdb54 LUCENE-8340: Recency boosting. 2018-09-04 14:03:24 +02:00
Alan Woodward 910a0231f6 LUCENE-6228: Add Scorable class and make LeafCollector.setScorer() take Scorable 2018-09-04 11:01:44 +01:00
Alan Woodward 1acfca5ebc LUCENE-8422: Add matches to IntervalQuery 2018-09-03 21:12:01 +01:00
Nhat Nguyen b8dfb7e911 LUCENE-8472: Always rewrite soft-deletes retention query
This change ensures that we always rewrite the soft-deletes merge
retention policy before passing it into `createWeight` as some Query
does not support `createWeight` directly.
2018-09-03 11:19:40 -04:00
Adrien Grand a1ec716e10 Update javadocs for Lucene 8.
This fixes a couple mistakes, puts more emphasis on BM25 compared to Classic and
gives more guidance regarding custom scores without a custom query.
2018-09-03 12:22:26 +02:00
Adrien Grand 81eeae6db2 LUCENE-8465: Remove more references to auto-prefix terms. 2018-08-30 16:44:56 +02:00
Adrien Grand ba83c5a26a LUCENE-8432: TopFieldComparator stops calling the comparator when only counting hits. 2018-08-30 16:44:56 +02:00
Namgyu Kim a30eeae795 LUCENE-8460: Better argument validation in StoredField
Signed-off-by: Namgyu Kim <kng0828@gmail.com>
Signed-off-by: Adrien Grand <jpountz@gmail.com>
2018-08-30 16:44:56 +02:00
Adrien Grand e2fc49cce2 LUCENE-765: Improved oal.index javadocs. 2018-08-30 16:44:56 +02:00
Alan Woodward 0fbb2d19d6 LUCENE-8471: Javadocs 2018-08-30 10:30:11 +01:00
Alan Woodward e170dc3568 LUCENE-8471: Add IndexWriter.getFlushingBytes() method 2018-08-30 10:11:47 +01:00
Dawid Weiss 54f2565038 LUCENE-8469: Inline calls to the deprecated StringHelper.compare, removed StringHelper.compare from master. 2018-08-30 09:59:51 +02:00
David Smiley b19ae942f1 LUCENE-8286: UnifiedHighlighter: new HighlightFlag.WEIGHT_MATCHES for MatchesIterator API.
Other API changes: New UHComponents, and FieldOffsetStrategy takes a LeafReader not IndexReader now.
Closes #409
2018-08-29 23:29:25 -04:00
Dawid Weiss ce504f4f81 LUCENE-8468: add ByteBuffersDirectory to randomized Directory implementations in LuceneTestCase (master branch only). 2018-08-29 10:43:00 +02:00
Dawid Weiss ca54137c8e LUCENE-8468: use NoSuchFileException instead of FileNotFoundException. 2018-08-28 15:12:41 +02:00
Dawid Weiss f762953aab LUCENE-8468: A ByteBuffer based Directory implementation (and associated classes). 2018-08-28 15:02:53 +02:00
Dawid Weiss a452dd9ce3 LUCENE-8467: RAMDirectory, RAMFile, RAMInputStream, RAMOutputStream are deprecated. 2018-08-28 08:51:31 +02:00
Tomas Fernandez Lobbe 55af898b4b LUCENE-8466: Added Vish to CHANGES.txt 2018-08-27 10:42:23 -07:00
Jim Ferenczi 5ef67e9f17 LUCENE-8466: IndexWriter.deleteDocs(Query... query) incorrectly applies deletes on flush if the index is sorted 2018-08-27 19:18:47 +02:00
Nhat Nguyen f26dd13b34 LUCENE-8458: Ensure init PendingSoftDeletes when carry-over deletes
Today when carrying over hard-deletes after merging segments, we might
not adjust soft-deletes count accordingly because we do not always
ensure that the PendingSoftDeletes of the new segment is initialized.

This change fixes the initialization condition in PendingSoftDeletes and
makes sure it is initialized before accepting deletes.

Co-authored-by: Simon Willnauer <simonw@apache.org>
2018-08-24 08:33:18 -04:00
Adrien Grand 025350ea12 LUCENE-8461: Add Lucene80Codec. 2018-08-23 10:51:45 +02:00
Erick Erickson 8cde1277ec SOLR-12690: Regularize LoggerFactory declarations 2018-08-22 15:26:37 -07:00
iverase d6e1d4a4ba LUCENE-8457: turn off more debugging output for test 2018-08-18 18:33:26 +02:00
Karl Wright d8ba1b1661 LUCENE-8457: turn off debugging output for test 2018-08-18 10:53:30 -04:00
Karl Wright 30f64d778a LUCENE-8457: Use backing planes for all potentially narrow GeoBBox shapes. 2018-08-18 10:44:59 -04:00
Karl Wright 9e54e3e9b4 LUCENE-8457: Add disabled unit test demonstrating the problem. 2018-08-17 03:44:20 -04:00
Steve Rowe 711a72ed84 LUCENE-8456: Upgrade Apache Commons Compress to v1.18 2018-08-16 12:06:33 -04:00
Erick 59550fc262 LUCENE-8455: Upgrade ECJ compiler to 4.6.1 in lucene/common-build.xml 2018-08-15 15:32:41 -07:00
Jim Ferenczi 7ecf9b63b9 LUCENE-8448: Boolean queries now propagates the mininum score to their sub-scorers. 2018-08-14 20:09:27 +02:00
David Smiley 8d3f59a47f LUCENE-8446: DefaultPassageFormatter: merge overlapping matches 2018-08-13 15:18:03 -04:00
danmuzi bb58163578 LUCENE-8449: Code Optimizations in FieldTermStack
Signed-off-by: Adrien Grand <jpountz@gmail.com>
2018-08-13 19:36:39 +02:00
Karl Wright f2c0005e9d LUCENE-8451: Interpret IllegalArgumentException result from convex polygon constructor as meaning a tiling failure. 2018-08-11 06:58:50 -04:00
Uwe Schindler e9addea087 Merge branch 'jira/lucene-8453' of https://github.com/mocobeta/lucene-solr-mirror
LUCENE-8453: Add documentation to analysis factories of Korean (Nori) analyzer module
This closes #434
2018-08-11 12:50:19 +02:00
Tomoko Uchida f64f243ef0 Fix indent 2018-08-11 10:35:42 +09:00
Tomoko Uchida 4c27b839e5 Add breif descriptions for supported parameters 2018-08-11 10:33:37 +09:00
Tomoko Uchida 4c45557826 Fix parameter values in example. 2018-08-11 06:48:19 +09:00