shopping24 tech blog

s is for shopping

November 07, 2014 / by Torsten Bøgh Köster / CTO / @tboeghk

More open source Solr components ftw!

During the past weeks we evolved some nifty features for our product search engine. We’d like to share some of these features with the Solr community as there are a new boosting query parser and a response writer that handles Thymeleaf templates.

All projects are released under Apache License 2.0 ‚and are available on Github and Maven Central.

Boosting dismax query parser (bmax)

This query parser is a extended version of the well known dismax parser. It utilizes field type analyzers for query processing and synonym / boost term lookup. Hence it is highly configurable. Head over to Github or Maven Central to add it to your Solr setup.

Thymeleaf response writer

Templating in Apache Solr is limited to the Velocity template engine. A rising star in Java templating is Thymeleaf, which enables you to write template entirely in HTML/XHTML compliant markup. Add the solr-thymeleaf response writer to your Solr setup to get going. See the README on Github and fetch it there or from Maven Central.

Solr Client

We were not satisfied with the abilities to configure the LBHttpSolrServer in terms of timeout, session stickyness and failover strategy. We wrote a new, configruable approach to ditributing Solr requests. See the Readme on Github how to add it to your Solr client app setup.

Solr JDBC synonym filter

I recently wrote an article about out Solr JDBC synonym and stopword filter. It is available on Github and Maven Central as well.

Contributing

Send us your use cases, user stories, file bugs, Github pull requests or join our engineering team to build leading e-commerce search applications and appliances.