Merge "Add secondary index implementation using SolrCloud"
This commit is contained in:
24
lib/BUCK
24
lib/BUCK
@@ -246,27 +246,3 @@ maven_jar(
|
||||
visibility = ['//lib:easymock'],
|
||||
attach_source = False,
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'lucene-core',
|
||||
id = 'org.apache.lucene:lucene-core:4.3.0',
|
||||
bin_sha1 = 'd4e40fe5661b8de5d8c66db3d63a47b6b3ecf7f3',
|
||||
src_sha1 = '86c29288b1930e33ba7ffea1b866af9a52d3d24a',
|
||||
license = 'Apache2.0',
|
||||
exclude = [
|
||||
'META-INF/LICENSE.txt',
|
||||
'META-INF/NOTICE.txt',
|
||||
],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'lucene-analyzers-common',
|
||||
id = 'org.apache.lucene:lucene-analyzers-common:4.3.0',
|
||||
bin_sha1 = 'e7c3976156d292f696016e138b67ab5e6bfc1a56',
|
||||
src_sha1 = '3606622b3c1f09b4b7cf34070cbf60d414af9b6b',
|
||||
license = 'Apache2.0',
|
||||
exclude = [
|
||||
'META-INF/LICENSE.txt',
|
||||
'META-INF/NOTICE.txt',
|
||||
],
|
||||
)
|
||||
|
||||
@@ -15,7 +15,10 @@ maven_jar(
|
||||
license = 'Apache2.0',
|
||||
exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'],
|
||||
attach_source = False,
|
||||
visibility = ['//lib:velocity'],
|
||||
visibility = [
|
||||
'//lib:velocity',
|
||||
'//lib/solr:zookeeper',
|
||||
],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
@@ -39,19 +42,6 @@ maven_jar(
|
||||
exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'logging',
|
||||
id = 'commons-logging:commons-logging:1.1.1',
|
||||
sha1 = '5043bfebc3db072ed80fbd362e7caf00e885d8ae',
|
||||
license = 'Apache2.0',
|
||||
exclude = [
|
||||
'META-INF/LICENSE',
|
||||
'META-INF/NOTICE',
|
||||
],
|
||||
attach_source = False,
|
||||
visibility = ['//lib/openid:'],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'net',
|
||||
id = 'commons-net:commons-net:2.2',
|
||||
@@ -77,3 +67,39 @@ maven_jar(
|
||||
attach_source = False,
|
||||
exclude = ['META-INF/LICENSE'],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'io',
|
||||
id = 'commons-io:commons-io:1.4',
|
||||
sha1 = 'a8762d07e76cfde2395257a5da47ba7c1dbd3dce',
|
||||
license = 'Apache2.0',
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'httpclient',
|
||||
id = 'org.apache.httpcomponents:httpclient:4.2.5',
|
||||
bin_sha1 = '666e26e76f2e87d84e4f16acb546481ae1b8e9a6',
|
||||
src_sha1 = '55d345272944d7e8dace47925336a3764ee0e24b',
|
||||
license = 'Apache2.0',
|
||||
deps = [
|
||||
':codec',
|
||||
':httpcore',
|
||||
'//lib/log:jcl-over-slf4j',
|
||||
],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'httpcore',
|
||||
id = 'org.apache.httpcomponents:httpcore:4.2.4',
|
||||
bin_sha1 = '3b7f38df6de5dd8b500e602ae8c2dd5ee446f883',
|
||||
src_sha1 = 'c3ffe3a73348645042fb0b06303b6a3de194494e',
|
||||
license = 'Apache2.0',
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'httpmime',
|
||||
id = 'org.apache.httpcomponents:httpmime:4.2.5',
|
||||
bin_sha1 = '412b9914d0adec6d5716df1ada8acbc4f6f2dd37',
|
||||
src_sha1 = 'c07ce7f6b153284a9ebaf58532c2442200cf3aa2',
|
||||
license = 'Apache2.0',
|
||||
)
|
||||
|
||||
@@ -22,3 +22,10 @@ maven_jar(
|
||||
license = 'Apache2.0',
|
||||
exclude = ['META-INF/LICENSE', 'META-INF/NOTICE'],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'jcl-over-slf4j',
|
||||
id = 'org.slf4j:jcl-over-slf4j:1.6.1',
|
||||
sha1 = '99c61095a14dfc9e47a086068033c286bf236475',
|
||||
license = 'slf4j',
|
||||
)
|
||||
|
||||
49
lib/lucene/BUCK
Normal file
49
lib/lucene/BUCK
Normal file
@@ -0,0 +1,49 @@
|
||||
include_defs('//lib/maven.defs')
|
||||
|
||||
maven_jar(
|
||||
name = 'core',
|
||||
id = 'org.apache.lucene:lucene-core:4.3.0',
|
||||
bin_sha1 = 'd4e40fe5661b8de5d8c66db3d63a47b6b3ecf7f3',
|
||||
src_sha1 = '86c29288b1930e33ba7ffea1b866af9a52d3d24a',
|
||||
license = 'Apache2.0',
|
||||
exclude = [
|
||||
'META-INF/LICENSE.txt',
|
||||
'META-INF/NOTICE.txt',
|
||||
],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'analyzers-common',
|
||||
id = 'org.apache.lucene:lucene-analyzers-common:4.3.0',
|
||||
bin_sha1 = 'e7c3976156d292f696016e138b67ab5e6bfc1a56',
|
||||
src_sha1 = '3606622b3c1f09b4b7cf34070cbf60d414af9b6b',
|
||||
license = 'Apache2.0',
|
||||
exclude = [
|
||||
'META-INF/LICENSE.txt',
|
||||
'META-INF/NOTICE.txt',
|
||||
],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'highlighter',
|
||||
id = 'org.apache.lucene:lucene-highlighter:4.3.0',
|
||||
bin_sha1 = '9e6d60921e16a0d6b2e609c6a02a8b08cd7f643c',
|
||||
src_sha1 = '0ff70cae1a8fb7af29bf254d90e9885961deed5e',
|
||||
license = 'Apache2.0',
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'queries',
|
||||
id = 'org.apache.lucene:lucene-queries:4.3.0',
|
||||
bin_sha1 = '68e01022bdf4f869b95362c9af964846e5d3cf2d',
|
||||
src_sha1 = '3e3541c1b9f44c532ce88ab6a12216566c3399df',
|
||||
license = 'Apache2.0',
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'spellchecker',
|
||||
id = 'org.apache.lucene:lucene-spellchecker:3.6.2',
|
||||
bin_sha1 = '15db0c0cfee44e275f15ad046e46b9a05910ad24',
|
||||
src_sha1 = 'bbecb3fb725ae594101c165a72c102296007c203',
|
||||
license = 'Apache2.0',
|
||||
)
|
||||
@@ -6,10 +6,10 @@ maven_jar(
|
||||
sha1 = 'de4f1b33d3b0f0b2ab1d32834ec1190b39db4160',
|
||||
license = 'Apache2.0',
|
||||
deps = [
|
||||
':httpclient',
|
||||
':nekohtml',
|
||||
':xerces',
|
||||
'//lib/commons:logging',
|
||||
'//lib/commons:httpclient',
|
||||
'//lib/log:jcl-over-slf4j',
|
||||
'//lib/guice:guice',
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
@@ -33,31 +33,3 @@ maven_jar(
|
||||
attach_source = False,
|
||||
visibility = [],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'httpclient',
|
||||
id = 'org.apache.httpcomponents:httpclient:4.1',
|
||||
sha1 = '93cd011acb220de08b57d96106e5800d7097742b',
|
||||
license = 'Apache2.0',
|
||||
deps = [
|
||||
':httpcore',
|
||||
'//lib/commons:codec',
|
||||
'//lib/commons:logging',
|
||||
],
|
||||
exclude = [
|
||||
'META-INF/LICENSE.txt',
|
||||
'META-INF/NOTICE.txt',
|
||||
],
|
||||
visibility = ['//gerrit-acceptance-tests:'],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'httpcore',
|
||||
id = 'org.apache.httpcomponents:httpcore:4.1',
|
||||
sha1 = '33fc26c02f8043ab0ede19eadc8c9885386b255c',
|
||||
license = 'Apache2.0',
|
||||
exclude = [
|
||||
'META-INF/LICENSE.txt',
|
||||
'META-INF/NOTICE.txt',
|
||||
],
|
||||
)
|
||||
|
||||
33
lib/solr/BUCK
Normal file
33
lib/solr/BUCK
Normal file
@@ -0,0 +1,33 @@
|
||||
include_defs('//lib/maven.defs')
|
||||
|
||||
# Java client library to use Solr over the network.
|
||||
maven_jar(
|
||||
name = 'solrj',
|
||||
id = 'org.apache.solr:solr-solrj:4.3.1',
|
||||
sha1 = '433fe37796e67eaeb4452f69eb1fae2de27cb7a8',
|
||||
license = 'Apache2.0',
|
||||
deps = [
|
||||
':noggit',
|
||||
':zookeeper',
|
||||
'//lib/commons:httpclient',
|
||||
'//lib/commons:httpmime',
|
||||
'//lib/commons:io',
|
||||
],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'noggit',
|
||||
id = 'org.noggit:noggit:0.5',
|
||||
sha1 = '8e6e65624d2e09a30190c6434abe23b7d4e5413c',
|
||||
license = 'Apache2.0',
|
||||
visibility = [],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'zookeeper',
|
||||
id = 'org.apache.zookeeper:zookeeper:3.4.5',
|
||||
sha1 = 'c0f69fb36526552a8f0bc548a6c33c49cf08e562',
|
||||
license = 'Apache2.0',
|
||||
deps = ['//lib/log:api'],
|
||||
visibility = [],
|
||||
)
|
||||
Reference in New Issue
Block a user