Demo: The New Search App in Hue 2.4

In version 2.4 of Hue, the open source Web UI that makes Apache Hadoop easier to use, a new app was added in addition to more than 150 fixes: Search!

Using this app, which is based on Apache Solr, you can now search across Hadoop data just like you would do keyword searches with Google or Yahoo! In addition, a wizard lets you tweak the result snippets and tailors the search experience to your needs.

The new Hue Search app uses the regular Solr API underneath the hood, yet adds a remarkable list of UI features that makes using search over data stored in Hadoop a breeze. It integrates with the other Hue apps like File Browser for looking at the index file in a few clicks.

Here’s a video demoing queries and results customization. The demo is based on Twitter Streaming data collected with Apache Flume and indexed in real time:

The new Hue Search app adds an impressive list of features to the already enterprise-grade, industry-standard features that Solr provides. Here are the most significant ones:

  • Based on standard Solr and Solr Cloud
  • Optimized for Cloudera Search for searching Hadoop
  • Result snippet editor with live preview
  • Field, range, and date facets
  • Sorting
  • Highlighting
  • Layout and function templates
  • Custom CSS/Javascript placeholders

Code from Snippet Editor

Here are the final templates used in the Hue Search app demo for customizing the look-and-feel of the search results. With this HTML and CSS, we inserted the index fields we wanted to display, added Twitter profile images, icons, and links and changed the font and colors of the text.

HTML from the Source tab:

 

CSS from the advanced tab:

 

More advanced features are on the way, like fine-grained security for indexes, multi-shard search, and even saving results.

We welcome any feedback on hue-user and Solr-specific requests on search-user!

Filed under:

No Responses

Leave a comment


9 + one =