2016-07-12-sql-editor-for-solr-sql.md 2.4 KB


title: SQL Editor for Solr SQL author: admin type: post date: 2016-07-12T14:29:47+00:00 url: /sql-editor-for-solr-sql/ sf_thumbnail_type:

  • none sf_thumbnail_link_type:
  • link_to_post sf_detail_type:
  • none sf_page_title:
  • 1 sf_page_title_style:
  • standard sf_no_breadcrumbs:
  • 1 sf_page_title_bg:
  • none sf_page_title_text_style:
  • light sf_background_image_size:
  • cover sf_social_sharing:
  • 1 sf_related_articles:
  • 1 sf_sidebar_config:
  • left-sidebar sf_left_sidebar:
  • Sidebar-2 sf_right_sidebar:
  • Sidebar-1 sf_caption_position:
  • caption-right sf_remove_promo_bar:
  • 1 categories: ---

Hue already integrates with Apache Solr and provide Dynamic Search Dashboards. With the new SQL Editor of Hue 3.10, Hue opens up to any database, which is great as Solr 6 now provides a SQL interface.

Here is demo where we query a Solr collection like we would query a regular Hive or Impala table.

 

{{< youtube u4ctEYl5Mlo >}}

 

In the Editor

 

In the notebook

 

 

As Solr SQL is pretty recent, there are some caveats, notably Solr lacks support of:

  • SELECT *
  • WHERE close with a LIKE
  • resultset pagination

which prevents a SQL UX experience comparable to the standard other databases (but we track it in HUE-3686).

 

But we still hope that you play around with this new promising feature. If you have any questions, feel free to comment here or on the hue-user list, Solr community or @gethue!