Blacklight and docValues for Facet and Sort Fields


This week I ran a test of implementing docValues for facet and sort fields in Solr. docValues are a third way of storing data in Solr and are meant to be a solution for poor facet performance on large sets of results. docValues are "column-oriented", which means that they use documents as keys rather than terms and they are built at index time rather than traditional facet creation and counting which is term-oriented and done at query. You can read the documentation at (link above) for a better explanation of the mechanics than I could provide.

In short, docValues appears to be a performance gain while using less system resources, so a bit of a win-win I think. There are still some bottlenecks left to solve in our query performance, and there is a solid chance that the test I setup had some serious flaws, so please let me know if you have any feedback.

Report (Word doc)


Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.