Uwe Schindler
880d0ba1a8
Rewrite JavaScriptCompiler to use modern JVM features (Java 17) ( #12873 )
...
* Rewrite Javascript expression compiler to use hidden classes and MethodHandles for functions
* Use dynamic constants for MethodHandles
* Remove invokestatic code and handle everything through dynamic constants
* Rewrite code to patch stack trace (keep Expressions class unmodified)
* Improve generating of constant names
* Remove classloader test (no longer needed)
* Add benchmark
* use better exception in benchmark
* Add documentation, migration guide and a utility method to convert legacy function maps
* also ignore SecurityException here while checking compatibility (if it happens only an imprecise error message is thrown)
* Use Map.copyOf to not clone the map each time we compile an expression
* Add another test with same method multiple times
* Update ASM to 9.6 and set classfile version to Java 17
* Cleanup classloader permissions, unfortunately "createClassLoader" is still needed for Jacoco for God knows what
2023-12-05 11:53:57 +01:00
Dawid Weiss
2482f7688b
Add createClassLoader to replicator permissions (block specific to jacoco). ( #12684 )
2023-10-16 09:11:57 +02: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
Robert Muir
06907a2c12
LUCENE-9188: Add jacoco code coverage support to gradle ( #119 )
...
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
Co-authored-by: Uwe Schindler <uschindler@apache.org>
2021-05-02 16:24:06 +02:00
Dawid Weiss
7f5e660395
LUCENE-9375: some build file cleanups. ( #10 )
2021-03-10 21:47:37 +01:00
Dawid Weiss
409bc37c13
SOLR-14759: a few initial changes so that Lucene can be built independently while Solr code is still in place. ( #2448 )
2021-03-08 14:59:08 +01:00
Bruno Roustant
19e6560b7f
Restore read-only permission in solr-tests.policy
2021-03-04 16:20:17 +01:00
Tobias Kaessmann
f142bf9c54
SOLR-15038: Add elevateOnlyDocsMatchingQuery and collectElevatedDocsWhenCollapsing parameters to query elevation.
...
Closes #2134
2021-02-17 10:54:17 +01:00
Dawid Weiss
903782d756
LUCENE-9727: build side support for running Hunspell tests. ( #2313 )
2021-02-08 10:50:25 +01:00
Peter Gromov
82f8d7ba1d
LUCENE-9728: Hunspell: add a performance test ( #2296 )
2021-02-05 09:47:02 +01:00
Peter Gromov
84aa683b6b
LUCENE-9723: Hunspell: update sanity tests that load all dictionaries ( #2290 )
2021-02-03 10:45:35 +01:00
Peter Gromov
b48d5beb34
LUCENE-9707: Hunspell: check Lucene's implementation against Hunspel's test data ( #2267 )
2021-02-02 10:46:14 +01:00
zacharymorn
a7747b63b4
LUCENE-8982: Make NativeUnixDirectory pure java with FileChannel direct IO flag, and rename to DirectIODirectory ( #2052 )
...
LUCENE-8982: Make NativeUnixDirectory pure java with FileChannel direct IO flag, and rename to DirectIODirectory
2021-01-17 23:57:56 +01:00
zacharymorn
ebc87a8a27
LUCENE-8982: Separate out native code to another module to allow cpp build with gradle ( #2068 )
...
* LUCENE-8982: Separate out native code to another module to allow cpp build with gradle
2020-11-16 09:40:03 +01:00
Robert Muir
4c42cbc5c9
LUCENE-9576: give solr back its getFileStoreAttributes permission
...
Solr apparently needs this for its IndexFetcher.
2020-10-18 12:30:47 -04:00
Robert Muir
85b58c262a
LUCENE-9576: nuke SSD detection, modernize CMS defaults
2020-10-17 10:55:35 -04:00
Uwe Schindler
f0d3bab321
LUCENE-9512: Move LockFactory stress test to be a unit/integration test ( #1842 )
...
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
2020-09-09 18:42:30 +02:00
Dawid Weiss
3e47bfb7b4
Cleanup remaining scripts to use script-relative resource location.
2020-08-31 15:35:14 +02:00