Permalink
Browse files

hook in LW indexing, get files right

  • Loading branch information...
1 parent f4e6794 commit 4eaf9ea6ce3d9f1bc2c59ce4d93af0882221a69a @gsingers committed Feb 28, 2012
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -7,6 +7,12 @@
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>lib</directory>
+ <includes><include>*.jar</include></includes>
+ </fileSet>
+ </fileSets>
<dependencySets>
<dependencySet>
<unpack>false</unpack>
@@ -51,7 +51,9 @@ public LucidWorksWriter(Progressable progress) {
public void open(JobConf job, String name) throws IOException {
String zkHost = job.get("solr.zkhost");
if (zkHost != null && zkHost.equals("") == false) {
+ String collection = job.get("solr.zk.collection", "collection1");
solr = new CloudSolrServer(zkHost);
+ ((CloudSolrServer)solr).setDefaultCollection(collection);
} else {
String solrURL = job.get("solr.server.url");
int queueSize = job.getInt("solr.client.queue.size", 100);

0 comments on commit 4eaf9ea

Please sign in to comment.