I hereby claim:
- I am jorgelbg on github.
- I am jorgelbg (https://keybase.io/jorgelbg) on keybase.
- I have a public key whose fingerprint is AD39 A8A4 9ABF C3BF C75B 4549 4823 FD05 E8C3 8E51
To claim this, I am signing this object:
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>search as you type</title> | |
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> | |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> | |
<style> |
package cu.uci.solr; | |
import org.apache.solr.common.SolrException; | |
import org.apache.solr.common.params.SolrParams; | |
import org.apache.solr.core.SolrCore; | |
import org.apache.solr.handler.component.ResponseBuilder; | |
import org.apache.solr.handler.component.SearchComponent; | |
import org.apache.solr.util.plugin.SolrCoreAware; | |
import org.apache.solr.common.util.NamedList; |
Iterator<Inlink> iterator = inlinks.iterator(); | |
while (iterator.hasNext()) { | |
String linkUrl = iterator.next().getFromUrl(); | |
doc.add("inlinks", linkUrl); | |
} |
Outlink[] outlinks = parse.getData().getOutlinks(); | |
if (outlinks != null) { | |
for (Outlink outlink : outlinks) { | |
doc.add("outlinks", outlink.getToUrl()); | |
} | |
} |
for (int i = 0; i < this.indexingFilters.length; i++) { | |
doc = this.indexingFilters[i].filter(doc, parse, url, datum, inlinks); | |
// break the loop if an indexing filter discards the doc | |
if (doc == null) return null; | |
} |
contentType = parse.getData().getMeta(Response.CONTENT_TYPE); |
String contentType = wContentType = datum.getMetaData().get( | |
new Text(Response.CONTENT_TYPE)).toString(); |
mimeType = MIME.getMimeType(url.toString()).toString(); |
mimeType = MIME.forName(MimeUtil.cleanMimeType(contentType)).toString(); |
I hereby claim:
To claim this, I am signing this object: