Uwe Schindler
cc342ea740
LUCENE-10335: Deprecate helper methods for resource loading in IOUtils and StopwordAnalyzerBase that are not compatible with module system; add utility method IOUtils#requireResourceNonNull(T) and add ModuleResourceLoader as complement to ClasspathResourceLoader
...
Co-authored-by: Tomoko Uchida <tomoko.uchida.1111@gmail.com>
2022-01-03 10:38:19 +01:00
Uwe Schindler
0b517573a4
LUCENE-10342: Add logging to static initializers to warn users if unmapping or object size calculation does not work ( #572 )
...
Co-authored-by: Tomoko Uchida <tomoko.uchida.1111@gmail.com>
2021-12-29 18:18:21 +01:00
Tomoko Uchida
e89c9fcca8
LUCENE-10339: Add require directive for accessing jdk.management ( #568 )
2021-12-27 19:10:20 +09:00
Dawid Weiss
17b4680641
LUCENE-10338: make TestPosition an internal class inside TrivialLookaheadFilter so that it's not picked up as a test.
2021-12-27 09:38:56 +01:00
Dawid Weiss
d928c47d6e
LUCENE-10338: Scan for tests only by convention file name pattern ( #565 )
2021-12-26 18:18:24 +01:00
Tomoko Uchida
eed2601542
LUCENE-10340: Fix resource path for image files in luke module ( #569 )
2021-12-26 14:36:42 +09:00
Tomoko Uchida
54ebf3c73b
LUCENE-10301: Place test-framework into separated modules folder. ( #566 )
2021-12-23 21:14:16 +09:00
Uwe Schindler
1552c83fc5
LUCENE-10301: extract constants to TestSecrets to spare stack inspection and make code more readable ( #561 )
2021-12-22 12:14:48 +01:00
gf2121
c1fb591984
LUCENE-10329: Use computed mask for DirectMonotonicReader#get ( #553 )
...
* use computed mask
* CHANGES
* use block mask for getBounds too
Co-authored-by: guofeng.my <guofeng.my@bytedance.com>
2021-12-22 06:03:12 -05:00
Dawid Weiss
a94fbb79ac
LUCENE-10301: make the test-framework a proper module by moving all test
...
classes to org.apache.lucene.tests.*. Also changes distribution layout
(all modules are now under modules/).
2021-12-21 20:30:45 +01:00
Patrick Zhai
119c7c29ae
LUCENE-10316: fix TestLRUQueryCache.testCachingAccountableQuery failure ( #542 )
2021-12-21 10:32:02 -08:00
Mike McCandless
d2993ead4c
improve exception message
2021-12-21 12:28:44 -05:00
Uwe Schindler
fea44cd4ee
LUCENE-10330: Make MMapDirectory tests fail by default, if unmapping does not work (add changes)
2021-12-21 13:05:10 +01:00
Uwe Schindler
b4d29ccddb
LUCENE-10330: Make the mmap directory tests fail by default, if unmapping does not work ( #556 )
...
Co-authored-by: Dawid Weiss <dawid.weiss@gmail.com>
2021-12-21 13:00:10 +01:00
Patrick Zhai
8f99c12113
Fix default alphabetSize of NFARunAutomaton ( #559 )
2021-12-21 00:15:38 -08:00
Patrick Zhai
0a28fd8b9e
Move LUCENE-10010 entry from 9.1.0 to 10.0.0 ( #558 )
...
To align with Robert's change
2021-12-20 21:44:24 -08:00
Patrick Zhai
c972c6a775
LUCENE-10010 Introduce NFARunAutomaton to run NFA directly ( #225 )
...
LUCENE-10010 Introduce NFARunAutomaton to run NFA directly
Created 2 new interfaces ByteRunnable and TransisitonAccessor to represent function necessary for performing automaton run. Introduced NFARunAutomaton and incorporated into CompiledAutomaton and enables directly running AutomatonQuery based on NFA for all codecs.
2021-12-20 14:52:09 -08:00
Dawid Weiss
e790125504
LUCENE-10331: don't emit the contents of the inputs file until we're actually running the task ( #554 )
2021-12-20 19:27:37 +01:00
zacharymorn
92e5391f27
LUCENE-10236: Add change entry ( #456 )
...
Co-authored-by: Michael McCandless <mikemccand@apache.org>
2021-12-19 21:48:58 -08:00
Animesh Pandey
b1b1a890d0
LUCENE-10197: UnifiedHighlighter now has a Builder ( #412 )
...
Setters (mutable state) on the UH is deprecated.
Co-authored-by: David Smiley <dsmiley@apache.org>
2021-12-19 12:38:23 -05:00
Dawid Weiss
5512786dd9
LUCENE-10327: workaround for gradle emitting empty sourcepath.
2021-12-19 08:52:01 +01:00
Dawid Weiss
d2c98912eb
This reverts commit a7b50f723d
.
2021-12-19 08:51:13 +01:00
Dawid Weiss
a7b50f723d
Reverting back to b48cac02
.
2021-12-18 23:36:30 +01:00
Dawid Weiss
2a44ff532e
LUCENE-10308: sort input files for ecj so that module-info.java comes first.
2021-12-18 21:17:56 +01:00
Dawid Weiss
d42db56bab
LUCENE-10255: initial support for Java Modules.
2021-12-18 20:45:51 +01:00
Dawid Weiss
b48cac0206
LUCENE-10285: try to force ordering of internal tasks, in spite of making top-level wrapper dependencies. ( #549 )
2021-12-17 19:12:09 +01:00
Dawid Weiss
1a429c621e
Render javadocs for all projects, even if they're not part of site.
2021-12-17 17:57:38 +01:00
Uwe Schindler
f7fd21a0c6
Merge branch 'main' of https://gitbox.apache.org/repos/asf/lucene into jms2
2021-12-17 16:05:17 +01:00
Uwe Schindler
8610176a42
Remove obsolete options
2021-12-17 15:22:22 +01:00
Greg Miller
1e8b94a1bb
LUCENE-10321: Tweak MultiRangeQuery interval tree creation logic ( #547 )
2021-12-17 05:43:38 -08:00
Uwe Schindler
db9dff225c
after reading code, correct the argument file to comply with ECJ's parser
2021-12-17 12:18:28 +01:00
Uwe Schindler
6941701c6d
Escape the options in ECJ's options file
2021-12-17 11:37:27 +01:00
Dawid Weiss
ae92e96481
Address Uwe's remarks.
2021-12-16 20:05:05 +01:00
Dawid Weiss
c64e5fe84c
LUCENE-10313: add missing javadoc.
2021-12-16 18:36:19 +01:00
Dawid Weiss
e0745c7b24
LUCENE-10255: re-add utilities for debugging packages and services. These are not included by default to avoid unnecessary compilation overhead.
2021-12-16 17:59:54 +01:00
Dawid Weiss
5b3b75efd8
LUCENE-10308: Make ecj and javadoc run with modular paths
2021-12-16 17:51:01 +01:00
Dawid Weiss
9224bde83c
Add assertj.
2021-12-16 16:49:20 +01:00
Dawid Weiss
9917092bf8
LUCENE-10313: merge log4j-less Luke.
2021-12-16 15:47:52 +01:00
Tomoko Uchida
e7b4700c5a
LUCENE-10313: minor clean-ups and follow-ups ( #546 )
2021-12-16 15:38:32 +01:00
Jan Høydahl
05cb0fd0c1
Add back-compat indices for 8.11.1
2021-12-16 15:09:28 +01:00
Jan Høydahl
8c48475c4d
Add java version mapping for lucene 10
2021-12-16 13:07:03 +01:00
Jan Høydahl
2b07bcef2e
Add bugfix version 8.11.1
2021-12-16 12:11:26 +01:00
Tomoko Uchida
8e8a94a2b7
LUCENE-10303: remove unnecessary changes entry
2021-12-16 19:39:20 +09:00
Dawid Weiss
36638dcb1e
LUCENE-10313: drop log4j from luke ( #544 )
2021-12-16 11:18:34 +01:00
Jan Høydahl
3687c71f28
Add 8.11.1
2021-12-16 10:43:44 +01:00
Quentin Pradet
9974f6ac34
LUCENE-10085: Fix flaky testQueryMatchesCount ( #538 )
...
Five times every 10 000 tests, we did not index any documents with i
between 0 and 10 (inclusive), which caused the deleted tests to fail.
With this commit, we make sure that we always index at least one
document between 0 and 10.
2021-12-14 10:49:58 +01:00
Ignacio Vera
5207aae527
LUCENE-10310: Fix test error in TestXYDocValuesQueries#testRandomDistanceHuge ( #537 )
...
We create random circles using ShapeTestUtils which is safe.
2021-12-13 12:01:20 +01:00
Tomoko Uchida
2f634b0d95
LUCENE-10309: Minimum KnnVector codec support in Luke ( #535 )
2021-12-12 15:31:18 +09:00
Tomoko Uchida
e111182e12
LUCENE-10303: Upgrade log4j to 2.15.0
2021-12-11 10:43:03 +09:00
Tomoko Uchida
cb788d8e9e
LUCENE-10305: Ensure line endings of versions.props is LF
2021-12-11 10:10:44 +09:00