Supermind Search Consulting
Posted by Kelvin on 03 Feb 2014 | Tagged as: PHP
Posted by Kelvin on 12 Nov 2013 | Tagged as: Ubuntu
Posted by Kelvin on 07 Nov 2013 | Tagged as: Ubuntu
Posted by Kelvin on 08 Oct 2013 | Tagged as: programming
If after following all the instructions in the Tomcat docs for enabling UTF-8 support (http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q8) and you still run into UTF-8 issues, and your webapp involves reading and displaying the contents of files, give this a whirl.
In catalina.sh, either ...
Posted by Kelvin on 16 Sep 2013 | Tagged as: Lucene / Solr / Elastic Search / Nutch
Solr has a number of Autocomplete implementations which are great for most purposes. However, a client of mine recently had some fairly specific requirements for autocomplete:
1. phrase-based substring matching
Posted by Kelvin on 13 Sep 2013 | Tagged as: programming
Just discovered Guava's Table data structure. Whoa..!
Table<Vertex, Vertex, Double> weightedGraph = HashBasedTable.create();
weightedGraph.put(v1, v2, 4);
weightedGraph.put(v1, v3, 20);
weightedGraph.put(v2, v3, 5);
Posted by Kelvin on 09 Sep 2013 | Tagged as: Lucene / Solr / Elastic Search / Nutch
12/20/2014 | Kelvin Tan