Commit Graph

20 Commits

Author SHA1 Message Date
Benjamin Trent 2d62faa4bb
Add int8_hnsw backcompat index creawtion to dev tools scripts (#13465) 2024-06-07 09:24:20 -04:00
Adrien Grand 13d561af1d Fix bw index generation logic. 2024-02-20 22:14:06 +01:00
Simon Willnauer c9e4434cc3 Fix addBackcompatIndexes.py to properly generate missing versions (#13095)
In #13046 several changes broke the addBackcompatIndexes.py script
to properly add and test the unreleased version. This updates the
script to again properly add the new version.

Closes #13094

Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
2024-02-14 21:58:30 +01:00
Simon Willnauer 8d9290ca36
Modernize BWC testing with parameterized tests (#13046)
This change modernizes the BWC tests to leverage RandomizedRunners Parameterized Tests that allow us to have more structured and hopefully more extendible BWC tests in the future. This change doesn't add any new tests but tries to make the ones we have more structured and support growth down the road.
Basically, every index type got it's own Test class that doesn't require to loop over all the indices in each test. Each test case is run with all versions specified. Several sanity checks are applied in the base class to make individual tests smaller and much easier to read.

Co-authored-by: Michael McCandless <lucene@mikemccandless.com>
Co-authored-by: Adrien Grand <jpountz@gmail.com>
2024-01-31 15:27:56 +01:00
Adrien Grand 71dfa9e9cd
addBackcompatIndexes.py should use Gradle, not Ant. (#531) 2022-01-12 18:55:59 +01:00
Adrien Grand 65296e5f84
Use CDN to download source release. (#529) 2022-01-05 15:54:33 +01:00
Ignacio Vera cfd0ccefe1
LUCENE-9777: Fix out of date versions on releases 8.7.0 and 8.8.0 (#2377) 2021-02-17 08:29:05 +01:00
Jason Gerlowski 2a9d704002 Update addBackcompatIndexes.py test running to gradle 2020-10-09 11:32:49 -04:00
Jan Høydahl 751fbecc58
Remove some unused lines from addBackcompatIndexes.py related to svn (#1322) 2020-03-11 00:43:42 +01:00
Jan Høydahl 87c131baa7
LUCENE-8852 ReleaseWizard tool (#710) 2019-06-20 14:45:17 +02:00
Steve Rowe 8388b195cf Don't add sorted indexes for non-back-compat versions 2017-10-26 17:13:26 -04:00
Steve Rowe 3698acf321 addBackCompatIndexes.py: Don't generated sorted indexes for versions < 6.2 2017-10-24 12:30:30 -04:00
Steve Rowe ae5caf3fa6 addBackcompatIndexes.py: only create moreterms, dvupdates, and empty indexes on unstable branch 2017-09-30 23:22:46 -04:00
Steve Rowe 0e8d9411b0 addBackcompatIndexes.py: 4 space indent instead of 6 for new index names; check previous line when deciding whether there are previous versions. 2017-09-30 23:20:51 -04:00
Steve Rowe 5afd41de11 addBackcompatIndexes.py: Create 'sorted' indexes; on major releases, produce moreterms, dvupdates, and empty indexes. Add 7.0.0 indexes. 2017-09-30 20:44:01 -04:00
Steve Rowe 1e182d81db Simplify backcompat index file name creation 2016-06-27 12:57:40 -04:00
Steve Rowe 0018003b7c Handle adding back compat indexes for versions that are no longer supported 2016-06-25 14:26:42 -04:00
Steven Rowe 01a4c97273 Backcompat index generation: add docs, and point to usage information on the wiki: http://wiki.apache.org/lucene-java/ReleaseTodo#Generate_Backcompat_Indexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673962 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 21:36:00 +00:00
Ryan Ernst 9b112b58d4 adding bwc test indexes for 5.0.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661609 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 06:50:47 +00:00
Ryan Ernst 8d885e4fb0 LUCENE-5971: Create addBackcompatIndexes.py script to build and add backcompat test indexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627419 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 20:48:57 +00:00