Through the lifetime of Solr we were given the possibility to work with cores, then collections and finally aliases – the alternative names for collections. Aliases allow the user to give your collection a new, virtual name and group multiple collections under that single virtual name. This allows isolation of the real collection name from the name that the client application is using. That allows changing the collection in the background without the need of bringing down the whole cluster and make your application or product unavailable. In Solr we have the option to use two aliases groups:
Read morefield
Solr 4.1: Stored fields compression
Despite the fact that Lucene and Solr 4.0 is still very fresh we decided that its time to take a look at the changes in the approaching 4.1 version. One of those changes will be stored fields compression to decrease the size of the index size, when we use such fields. Let’s take a look and see how that works.
Solr 3.6: CurrencyField
The incoming Solr 3.6 will bring us an interesting feature in the form of currency handling. Some may ask “What for ? We can just use float and we can use it for currency handling”. So let’s take a look at solr.CurrencyField which will be presented in Solr 3.6.
Solr 4.0: new fl parameter functionalities – first look
In connection with the work of slowly upcoming release of Apache Solr version 4.0 I thought that it is time to bring some light on the functionalities that you will get into your own hands with the release of Apache Solr 4.0. The first change we will look at is a simple, but albeit useful functionality called pseudo fields, together with additional features related to the fl parameter.
Quick look – FieldCollapsing
FieldCollapsing, or in other words grouping of search results has just been commited to the svn repository. I decided to take a look at this functionality and see how it works.
What is schema.xml?
One of the configuration files that describe each implementation Solr is schema.xml file. It describes one of the most important things of the implementation – the structure of the data index. The information contained in this file allow you to control how Solr behaves when indexing the data, or when making queries. Schema.xml is not only the very structure of the index, is also detailed information about data types that have a large influence on the behavior Solr, and usually are treated with neglect. This entry will try to bring some insight about schema.xml.