“Car sale application” users started to use wildard queries more and more often. This fact forced us to think about wildcard queries optimization. solr.ReversedWildcardFilter comes to rescue us.
Solr
Lucene and Solr 3.4
Today, we can enjoy another version of Lucene and Solr – release numbered 3.4. In the newest version there are a few functionalities worth looking at.
Optimization – document cache
“Car sale application”– Result Grouping, two additional parameters description (part 7)
In the last “car sale application” related post we have described the result grouping functionality. Today I would like to show you how easily we can determine the groups amount and how to sort documents within every group.
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.
“Car sale application”– Result Grouping, let’s group some search results (part 6)
In today’s post we will try to add to our car sale application the new functionality, which allows us to group some search results. Let’s imagine a user who would like to search for “audi a4” advertisements and as a result get the results grouped by car’s year of production, with 2-3 results in every group. And how about some range grouping, for example mileage ranges? Today we will accept the challenge.
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.
Solr 3.1: FastVectorHighlighting
One of the many new features that Lucene and Solr 3.1 brings is FastVectorHighlighting – as the change notes say nothing less than the improved functionality of highlighting. Currently the highlighting mechanism is not too fast, sometimes it could kill your Solr instance when dealing with a large amount of data, or very long text fields. I thought that it is worthwhile to test the performance of the new functionality.
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.