Apache Lucene open-source search software
SOLR-3439: Make SolrCell easier to use out of the box
Jan Høydahl37153b5c34e7
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 10187dda41a..b262fbb0c11 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -204,7 +204,7 @@ Other Changes* SOLR-3215: Clone SolrInputDocument when distrib indexing so that update processors afterthe distrib update process do not process the document twice. (Mark Miller)-+* SOLR-3683: Improved error handling if an <analyzer> contains both anexplicit class attribute, as well as nested factories. (hossman)@@ -217,6 +217,10 @@ Other Changesusing a file (this previously worked in debug mode only). When configuration errors areencountered, the error message is returned in XML format. (James Dyer)+* SOLR-3439: Make SolrCell easier to use out of the box. Also improves "/browse" to display+ rich-text documents correctly, along with facets for author and content_type.+ With the new "content" field, highlighting of body is supported. See also SOLR-3672 for+ easier posting of a whole directory structure. (Jack Krupansky, janhoy)================== 4.0.0-ALPHA ==================More information about this release, including any errata related to thediff --git a/solr/contrib/velocity/src/java/org/apache/solr/response/VelocityResponseWriter.java b/solr/contrib/velocity/src/java/org/apache/solr/response/VelocityResponseWriter.javaindex 91f8fb8ef71..9d4e827b291 100644--- a/solr/contrib/velocity/src/java/org/apache/solr/response/VelocityResponseWriter.java+++ b/solr/contrib/velocity/src/java/org/apache/solr/response/VelocityResponseWriter.java@@ -30,6 +30,8 @@ import org.apache.velocity.runtime.RuntimeConstants;import org.apache.velocity.tools.generic.*;import java.io.*;+import java.util.HashMap;+import java.util.Map;import java.util.Properties;public class VelocityResponseWriter implements QueryResponseWriter {@@ -81,6 +83,64 @@ public class VelocityResponseWriter implements QueryResponseWriter {context.put("engine", engine); // for $engine.resourceExists(...)+ // Mimetype to extension map for detecting file type and show icon+ // List of types match the icons in /solr/img/filetypes+ Map<String, String> mimeToExt = new HashMap<String, String>() {{+ put("application/x-7z-compressed", "7z");+ put("application/postscript", "ai");+ put("application/pgp-signature", "asc");+ put("application/octet-stream", "bin");+ put("application/x-bzip2", "bz2");+ put("text/x-c", "c");+ put("application/vnd.ms-htmlhelp", "chm");+ put("application/java-vm", "class");+ put("text/css", "css");+ put("text/csv", "csv");+ put("application/x-debian-package", "deb");+ put("application/msword", "doc");+ put("message/rfc822", "eml");+ put("image/gif", "gif");+ put("application/winhlp", "hlp");+ put("text/html", "html");+ put("application/java-archive", "jar");+ put("text/x-java-source", "java");+ put("image/jpeg", "jpeg");+ put("application/javascript", "js");+ put("application/vnd.oasis.opendocument.chart", "odc");+ put("application/vnd.oasis.opendocument.formula", "odf");+ put("application/vnd.oasis.opendocument.graphics", "odg");+ put("application/vnd.oasis.opendocument.image", "odi");+ put("application/vnd.oasis.opendocument.presentation", "odp");+ put("application/vnd.oasis.opendocument.spreadsheet", "ods");+ put("application/vnd.oasis.opendocument.text", "odt");+ put("application/pdf", "pdf");+ put("application/pgp-encrypted", "pgp");+ put("image/png", "png");+ put("application/vnd.ms-powerpoint", "ppt");+ put("audio/x-pn-realaudio", "ram");+ put("application/x-rar-compressed", "rar");+ put("application/vnd.rn-realmedia", "rm");+ put("application/rtf", "rtf");+ put("application/x-shockwave-flash", "swf");+ put("application/vnd.sun.xml.calc", "sxc");+ put("application/vnd.sun.xml.draw", "sxd");+ put("application/vnd.sun.xml.impress", "sxi");+ put("application/vnd.sun.xml.writer", "sxw");+ put("application/x-tar", "tar");+ put("application/x-tex", "tex");+ put("text/plain", "txt");+ put("text/x-vcard", "vcf");+ put("application/vnd.visio", "vsd");+ put("audio/x-wav", "wav");+ put("audio/x-ms-wma", "wma");+ put("video/x-ms-wmv", "wmv");+ put("application/vnd.ms-excel", "xls");+ put("application/xml", "xml");+ put("application/x-xpinstall", "xpi");+ put("application/zip", "zip");+ }};+ context.put("mimeToExt", mimeToExt);+String layout_template = request.getParams().get("v.layout");String json_wrapper = request.getParams().get("v.json");boolean wrap_response = (layout_template != null) || (json_wrapper != null);diff --git a/solr/example/solr/collection1/conf/schema.xml b/solr/example/solr/collection1/conf/schema.xmlindex f6504e41912..af2006a0778 100755--- a/solr/example/solr/collection1/conf/schema.xml+++ b/solr/example/solr/collection1/conf/schema.xml@@ -109,7 +109,10 @@<!-- Common metadata fields, named specifically to match up withSolrCell metadata when parsing rich documents such as Word, PDF.Some fields are multiValued only because Tika currently may return- multiple values for them.+ multiple values for them. Some metadata is parsed from the documents,+ but there are some which come from the client context:+ "content_type": From the HTTP headers of incoming stream+ "resourcename": From SolrCell request param resource.name--><field name="title" type="text_general" indexed="true" stored="true" multiValued="true"/><field name="subject" type="text_general" indexed="true" stored="true"/>@@ -118,10 +121,18 @@<field name="author" type="text_general" indexed="true" stored="true"/><field name="keywords" type="text_general" indexed="true" stored="true"/><field name="category" type="text_general" indexed="true" stored="true"/>+ <field name="resourcename" type="text_general" indexed="true" stored="true"/>+ <field name="url" type="text_general" indexed="true" stored="true"/><field name="content_type" type="string" indexed="true" stored="true" multiValued="true"/><field name="last_modified" type="date" indexed="true" stored="true"/><field name="links" type="string" indexed="true" stored="true" multiValued="true"/>+ <!-- Main body of document extracted by SolrCell.+ NOTE: This field is not indexed by default, since it is also copied to "text"+ using copyField below. This is to save space. Use this field for returning and+ highlighting document content. Use the "text" field to search the content. -->+ <field name="content" type="text_general" indexed="false" stored="true" multiValued="true"/>+<!-- catchall field, containing all other searchable text fields (implementedvia copyField further on in this schema -->@@ -232,6 +243,19 @@<!-- Copy the price into a currency enabled field (default USD) --><copyField source="price" dest="price_c"/>++ <!-- Text fields from SolrCell to search by default in our catch-all field -->+ <copyField source="title" dest="text"/>+ <copyField source="author" dest="text"/>+ <copyField source="description" dest="text"/>+ <copyField source="keywords" dest="text"/>+ <copyField source="content" dest="text"/>+ <copyField source="content_type" dest="text"/>+ <copyField source="resourcename" dest="text"/>+ <copyField source="url" dest="text"/>++ <!-- Create a string version of author for faceting -->+ <copyField source="author" dest="author_s"/><!-- Above, multiple source fields are copied to the [text] field.Another way to map multiple source fields to the samediff --git a/solr/example/solr/collection1/conf/solrconfig.xml b/solr/example/solr/collection1/conf/solrconfig.xmlindex b8013d52fde..a2cc8ea097e 100755--- a/solr/example/solr/collection1/conf/solrconfig.xml+++ b/solr/example/solr/collection1/conf/solrconfig.xml@@ -850,6 +850,7 @@<str name="defType">edismax</str><str name="qf">text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4+ title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0</str><str name="df">text</str><str name="mm">100%</str>@@ -859,14 +860,17 @@<str name="mlt.qf">text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4+ title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0</str>- <str name="mlt.fl">text,features,name,sku,id,manu,cat</str>+ <str name="mlt.fl">text,features,name,sku,id,manu,cat,title,description,keywords,author,resourcename</str><int name="mlt.count">3</int><!-- Faceting defaults --><str name="facet">on</str><str name="facet.field">cat</str><str name="facet.field">manu_exact</str>+ <str name="facet.field">content_type</str>+ <str name="facet.field">author_s</str><str name="facet.query">ipod</str><str name="facet.query">GB</str><str name="facet.mincount">1</str>@@ -889,9 +893,18 @@<!-- Highlighting defaults --><str name="hl">on</str>- <str name="hl.fl">text features name</str>+ <str name="hl.fl">content features title name</str>+ <str name="hl.encoder">html</str>+ <str name="hl.simple.pre"><b></str>+ <str name="hl.simple.post"></b></str>+ <str name="f.title.hl.fragsize">0</str>+ <str name="f.title.hl.alternateField">title</str><str name="f.name.hl.fragsize">0</str><str name="f.name.hl.alternateField">name</str>+ <str name="f.content.hl.snippets">3</str>+ <str name="f.content.hl.fragsize">200</str>+ <str name="f.content.hl.alternateField">content</str>+ <str name="f.content.hl.maxAlternateFieldLength">750</str><!-- Spell checking defaults --><str name="spellcheck">on</str>@@ -952,9 +965,6 @@startup="lazy"class="solr.extraction.ExtractingRequestHandler" ><lst name="defaults">- <!-- All the main content goes into "text"... if you need to return- the extracted text or do highlighting, use a stored field. -->- <str name="fmap.content">text</str><str name="lowernames">true</str><str name="uprefix">ignored_</str>diff --git a/solr/example/solr/collection1/conf/velocity/VM_global_library.vm b/solr/example/solr/collection1/conf/velocity/VM_global_library.vmindex 4f4d0a5a1fe..b501545674f 100644--- a/solr/example/solr/collection1/conf/velocity/VM_global_library.vm+++ b/solr/example/solr/collection1/conf/velocity/VM_global_library.vm@@ -133,10 +133,14 @@#macro(field $f)#if($response.response.highlighting.get($docId).get($f).get(0))- $!response.response.highlighting.get($docId).get($f).get(0)+ #set($pad = "")+ #foreach($v in $response.response.highlighting.get($docId).get($f))+$pad$v##+ #set($pad = " ... ")+ #end#else#foreach($v in $doc.getFieldValues($f))- $v+$v###end#end#enddiff --git a/solr/example/solr/collection1/conf/velocity/debug.vm b/solr/example/solr/collection1/conf/velocity/debug.vmnew file mode 100644index 00000000000..0b360ce5c40--- /dev/null+++ b/solr/example/solr/collection1/conf/velocity/debug.vm@@ -0,0 +1,17 @@+#if($params.getBool("debugQuery",false))+ <a href="#" onclick='jQuery(this).siblings("pre").toggle(); return false;'>toggle explain</a>+ <pre style="display:none">$response.getExplainMap().get($doc.getFirstValue('id'))</pre>+ <a href="#" onclick='jQuery(this).siblings("pre2").toggle(); return false;'>toggle all fields</a>+ <pre2 style="display:none">+ #foreach($fieldname in $doc.fieldNames)+ <br>+ <span class="field-name">$fieldname :</span>+ <span>+ #foreach($value in $doc.getFieldValues($fieldname))+ $esc.html($value)+ #end+ </span>+ #end+ </br>+ </pre2>+#end\ No newline at end of filediff --git a/solr/example/solr/collection1/conf/velocity/facet_fields.vm b/solr/example/solr/collection1/conf/velocity/facet_fields.vmindex 91c50be16be..cd3bd379e0a 100644--- a/solr/example/solr/collection1/conf/velocity/facet_fields.vm+++ b/solr/example/solr/collection1/conf/velocity/facet_fields.vm@@ -1,6 +1,8 @@#if($response.facetFields)<h2 #annTitle("Facets generated by adding &facet.field= to the request")>Field Facets</h2>#foreach($field in $response.facetFields)+ ## Hide facets without value+ #if($field.values.size() > 0)<span class="facet-field">$field.name</span><ul>@@ -8,5 +10,6 @@<li><a href="#url_for_facet_filter($field.name, $facet.name)">$facet.name</a> ($facet.count)</li>#end</ul>+ #end#end#end\ No newline at end of filediff --git a/solr/example/solr/collection1/conf/velocity/facet_ranges.vm b/solr/example/solr/collection1/conf/velocity/facet_ranges.vmindex 0118fe0bf71..662aaccc05c 100644--- a/solr/example/solr/collection1/conf/velocity/facet_ranges.vm+++ b/solr/example/solr/collection1/conf/velocity/facet_ranges.vm@@ -1,5 +1,7 @@<h2 #annTitle("Facets generated by adding &facet.range= to the request")>Range Facets</h2>#foreach ($field in $response.response.facet_counts.facet_ranges)+ ## Hide facets without value+ #if($field.value.counts.size() > 0)#set($name = $field.key)#set($display = $name)#set($f = $field.value.counts)@@ -9,4 +11,5 @@#set($before = $field.value.before)#set($after = $field.value.after)#display_facet_range($f, $display, $name, $start, $end, $gap, $before, $after)+ #end#end\ No newline at end of filediff --git a/solr/example/solr/collection1/conf/velocity/hit.vm b/solr/example/solr/collection1/conf/velocity/hit.vmindex 5cd4fe8d887..54298bec2a5 100644--- a/solr/example/solr/collection1/conf/velocity/hit.vm+++ b/solr/example/solr/collection1/conf/velocity/hit.vm@@ -1,5 +1,11 @@#set($docId = $doc.getFieldValue('id'))<div class="result-document">- #parse("doc.vm")+#if($doc.getFieldValue('name'))+ #parse("product-doc.vm")+#elseif($doc.getFieldValue('compName_s'))+ #parse("join-doc.vm")+#else+ #parse("richtext-doc.vm")+#end</div>diff --git a/solr/example/solr/collection1/conf/velocity/join-doc.vm b/solr/example/solr/collection1/conf/velocity/join-doc.vmnew file mode 100644index 00000000000..f7970e4803e--- /dev/null+++ b/solr/example/solr/collection1/conf/velocity/join-doc.vm@@ -0,0 +1,4 @@+<div class="result-title"><b>#field('compName_s')</b></div>+<div>Id: #field('id') (company-details document for <a href="http://wiki.apache.org/solr/Join" target="_new">join</a>)</div>+<div>Address: #field('address_s')</div>+#parse('debug.vm')\ No newline at end of filediff --git a/solr/example/solr/collection1/conf/velocity/main.css b/solr/example/solr/collection1/conf/velocity/main.cssindex c5acbb13048..efc56808fb8 100644--- a/solr/example/solr/collection1/conf/velocity/main.css+++ b/solr/example/solr/collection1/conf/velocity/main.css@@ -167,6 +167,10 @@ a {width:60%;}+.result-body{+ background: #ddd;+}+.mlt{}diff --git a/solr/example/solr/collection1/conf/velocity/doc.vm b/solr/example/solr/collection1/conf/velocity/product-doc.vmsimilarity index 64%rename from solr/example/solr/collection1/conf/velocity/doc.vmrename to solr/example/solr/collection1/conf/velocity/product-doc.vmindex 7da97cb2cec..4dbdcfebc42 100644--- a/solr/example/solr/collection1/conf/velocity/doc.vm+++ b/solr/example/solr/collection1/conf/velocity/product-doc.vm@@ -1,7 +1,8 @@-<div class="result-title"><b>#field('name')</b><span class="mlt">#if($params.getBool('mlt', false) == false)<a href="#lensNoQ&q=id:$docId&mlt=true">More Like This</a>#end</span></div>+<div class="result-title"><b>#field('name')</b><span class="mlt"> #if($params.getBool('mlt', false) == false)<a href="#lensNoQ&q=id:$docId&mlt=true">More Like This</a>#end</span></div>##do we have a physical store for this product#set($store = $doc.getFieldValue('store'))#if($store)<div class="map"><img src="http://maps.google.com/maps/api/staticmap?&zoom=12&size=150x80&maptype=roadmap&markers=$doc.getFieldValue('store')&sensor=false" /><div><small><a target="_map" href="http://maps.google.com/?q=$store&source=embed">Larger Map</a></small></div></div>#end+<div>Id: #field('id')</div><div>Price: #field('price_c')</div><div>Features: #field('features')</div><div>In Stock: #field('inStock')</div>@@ -23,20 +24,4 @@<div>No Similar Items Found</div>#end</div>-#if($params.getBool("debugQuery",false))- <a href="#" onclick='jQuery(this).siblings("pre").toggle(); return false;'>toggle explain</a>- <pre style="display:none">$response.getExplainMap().get($doc.getFirstValue('id'))</pre>- <a href="#" onclick='jQuery(this).siblings("pre2").toggle(); return false;'>toggle all fields</a>- <pre2 style="display:none">- #foreach($fieldname in $doc.fieldNames)- <br>- <span class="field-name">$fieldname :</span>- <span>- #foreach($value in $doc.getFieldValues($fieldname))- $value- #end- </span>- #end- </br>- </pre2>-#end\ No newline at end of file+#parse('debug.vm')\ No newline at end of filediff --git a/solr/example/solr/collection1/conf/velocity/richtext-doc.vm b/solr/example/solr/collection1/conf/velocity/richtext-doc.vmnew file mode 100644index 00000000000..0336818f4a6--- /dev/null+++ b/solr/example/solr/collection1/conf/velocity/richtext-doc.vm@@ -0,0 +1,52 @@+#if($doc.getFieldValue('title'))+ #set($title = $esc.html($doc.getFirstValue('title')))+#else+ #set($title = "["+$doc.getFieldValue('id')+"]")+#end+#if($doc.getFieldValue('url'))+ #set($url = $doc.getFieldValue('url'))+#elseif($doc.getFieldValue('resourcename'))+ #set($url = "file:///$doc.getFieldValue('resourcename')")+#else+ #set($url = "$doc.getFieldValue('id')")+#end+#set($supportedtypes = "7z;ai;aiff;asc;audio;bin;bz2;c;cfc;cfm;chm;class;conf;cpp;cs;css;csv;deb;divx;doc;dot;eml;enc;file;gif;gz;hlp;htm;html;image;iso;jar;java;jpeg;jpg;js;lua;m;mm;mov;mp3;mpg;odc;odf;odg;odi;odp;ods;odt;ogg;pdf;pgp;php;pl;png;ppt;ps;py;ram;rar;rb;rm;rpm;rtf;sig;sql;swf;sxc;sxd;sxi;sxw;tar;tex;tgz;txt;vcf;video;vsd;wav;wma;wmv;xls;xml;xpi;xvid;zip")+#set($ct = $list.get($doc.getFirstValue('content_type').split(";"),0))+#set($filename = $doc.getFieldValue('resourcename'))+#set($filetype = $mimeToExt.get($ct))+#if(!$filetype)#set($filetype = $filename.substring($filename.lastIndexOf(".")).substring(1))#end+#if(!$filetype)#set($filetype = "file")#end+#if(!$supportedtypes.contains($filetype))#set($filetype = "file")#end+<div class="result-title">+## Small file type icons from http://www.splitbrain.org/projects/file_icons (public domain)+<img src="#{url_root}/img/filetypes/${filetype}.png" align="center">+<a href="${url}" target="_blank"><b>$title</b></a><span class="mlt"> #if($params.getBool('mlt', false) == false)<a href="#lensNoQ&q=id:%22$docId%22&mlt=true">More Like This</a>#end</span></div>+<div>Id: #field('id')</div>+<div>+#if($doc.getFieldValue('resourcename'))Resource name: $filename+#elseif($url)URL: $url+#end+#if($ct) ($ct)#end+</div>+#if($doc.getFieldValue('author'))<div>Author: #field('author')</div>#end+#if($doc.getFieldValue('last_modified'))<div>Last-modified: #field('last_modified')</div>#end+<div class="result-body">#field('content')</div>+<div class="mlt">+ #set($mlt = $mltResults.get($docId))+ #set($mltOn = $params.getBool('mlt'))+ #if($mltOn == true)<div class="field-name">Similar Items</div>#end+ #if ($mltOn && $mlt && $mlt.size() > 0)+ <ul>+ #foreach($mltHit in $mlt)+ #set($mltId = $mltHit.getFieldValue('id'))+ <li><div><a href="#url_for_home?q=id:$mltId">$mltId</a></div><div><span class="field-name">Title:</span> $mltHit.getFieldValue('title')</div>+ <div><span class="field-name">Author:</span> $mltHit.getFieldValue('author') <span class="field-name">Description:</span> $mltHit.getFieldValue('description')</div>++ </li>+ #end+ </ul>+ #elseif($mltOn && $mlt.size() == 0)+ <div>No Similar Items Found</div>+ #end+</div>+#parse('debug.vm')\ No newline at end of filediff --git a/solr/webapp/web/img/filetypes/7z.png b/solr/webapp/web/img/filetypes/7z.pngnew file mode 100644index 00000000000..52f7d5d7208Binary files /dev/null and b/solr/webapp/web/img/filetypes/7z.png differdiff --git a/solr/webapp/web/img/filetypes/README b/solr/webapp/web/img/filetypes/READMEnew file mode 100644index 00000000000..f7a8560715c--- /dev/null+++ b/solr/webapp/web/img/filetypes/README@@ -0,0 +1,27 @@+http://www.splitbrain.org/projects/file_icons++Released to the Public Domain+Free to use. Provided as is. No warranties.++Note: The big majority of icons where created by the creators listed+ below. Only a few ones where found on the net. They were too+ widespread to determine the original author and thus were+ considered public domain.+ If you are the author of one of those icons just send a short+ mail to either be included in the list below or have the icon+ removed from the package.++Creators:++ Andreas Gohr <[email protected]>+ Michael Klier <[email protected]>+ Andreas Barton <[email protected]>+ Hubert Chathi <[email protected]>+ Johan Koehne <[email protected]>+ Rudi von Staden <[email protected]>+ Daniel Darvish <[email protected]>+ Andy Pascall <[email protected]>+ Seth <[email protected]>+ David Carella <[email protected]>+ Tom N. Harris <[email protected]>+ Brandon Carmon Colvin <[email protected]>diff --git a/solr/webapp/web/img/filetypes/ai.png b/solr/webapp/web/img/filetypes/ai.pngnew file mode 100644index 00000000000..a999762c89fBinary files /dev/null and b/solr/webapp/web/img/filetypes/ai.png differdiff --git a/solr/webapp/web/img/filetypes/aiff.png b/solr/webapp/web/img/filetypes/aiff.pngnew file mode 100644index 00000000000..82d523fdb1fBinary files /dev/null and b/solr/webapp/web/img/filetypes/aiff.png differdiff --git a/solr/webapp/web/img/filetypes/asc.png b/solr/webapp/web/img/filetypes/asc.pngnew file mode 100644index 00000000000..d9fa4a8aaebBinary files /dev/null and b/solr/webapp/web/img/filetypes/asc.png differdiff --git a/solr/webapp/web/img/filetypes/audio.png b/solr/webapp/web/img/filetypes/audio.pngnew file mode 100644index 00000000000..98883256d6cBinary files /dev/null and b/solr/webapp/web/img/filetypes/audio.png differdiff --git a/solr/webapp/web/img/filetypes/bin.png b/solr/webapp/web/img/filetypes/bin.pngnew file mode 100644index 00000000000..fbd174e2d51Binary files /dev/null and b/solr/webapp/web/img/filetypes/bin.png differdiff --git a/solr/webapp/web/img/filetypes/bz2.png b/solr/webapp/web/img/filetypes/bz2.pngnew file mode 100644index 00000000000..d48cae03841Binary files /dev/null and b/solr/webapp/web/img/filetypes/bz2.png differdiff --git a/solr/webapp/web/img/filetypes/c.png b/solr/webapp/web/img/filetypes/c.pngnew file mode 100644index 00000000000..efe18f4392dBinary files /dev/null and b/solr/webapp/web/img/filetypes/c.png differdiff --git a/solr/webapp/web/img/filetypes/cfc.png b/solr/webapp/web/img/filetypes/cfc.pngnew file mode 100644index 00000000000..09c149d6426Binary files /dev/null and b/solr/webapp/web/img/filetypes/cfc.png differdiff --git a/solr/webapp/web/img/filetypes/cfm.png b/solr/webapp/web/img/filetypes/cfm.pngnew file mode 100644index 00000000000..d755f286f1aBinary files /dev/null and b/solr/webapp/web/img/filetypes/cfm.png differdiff --git a/solr/webapp/web/img/filetypes/chm.png b/solr/webapp/web/img/filetypes/chm.pngnew file mode 100644index 00000000000..53d48f3b517Binary files /dev/null and b/solr/webapp/web/img/filetypes/chm.png differdiff --git a/solr/webapp/web/img/filetypes/class.png b/solr/webapp/web/img/filetypes/class.pngnew file mode 100644index 00000000000..a39f70c161eBinary files /dev/null and b/solr/webapp/web/img/filetypes/class.png differdiff --git a/solr/webapp/web/img/filetypes/conf.png b/solr/webapp/web/img/filetypes/conf.pngnew file mode 100644index 00000000000..ddffe6fd1aaBinary files /dev/null and b/solr/webapp/web/img/filetypes/conf.png differdiff --git a/solr/webapp/web/img/filetypes/cpp.png b/solr/webapp/web/img/filetypes/cpp.pngnew file mode 100644index 00000000000..79464401bdbBinary files /dev/null and b/solr/webapp/web/img/filetypes/cpp.png differdiff --git a/solr/webapp/web/img/filetypes/cs.png b/solr/webapp/web/img/filetypes/cs.pngnew file mode 100644index 00000000000..d5db29ba5dbBinary files /dev/null and b/solr/webapp/web/img/filetypes/cs.png differdiff --git a/solr/webapp/web/img/filetypes/css.png b/solr/webapp/web/img/filetypes/css.pngnew file mode 100644index 00000000000..04012041c1fBinary files /dev/null and b/solr/webapp/web/img/filetypes/css.png differdiff --git a/solr/webapp/web/img/filetypes/csv.png b/solr/webapp/web/img/filetypes/csv.pngnew file mode 100644index 00000000000..3a8835360e2Binary files /dev/null and b/solr/webapp/web/img/filetypes/csv.png differdiff --git a/solr/webapp/web/img/filetypes/deb.png b/solr/webapp/web/img/filetypes/deb.pngnew file mode 100644index 00000000000..9229d878382Binary files /dev/null and b/solr/webapp/web/img/filetypes/deb.png differdiff --git a/solr/webapp/web/img/filetypes/divx.png b/solr/webapp/web/img/filetypes/divx.pngnew file mode 100644index 00000000000..98dab8f808aBinary files /dev/null and b/solr/webapp/web/img/filetypes/divx.png differdiff --git a/solr/webapp/web/img/filetypes/doc.png b/solr/webapp/web/img/filetypes/doc.pngnew file mode 100644index 00000000000..932567f8a93Binary files /dev/null and b/solr/webapp/web/img/filetypes/doc.png differdiff --git a/solr/webapp/web/img/filetypes/dot.png b/solr/webapp/web/img/filetypes/dot.pngnew file mode 100644index 00000000000..9f2da1add11Binary files /dev/null and b/solr/webapp/web/img/filetypes/dot.png differdiff --git a/solr/webapp/web/img/filetypes/eml.png b/solr/webapp/web/img/filetypes/eml.pngnew file mode 100644index 00000000000..02828e17387Binary files /dev/null and b/solr/webapp/web/img/filetypes/eml.png differdiff --git a/solr/webapp/web/img/filetypes/enc.png b/solr/webapp/web/img/filetypes/enc.pngnew file mode 100644index 00000000000..cb2d7d47ebfBinary files /dev/null and b/solr/webapp/web/img/filetypes/enc.png differdiff --git a/solr/webapp/web/img/filetypes/file.png b/solr/webapp/web/img/filetypes/file.pngnew file mode 100644index 00000000000..24d5f328cc8Binary files /dev/null and b/solr/webapp/web/img/filetypes/file.png differdiff --git a/solr/webapp/web/img/filetypes/gif.png b/solr/webapp/web/img/filetypes/gif.pngnew file mode 100644index 00000000000..b4c07a9120aBinary files /dev/null and b/solr/webapp/web/img/filetypes/gif.png differdiff --git a/solr/webapp/web/img/filetypes/gz.png b/solr/webapp/web/img/filetypes/gz.pngnew file mode 100644index 00000000000..2426bd169c0Binary files /dev/null and b/solr/webapp/web/img/filetypes/gz.png differdiff --git a/solr/webapp/web/img/filetypes/hlp.png b/solr/webapp/web/img/filetypes/hlp.pngnew file mode 100644index 00000000000..4417d8e2cb7Binary files /dev/null and b/solr/webapp/web/img/filetypes/hlp.png differdiff --git a/solr/webapp/web/img/filetypes/htm.png b/solr/webapp/web/img/filetypes/htm.pngnew file mode 100644index 00000000000..1a6812185b9Binary files /dev/null and b/solr/webapp/web/img/filetypes/htm.png differdiff --git a/solr/webapp/web/img/filetypes/html.png b/solr/webapp/web/img/filetypes/html.pngnew file mode 100644index 00000000000..672cbce420eBinary files /dev/null and b/solr/webapp/web/img/filetypes/html.png differdiff --git a/solr/webapp/web/img/filetypes/image.png b/solr/webapp/web/img/filetypes/image.pngnew file mode 100644index 00000000000..f83e2898d52Binary files /dev/null and b/solr/webapp/web/img/filetypes/image.png differdiff --git a/solr/webapp/web/img/filetypes/iso.png b/solr/webapp/web/img/filetypes/iso.pngnew file mode 100644index 00000000000..1b2ff19ca74Binary files /dev/null and b/solr/webapp/web/img/filetypes/iso.png differdiff --git a/solr/webapp/web/img/filetypes/jar.png b/solr/webapp/web/img/filetypes/jar.pngnew file mode 100644index 00000000000..4db70a2c722Binary files /dev/null and b/solr/webapp/web/img/filetypes/jar.png differdiff --git a/solr/webapp/web/img/filetypes/java.png b/solr/webapp/web/img/filetypes/java.pngnew file mode 100644index 00000000000..7489b972134Binary files /dev/null and b/solr/webapp/web/img/filetypes/java.png differdiff --git a/solr/webapp/web/img/filetypes/jpeg.png b/solr/webapp/web/img/filetypes/jpeg.pngnew file mode 100644index 00000000000..aa4cc23a5b0Binary files /dev/null and b/solr/webapp/web/img/filetypes/jpeg.png differdiff --git a/solr/webapp/web/img/filetypes/jpg.png b/solr/webapp/web/img/filetypes/jpg.pngnew file mode 100644index 00000000000..1fb6cc1fbfcBinary files /dev/null and b/solr/webapp/web/img/filetypes/jpg.png differdiff --git a/solr/webapp/web/img/filetypes/js.png b/solr/webapp/web/img/filetypes/js.pngnew file mode 100644index 00000000000..7db4de7e981Binary files /dev/null and b/solr/webapp/web/img/filetypes/js.png differdiff --git a/solr/webapp/web/img/filetypes/lua.png b/solr/webapp/web/img/filetypes/lua.pngnew file mode 100644index 00000000000..7c07d023f91Binary files /dev/null and b/solr/webapp/web/img/filetypes/lua.png differdiff --git a/solr/webapp/web/img/filetypes/m.png b/solr/webapp/web/img/filetypes/m.pngnew file mode 100644index 00000000000..aa0cbae8b13Binary files /dev/null and b/solr/webapp/web/img/filetypes/m.png differdiff --git a/solr/webapp/web/img/filetypes/mm.png b/solr/webapp/web/img/filetypes/mm.pngnew file mode 100644index 00000000000..b737571c5e7Binary files /dev/null and b/solr/webapp/web/img/filetypes/mm.png differdiff --git a/solr/webapp/web/img/filetypes/mov.png b/solr/webapp/web/img/filetypes/mov.pngnew file mode 100644index 00000000000..7e7aa368f7eBinary files /dev/null and b/solr/webapp/web/img/filetypes/mov.png differdiff --git a/solr/webapp/web/img/filetypes/mp3.png b/solr/webapp/web/img/filetypes/mp3.pngnew file mode 100644index 00000000000..928705d7a54Binary files /dev/null and b/solr/webapp/web/img/filetypes/mp3.png differdiff --git a/solr/webapp/web/img/filetypes/mpg.png b/solr/webapp/web/img/filetypes/mpg.pngnew file mode 100644index 00000000000..9a3f8ea51eeBinary files /dev/null and b/solr/webapp/web/img/filetypes/mpg.png differdiff --git a/solr/webapp/web/img/filetypes/odc.png b/solr/webapp/web/img/filetypes/odc.pngnew file mode 100644index 00000000000..47f65c84d34Binary files /dev/null and b/solr/webapp/web/img/filetypes/odc.png differdiff --git a/solr/webapp/web/img/filetypes/odf.png b/solr/webapp/web/img/filetypes/odf.pngnew file mode 100644index 00000000000..a2fbc5195a2Binary files /dev/null and b/solr/webapp/web/img/filetypes/odf.png differdiff --git a/solr/webapp/web/img/filetypes/odg.png b/solr/webapp/web/img/filetypes/odg.pngnew file mode 100644index 00000000000..434f18262f8Binary files /dev/null and b/solr/webapp/web/img/filetypes/odg.png differdiff --git a/solr/webapp/web/img/filetypes/odi.png b/solr/webapp/web/img/filetypes/odi.pngnew file mode 100644index 00000000000..74f6303d3dcBinary files /dev/null and b/solr/webapp/web/img/filetypes/odi.png differdiff --git a/solr/webapp/web/img/filetypes/odp.png b/solr/webapp/web/img/filetypes/odp.pngnew file mode 100644index 00000000000..a5c77f845f9Binary files /dev/null and b/solr/webapp/web/img/filetypes/odp.png differdiff --git a/solr/webapp/web/img/filetypes/ods.png b/solr/webapp/web/img/filetypes/ods.pngnew file mode 100644index 00000000000..2ab1273f0d2Binary files /dev/null and b/solr/webapp/web/img/filetypes/ods.png differdiff --git a/solr/webapp/web/img/filetypes/odt.png b/solr/webapp/web/img/filetypes/odt.pngnew file mode 100644index 00000000000..b0c21fc1fd1Binary files /dev/null and b/solr/webapp/web/img/filetypes/odt.png differdiff --git a/solr/webapp/web/img/filetypes/ogg.png b/solr/webapp/web/img/filetypes/ogg.pngnew file mode 100644index 00000000000..62cea6aaa4bBinary files /dev/null and b/solr/webapp/web/img/filetypes/ogg.png differdiff --git a/solr/webapp/web/img/filetypes/pdf.png b/solr/webapp/web/img/filetypes/pdf.pngnew file mode 100644index 00000000000..638066dea60Binary files /dev/null and b/solr/webapp/web/img/filetypes/pdf.png differdiff --git a/solr/webapp/web/img/filetypes/pgp.png b/solr/webapp/web/img/filetypes/pgp.pngnew file mode 100644index 00000000000..e6b35f36ed6Binary files /dev/null and b/solr/webapp/web/img/filetypes/pgp.png differdiff --git a/solr/webapp/web/img/filetypes/php.png b/solr/webapp/web/img/filetypes/php.pngnew file mode 100644index 00000000000..44c0fe0a08cBinary files /dev/null and b/solr/webapp/web/img/filetypes/php.png differdiff --git a/solr/webapp/web/img/filetypes/pl.png b/solr/webapp/web/img/filetypes/pl.pngnew file mode 100644index 00000000000..ad2324e3595Binary files /dev/null and b/solr/webapp/web/img/filetypes/pl.png differdiff --git a/solr/webapp/web/img/filetypes/png.png b/solr/webapp/web/img/filetypes/png.pngnew file mode 100644index 00000000000..f0b5b00eeedBinary files /dev/null and b/solr/webapp/web/img/filetypes/png.png differdiff --git a/solr/webapp/web/img/filetypes/ppt.png b/solr/webapp/web/img/filetypes/ppt.pngnew file mode 100644index 00000000000..adaefc6025aBinary files /dev/null and b/solr/webapp/web/img/filetypes/ppt.png differdiff --git a/solr/webapp/web/img/filetypes/ps.png b/solr/webapp/web/img/filetypes/ps.pngnew file mode 100644index 00000000000..487c3cb7c24Binary files /dev/null and b/solr/webapp/web/img/filetypes/ps.png differdiff --git a/solr/webapp/web/img/filetypes/py.png b/solr/webapp/web/img/filetypes/py.pngnew file mode 100644index 00000000000..9e31edb5539Binary files /dev/null and b/solr/webapp/web/img/filetypes/py.png differdiff --git a/solr/webapp/web/img/filetypes/ram.png b/solr/webapp/web/img/filetypes/ram.pngnew file mode 100644index 00000000000..1a54d765437Binary files /dev/null and b/solr/webapp/web/img/filetypes/ram.png differdiff --git a/solr/webapp/web/img/filetypes/rar.png b/solr/webapp/web/img/filetypes/rar.pngnew file mode 100644index 00000000000..a6af4d1cac1Binary files /dev/null and b/solr/webapp/web/img/filetypes/rar.png differdiff --git a/solr/webapp/web/img/filetypes/rb.png b/solr/webapp/web/img/filetypes/rb.pngnew file mode 100644index 00000000000..30670165f9eBinary files /dev/null and b/solr/webapp/web/img/filetypes/rb.png differdiff --git a/solr/webapp/web/img/filetypes/rm.png b/solr/webapp/web/img/filetypes/rm.pngnew file mode 100644index 00000000000..a2db68e32ddBinary files /dev/null and b/solr/webapp/web/img/filetypes/rm.png differdiff --git a/solr/webapp/web/img/filetypes/rpm.png b/solr/webapp/web/img/filetypes/rpm.pngnew file mode 100644index 00000000000..22212eafaccBinary files /dev/null and b/solr/webapp/web/img/filetypes/rpm.png differdiff --git a/solr/webapp/web/img/filetypes/rtf.png b/solr/webapp/web/img/filetypes/rtf.pngnew file mode 100644index 00000000000..d8bada5fe14Binary files /dev/null and b/solr/webapp/web/img/filetypes/rtf.png differdiff --git a/solr/webapp/web/img/filetypes/sig.png b/solr/webapp/web/img/filetypes/sig.pngnew file mode 100644index 00000000000..3d8b19d2b39Binary files /dev/null and b/solr/webapp/web/img/filetypes/sig.png differdiff --git a/solr/webapp/web/img/filetypes/sql.png b/solr/webapp/web/img/filetypes/sql.pngnew file mode 100644index 00000000000..f60054a3af7Binary files /dev/null and b/solr/webapp/web/img/filetypes/sql.png differdiff --git a/solr/webapp/web/img/filetypes/swf.png b/solr/webapp/web/img/filetypes/swf.pngnew file mode 100644index 00000000000..0729ed0203eBinary files /dev/null and b/solr/webapp/web/img/filetypes/swf.png differdiff --git a/solr/webapp/web/img/filetypes/sxc.png b/solr/webapp/web/img/filetypes/sxc.pngnew file mode 100644index 00000000000..419c183c1f0Binary files /dev/null and b/solr/webapp/web/img/filetypes/sxc.png differdiff --git a/solr/webapp/web/img/filetypes/sxd.png b/solr/webapp/web/img/filetypes/sxd.pngnew file mode 100644index 00000000000..5801bb23a69Binary files /dev/null and b/solr/webapp/web/img/filetypes/sxd.png differdiff --git a/solr/webapp/web/img/filetypes/sxi.png b/solr/webapp/web/img/filetypes/sxi.pngnew file mode 100644index 00000000000..2a94290d708Binary files /dev/null and b/solr/webapp/web/img/filetypes/sxi.png differdiff --git a/solr/webapp/web/img/filetypes/sxw.png b/solr/webapp/web/img/filetypes/sxw.pngnew file mode 100644index 00000000000..6da97beb35dBinary files /dev/null and b/solr/webapp/web/img/filetypes/sxw.png differdiff --git a/solr/webapp/web/img/filetypes/tar.png b/solr/webapp/web/img/filetypes/tar.pngnew file mode 100644index 00000000000..5a2f717fc54Binary files /dev/null and b/solr/webapp/web/img/filetypes/tar.png differdiff --git a/solr/webapp/web/img/filetypes/tex.png b/solr/webapp/web/img/filetypes/tex.pngnew file mode 100644index 00000000000..e46a5166f97Binary files /dev/null and b/solr/webapp/web/img/filetypes/tex.png differdiff --git a/solr/webapp/web/img/filetypes/tgz.png b/solr/webapp/web/img/filetypes/tgz.pngnew file mode 100644index 00000000000..141acf56471Binary files /dev/null and b/solr/webapp/web/img/filetypes/tgz.png differdiff --git a/solr/webapp/web/img/filetypes/txt.png b/solr/webapp/web/img/filetypes/txt.pngnew file mode 100644index 00000000000..da20009c6ebBinary files /dev/null and b/solr/webapp/web/img/filetypes/txt.png differdiff --git a/solr/webapp/web/img/filetypes/vcf.png b/solr/webapp/web/img/filetypes/vcf.pngnew file mode 100644index 00000000000..195ab38bc73Binary files /dev/null and b/solr/webapp/web/img/filetypes/vcf.png differdiff --git a/solr/webapp/web/img/filetypes/video.png b/solr/webapp/web/img/filetypes/video.pngnew file mode 100644index 00000000000..b89fc52995fBinary files /dev/null and b/solr/webapp/web/img/filetypes/video.png differdiff --git a/solr/webapp/web/img/filetypes/vsd.png b/solr/webapp/web/img/filetypes/vsd.pngnew file mode 100644index 00000000000..d14b81d9895Binary files /dev/null and b/solr/webapp/web/img/filetypes/vsd.png differdiff --git a/solr/webapp/web/img/filetypes/wav.png b/solr/webapp/web/img/filetypes/wav.pngnew file mode 100644index 00000000000..79e80760e2cBinary files /dev/null and b/solr/webapp/web/img/filetypes/wav.png differdiff --git a/solr/webapp/web/img/filetypes/wma.png b/solr/webapp/web/img/filetypes/wma.pngnew file mode 100644index 00000000000..6854de77222Binary files /dev/null and b/solr/webapp/web/img/filetypes/wma.png differdiff --git a/solr/webapp/web/img/filetypes/wmv.png b/solr/webapp/web/img/filetypes/wmv.pngnew file mode 100644index 00000000000..b26f45d5f36Binary files /dev/null and b/solr/webapp/web/img/filetypes/wmv.png differdiff --git a/solr/webapp/web/img/filetypes/xls.png b/solr/webapp/web/img/filetypes/xls.pngnew file mode 100644index 00000000000..e8cd58dc0f1Binary files /dev/null and b/solr/webapp/web/img/filetypes/xls.png differdiff --git a/solr/webapp/web/img/filetypes/xml.png b/solr/webapp/web/img/filetypes/xml.pngnew file mode 100644index 00000000000..eb46323979cBinary files /dev/null and b/solr/webapp/web/img/filetypes/xml.png differdiff --git a/solr/webapp/web/img/filetypes/xpi.png b/solr/webapp/web/img/filetypes/xpi.pngnew file mode 100644index 00000000000..5e537e23757Binary files /dev/null and b/solr/webapp/web/img/filetypes/xpi.png differdiff --git a/solr/webapp/web/img/filetypes/xvid.png b/solr/webapp/web/img/filetypes/xvid.pngnew file mode 100644index 00000000000..d8429dc1aecBinary files /dev/null and b/solr/webapp/web/img/filetypes/xvid.png differdiff --git a/solr/webapp/web/img/filetypes/zip.png b/solr/webapp/web/img/filetypes/zip.pngnew file mode 100644index 00000000000..999ffbe8070Binary files /dev/null and b/solr/webapp/web/img/filetypes/zip.png differ