mirror of https://github.com/apache/lucene.git
addBackcompatIndexes.py: only create moreterms, dvupdates, and empty indexes on unstable branch
This commit is contained in:
parent
0e8d9411b0
commit
ae5caf3fa6
|
@ -246,7 +246,7 @@ def main():
|
|||
create_and_add_index(source, 'cfs', c.version, current_version, c.temp_dir)
|
||||
create_and_add_index(source, 'nocfs', c.version, current_version, c.temp_dir)
|
||||
create_and_add_index(source, 'sorted', c.version, current_version, c.temp_dir)
|
||||
if c.version.minor == 0 and c.version.bugfix == 0:
|
||||
if c.version.minor == 0 and c.version.bugfix == 0 and c.version.major < current_version.major:
|
||||
create_and_add_index(source, 'moreterms', c.version, current_version, c.temp_dir)
|
||||
create_and_add_index(source, 'dvupdates', c.version, current_version, c.temp_dir)
|
||||
create_and_add_index(source, 'emptyIndex', c.version, current_version, c.temp_dir)
|
||||
|
|
Loading…
Reference in New Issue