Category Archives: Solr

Fuzzy What Search?

Fuzzy search is important. Not all your visitors are perfect spellers but they still want the results they were looking for.  Take for example the word Brazil. It can be spelled with a ‘z’ (Brazil) and with an ‘s’ (Brasil). How is Solr going to pick up Brasil with an ‘s’ if our content authors have spelled it with a ‘z’?  This is where fuzzy search comes in and saves the day. Continue reading

Boost your search results with document level boosting

Document level boosting is just as important as field level boosting, and they have their own purposes.  Field level allows you to boost directly on a field value, targeting the content field or a title field.  Document level boosting adds “weight” to a document as whole, giving it more relevance than other documents. Continue reading

Solr Sitecore Config – What does this all mean?

By the time you finish reading this blog post you should have a good understanding of the key points in the Solr configuration file.  I always look at things like a big puzzle, and when you have put more pieces together, the more you understand what it is you are working with and everything around you.  Hopefully this blog post will add a couple pieces to your puzzle… Continue reading

Learn how to use the Solr Web Admin

Solr provides you with a really slick web interface you can use to look at the raw data living in your indexes. It gives you access to current memory levels, index sizes (both file size and how many documents are contained in the index), as well the ability to query the data. This is a tool I use nearly every day and this blog post will take you through how to use it. Continue reading

Spatial Search

Did they spell special wrong, what is spatial?

A spatial query is unique because it utilizes points, lines, and polygons to make a relationship between geometries. There are many queries that can be applied to these data types but for this blog post we are going to focus on distance. Our goal in implementing a spatial query was to input coordinates (latitude/longitude) and a desired distance (10 miles for example) and get a set of results back that were within the desired distance.  How did we do this, keep reading 🙂 Continue reading


You cannot underestimate the importance of boosting your relevancy searches. As you can see below in the code snippet, applying a boost to your query is relatively easy. The boost method itself takes a double, which indicates how much boost you wish to apply to that condition. This ultimately affects the the sort order when the query is returned from the search provider layer. One thing to keep in mind when doing a relevancy search is that you do not want to apply sorting to the search query. Continue reading