2ab1af186e
Eventually this will no longer be part of the serialized change proto, and even with the cache it is still expensive to check mergeability for each change in a list of search results, as the submit type must still be checked in order to look up the mergeability. The new MERGEABLE field now loads from the cache, although ChangeJson and several other callers still depend on the field in Change. This will facilitate index schema upgrades, in that a full reindex will also populate the persistent cache. While we're at it, upgrade Lucene to 4.10.1, which contains some important stability bugfixes[1]. [1] http://lucene.apache.org/core/4_10_1/changes/Changes.html#v4.10.1 Change-Id: I166b85f91bd596a3f0295616c2e72853b692dd54
33 lines
720 B
Python
33 lines
720 B
Python
include_defs('//lib/maven.defs')
|
|
|
|
VERSION = '4.10.1'
|
|
|
|
maven_jar(
|
|
name = 'core',
|
|
id = 'org.apache.lucene:lucene-core:' + VERSION,
|
|
sha1 = '4ff28101d9de465b7f3cf59d7bc2892c1c118b4b',
|
|
license = 'Apache2.0',
|
|
exclude = [
|
|
'META-INF/LICENSE.txt',
|
|
'META-INF/NOTICE.txt',
|
|
],
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'analyzers-common',
|
|
id = 'org.apache.lucene:lucene-analyzers-common:' + VERSION,
|
|
sha1 = '6491c6019c32e7c4f7674f238d5beaa84d3108a6',
|
|
license = 'Apache2.0',
|
|
exclude = [
|
|
'META-INF/LICENSE.txt',
|
|
'META-INF/NOTICE.txt',
|
|
],
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'query-parser',
|
|
id = 'org.apache.lucene:lucene-queryparser:' + VERSION,
|
|
sha1 = '0174ffd89d5289037ae24759f38111285b98636d',
|
|
license = 'Apache2.0',
|
|
)
|