A few days ago I got a question regarding the automatic identifiers of documents in Solr 4.0, because the method from Solr 3 was deprecated. Because of that we decided to write a quick post about how to use Solr to generate documents unique identifier in Solr 4.x.
Apache Lucene and Solr 4.3.1
Today Apache Lucene and Solr PMC announced another version of Apache Lucene library and Apache Solr search server numbred 4.3.1. This is a minor bugfix release.
Switch Query Parser – quick look
The number of different query parsers in Solr was always an amusement for me. Can someone here say how many of them are currently available and say what are those? Anyway, in this entry we won’t be talking about all the query parsers available in Solr, but we will take a quick look at one of them – the SwitchQueryParser introduced in Solr 4.2.
Solr 4.2: Index structure reading API
With the release of Solr 4.2 we’ve got the possibility to use the HTTP protocol to get information about Solr index structure. Of course, if one wanted to do that prior to Solr 4.2 it could be achieved by fetching the schema.xml file, parsing it and then getting the needed information. However when Solr 4.2 was released we’ve got a dedicated API which can return the information we need without the need of parsing the whole schema.xml file.
Apache Lucene and Solr 4.3
Today Apache Lucene and Solr PMC announced another version of Apache Lucene library and Apache Solr search server numbred 4.3. This is a next release continuing the 4th version of both Apache Lucene and Apache Solr.
Solr 4.3: shard splitting quick look
With the release of Solr 4.3 we’ve got a long awaited feature – we can now split shards of collections that were already created and have data (in SolrCloud type deployment). In this entry we would like to try that feature and see how it works. So let’s do it.
Apache Lucene and Solr 4.2.1
Today Apache Lucene and Solr PMC announced another version of Apache Lucene library and Apache Solr search server numbred 4.2.1. This is a minor bugfix release.
Random documents from result set (Giveaway results !)
And now two birds with a single stone – a new article and the Apache Solr 4 Cookbook giveaway results. In this article we would like to show you how to implement random ordering of documents in the resulting using Apache Solr. Our example is real case scenario – we’ve used this to draw two giveaway participants. Those two comment authors that will be of top of the results set will receive the ebook.
Autocomplete on multivalued fields using faceting
In the previous blog post about auto complete on multi-valued field we discussed how highlighting can help us get the information we are interested in. We also promised that we will get back to the topic and we will show how to achieve a similar functionality with the use of Solr faceting capabilities. So, let’s do it.
Win Free Copies of Packt’s new book on Apache Solr (updated)
Readers would be pleased to know that we have teamed up with Packt Publishing to organize a Giveaway of the Apache Solr 4 Cookbook. Two lucky winners will win a copy of the book (in eBook format). Keep reading to find out how you can be one of the Lucky Winners.