Erick Erickson

Erick Erickson

blog_photo_End-to-end-Payload

End-to-end Payload Example in Solr

Payloads are neat, but where’s a complete example for Solr? I’ve been a bit frustrated whenever I discuss payloads in Solr by the lack of an example I could find…
Continue Reading

UpdateRequestProcessors, Transforming Data Entering Solr

Update processors have been around for a long time, but they don’t seem to have garnered much attention. This post is intended to give them a little more visibility and…
Continue Reading

Understanding Transaction Logs, Soft Commit and Commit in SolrCloud

Hard commits, soft commits and transaction logsAs of Solr 4.0, there is a new “soft commit” capability, and a new parameter for hard commits – openSearcher. Currently, there’s quite a…
Continue Reading

Solr and Joins

Experimenting with join performance We recently had a client who wanted some up-front sense of how Solr joins performed. Naturally, the client wanted to use joins in the most painful…
Continue Reading

Memory comparisons between Solr 3x and trunk

Or, “Trunk can use about 1/3 of the memory required by 3.x” Please note that these tests were created with an eye toward emphasizing the differences. For instance, I chose…
Continue Reading

Dates, date boosting, and NOW

More NOW evil Prompted by a subtle issue a client raised, I was thinking about date boosting. According to the Wiki, a good way to bost by date is by…
Continue Reading

Date Math, NOW and filter queries

Or “How to never re-use cached filter query results even though you meant to”: Filter queries (“fq” clauses) are a means to restrict the number of documents that are considered…
Continue Reading

What's with lowercasing wildcard (multiterm) queries in Solr?

Wildcard query terms aren’t analyzed, why is that? Prior to the current 3x branch (which will be released as 3.6) and the trunk (4.0) Solr code, users have frequently been…
Continue Reading

Stop being so agreeable!

I confess, this is heavily influenced by the eXtreme Programming folks, but I see it recur again and again: we tech folks have historically been far too quick to say…
Continue Reading