Questions tagged [blacklight]

Blacklight is an open source Ruby on Rails gem that provides a discovery interface for any Solr index. Blacklight provides a default user interface which is customizable via the standard Rails (templating) mechanisms. Blacklight accommodates heterogeneous data, allowing different information displays for different types of objects.

What is Blacklight?

Blacklight is an open source Ruby on Rails gem that provides a discovery interface for any Solr index. Blacklight provides a default user interface which is customizable via the standard Rails (templating) mechanisms. Blacklight accommodates heterogeneous data, allowing different information displays for different types of objects.

What are some of the features?

Blacklight uses Apache Solr, an enterprise-scale index for its search engine. Blacklight features faceted browsing, relevance based searching (with the ability to locally control the relevancy algorithms), bookmarkable items, permanent URLs for every item, user tagging of items.

30 questions
9
votes
1 answer

Page needs to be refreshed after switching locale for Blacklight label to translate

I am trying to create an Arabic version of a Rails app which is based on Blacklight. Here's the problem I am facing: When I switch the language, everything translates perfectly EXCEPT the Blacklight labels. It's only when I refresh the page that the…
humairatasnim
  • 218
  • 1
  • 4
  • 10
6
votes
1 answer

`link_to` with parameters for an Engine route

(While this discusses Blacklight engine, I believe the question is actually purely about Rails.) Continuing my quest from scope around mount ineffective? (tl;dr: make the engine routes obey the same :locale scope as application routes), after…
Amadan
  • 191,408
  • 23
  • 240
  • 301
3
votes
1 answer

Error after upgrading Tomcat6 to Tomcat8: Could not load config for solrconfig.xml

I was running a Solr on Ubuntu 12.04 Tomcat6; we upgraded to 16.04 and Tomcat8, and the Solr stopped reading some indices. I believe the only indices that were affected are ones where the configuration directory is softlinked. Some Googling later, I…
Amadan
  • 191,408
  • 23
  • 240
  • 301
3
votes
2 answers

Using the Extended DisMax query parser in Blacklight

When running Solr queries from Blacklight the query parser being used is the DisMax query parser. However, the query parser configured in my solrconfig.xml file is the EDisMax parser. For some reason, Blacklight sends deftype=dismax in the request…
snakile
  • 52,936
  • 62
  • 169
  • 241
2
votes
2 answers

MSCharts on WPF

I tried integrating MSCharts in a WPF application which uses Blacklight as the UI library (For the most part). Performance is much slower and incompatibility is apparent. You guys know any better way? MSCharts capabilities in WPF!
picmate 涅
  • 3,951
  • 5
  • 43
  • 52
2
votes
1 answer

`scope` around `mount` ineffective?

(While this discusses Blacklight engine, I believe the question is actually purely about Rails.) I am trying to add internationalisation to my Blacklight app. To that end, I wrapped everything in config/routes.rb into scope "(:locale)", locale:…
Amadan
  • 191,408
  • 23
  • 240
  • 301
2
votes
1 answer

How to correctly implement I18n in Blacklight for field labels?

The docs are sketchy on how to do it properly. I tried this: class ApplicationController < ActionController::Base # ... before_action :set_locale def set_locale session[:locale] = I18n.locale = params.delete(:locale) || session[:locale] ||…
Amadan
  • 191,408
  • 23
  • 240
  • 301
2
votes
0 answers

Change arrow icon direction on blacklight facets with bootstrap 3 css

I'm trying to add arrow icons that change direction as the blacklight search facet collapses and reopens like here: http://www.bootply.com/88286 The icon appears but does not change when collapsed. Below is the partial for each facet group or…
2
votes
2 answers

JQuery Drag Dock Panel like the silverlight blacklight control tool kit drag dock panel

I'm trying to find some examples of how to create drag dock panels like the silverlight blacklight contorls in JQuery. Any links or examples would be very welcome.
NAze
  • 31
  • 2
1
vote
1 answer

How can I add custom logic for the title of a document in Blacklight?

Instead of defining a single title_field I would like to display a custom title depending on the contents of a document. According to the Blacklight Wiki this can be accomplished by setting config.index.document_presenter_class to a custom…
vstollen
  • 151
  • 1
  • 11
1
vote
2 answers

Can you use a Rails Engine with a JS Framework like Vue

I want to do a project with https://github.com/projectblacklight/blacklight Can I use it as a Rails API with a Vue frontend? It is a Rails Engine that returns JSON but it is traditionally used in a Rails app as a Plugin / Gem (really it's an engine…
jendiamond
  • 69
  • 7
1
vote
1 answer

Creating demo UI ontop of Solr

I'm looking into some example UI on top of Solr that show of the functionality available in a demo, like e.g. drill down faceted search. I found Blacklight, which looks intensively interesting. Is there any other software that is worth researching…
grm
  • 5,197
  • 5
  • 29
  • 35
1
vote
0 answers

Blacklight Expander problem while expanding programmatically

I am doing a silverlight project in Silverlight 4 and I included the BlackLight project in my project so that I could use their new controls, especialy the dockpanel and the autoexpander, which is causing me at the moment some little problems. What…
David Brunelle
  • 6,528
  • 11
  • 64
  • 104
1
vote
4 answers

Interface for Elasticsearch facet

I am using elasticsearch in a Ruby on Rails project. I am in search of user interface for elasticsearch index. Like Blacklight is for solr, is there any alternative of blacklight for elasticsearch ?? Thanks in advance.
Arif
  • 1,369
  • 14
  • 39
1
vote
1 answer

Handle Solr error messages from Blacklight

Whenever Solr fails executing a query for some reason it returns an error message and an error code. I would like to handle such errors in Blacklight. Right now, when receiving an error from Solr, the user gets a 500 internal error. As a developer I…
crazybob
  • 2,307
  • 1
  • 21
  • 26
1
2