Most of the time in Solr's Dismax query parser we use parameters like qf, pf or mm forgetting about a very useful parameter which allows us to control how the lower scoring fields are treated – the tie parameter. In this article you'll learn how this parameter can be put to good use.
Let’s face it, there are two kinds of developers: those that favor Spring autowiring because it alleviates them from writing XML (even though you can do autowiring with XML) and those that see autowiring as something risky.
I’m a big fan of unit tests (Surprise). When ever possible I practice TDD. I like how that approach coerces me into making smaller classes, less dependencies, cleaner abstractions. And of course I love it when my unit tests catch a regression before I even start the application.
In this second article on implementing Spring MVC in Java EE 6 we’ll take the metadata we extracted in part one and use it to invoke request mapped controller methods in response to web requests and then direct the user to a web page based on the result of the method.
An informative, in-depth post about the Java implementation of the Ruby interpreter. Pat Shaughnessy includes some background on both Java and Ruby, as well as other sections about byte code and assembly language. Best of all are the old-timey pics (and the plentiful code).
Martin Fowler and Pramod Sadalage have s recently released a slick infodeck tracing a simple history of databases, as well as a prophecy of the future. They suggests that we've been charged with a decision to either reduce development drag or embrace large scale, which eventually leads to "a world of polyglot persistence."
Prefix encoding, sometimes called front encoding, is yet another algorithm that tries to remove duplicated data in order to reduce its size. Its principles are simple, however this algorithm tends to be difficult to implement. The good thing is that this algorithm can be used in many cases once we know the data format in advance. So here are three examples where this algorithm can be very handy.
Search is more than just findability. So why the fixation with findability? Out of 104 enterprise search scenarios, less than 2% were categorised as findability tasks. In this post you will learn about the broader, overall information goals for most search efforts.
In my previous life as a consultant, one of our clients hired us to "increase the code coverage" of their code base. We would not develop any new features or make any changes. They just wanted us to write tests. Basically they wanted us to bring the coverage up to 70%. Why 70% you may ask. Probably because someone pulled a finger out of his or her back orifice, sniffed it and thought: Hmm.. this definitely smells like 70%.