A few months ago (here) we looked at filterCache. I’ve decided to update the optimization topic and take a look at the documentCache.
solr
Deep paging problem
Imagine the following problem – we have an application that expects Solr to return the results sorted on the basis of some field. Those results will be than paged in the GUI. However, if the person using the GUI application immediately selects the tenth, twentieth, or fiftieth page of search results there is a problem – the wait time. Is there anything we can do about this? Yes, we can help Solr a bit.
Lucene and Solr 3.3
Only a few weeks passed since the release of 3.2 version Lucene and Solr (change list) and today we have another release numbered 3.3. In the newest version there are a few functionalities worth looking at, especially when we talk about Solr.
When to commit?
The question I asked myself recently what seems to be one of those for which the response should be quick and painless. So, when to send the commit command to Solr (or Lucene)? Despite the simplicity of the questions, the answer is not clear, at least in my opinion.
Lucene and Solr 3.2
On 03 June 2011 Lucene and Solr commiters published a new, stable version of Lucene library and Solr search engine – both numbered 3.2. You should not expect revolution in terms of new functionalities, but there are few changes worth the look.
Quick look: frange
In Solr 1.4 there were a new type of queries presented the frange queries. This new type of queries let you search for a range of values. According to the Solr developers this queries should be much faster from normal range queries. I thought that I should make a simple test to see how much faster, the new range queries can be expected to be.
Solr filters: PatternReplaceCharFilter
Continuing the overview of the filters included in Solr today we look at the PatternReplaceCharFilter.
As you might guess the task of the filter is to change the matching input stream parts that match the given regular expression.
Solr filters: KeepWordFilter
This time I decided to look at one of the unusual filters available in the standard distribution of Solr. The first one in my hands is a filter called KeepWordFilter.
Solr 3.1 Cookbook
Solr 3.1: JSON Update Handler
After the release of Solr 3.1 I decided to look into the extended list of formats through which we can update the indexes. Until now we had a choice of three kinds of formats with which we were able to provide data – XML, CSV, and so. called JavaBin. The release of Solr 3.1 introduces the fourth format – JSON.
