Using Solrj – A short guide to getting started with Solrj

As Solrj – The Java Interface for Solr – is slated for being released together with Solr 1.3, it’s time to take a closer look! Solrj is the preferred, easiest way of talking to a Solr server from Java (unless you’re using Embedded Solr). This way you get everything in a neat little package, and … Continue reading Using Solrj – A short guide to getting started with Solrj

Solrj and JSTL EL: java.lang.NumberFormatException

While working with a view of a collection of documents returned from Solr using Solrj earlier today, I was attempting to write out the number of documents found in the search. In pure Java code you’d just request this by just calling .getNumFound() on the SolrDocumentList containing your documents, which whould also mean that they … Continue reading Solrj and JSTL EL: java.lang.NumberFormatException

2009 In Retrospect

As we’re now getting a bit more touchy and feely about 2010, I’ll give a short update on the blog itself like I did at the last day of 2008 (and even the title has been recycled! again! The big trend of 2009!). Key statistics (last year’s number in paranthesis) (2008 was the first year … Continue reading 2009 In Retrospect

Solr: Using the dismax Query Handler and Still Limit a Specific Field

While working with the facets for our search result earlier today, I came across the need to limit the search against solr on one specific field in addition to our regular search string (which we run against several fields with different weights). The situation was something like this: Lastname AggregateSearchField AggregatePhoneticSearchField We do the searches … Continue reading Solr: Using the dismax Query Handler and Still Limit a Specific Field