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
0
votes
1 answer

adjust ruby view code logic front ui item not displaying correctly

Hi I am new to ruby and I have a front ui that I am working on which have an issue displaying certain types of items I am specifying from solr index to display in an mvc ruby blacklight ui, see the snippet below:
Calvin
  • 407
  • 1
  • 5
  • 21
0
votes
1 answer
0
votes
1 answer

Rails Blacklight SOLR Highlighting

Anyone able to get the highlighting feature to work on the actual documents views? Anytime I add highlight: true like the code below then the field is removed from the show page?? config.add_show_field 'description', label: 'Description',…
tsc1217
  • 3
  • 2
0
votes
1 answer

Display multiple fields of the same solr tag in Blacklight

I have a solr index with nested fields in the form of { record: [ { tag1: foo, tag2: bar } ] } The solr configuration cannot be changed, unfortunately. In Blacklight, I want to display foo and bar separately under different fields, like…
ckoma
  • 31
  • 3
0
votes
1 answer

"Advanced search" not functioning with solr facet queries

I just installed latest advanced search plug-in. When I click the search button in my "advanced search" page nothing happens. I figured out the reason being facet queries that I have in my advanced search webpage. Below is my facet query that is…
Pal
  • 173
  • 2
  • 16
0
votes
2 answers

Render more-like-this view from button

I want to create a button from the search result from Solr (7.5.0) in Blacklight (7.0.1) which on click should render a more-like-this view. I have tried to include the button in the catalog_controller and calling the more-like-this view through a…
0
votes
2 answers

configuring routes for collections in rails

I have a rails application that needs to search two different collections independently, but both are indexed in a single solr instance. However, when i try to search in one collection, when i get to the item i want displayed, it reroutes to the…
0
votes
1 answer

select multiple facets with blacklight

I am trying to implement a selection of multiple facets of the same category, so when the user selects option A1 and option A2 of category A and option B1 of category B - the results he should get are for (A1 OR A2) AND (B1). I am working with solr…
0
votes
1 answer

Overriding Modules in Blacklight

I would like to override some of the methods defined in the file document_presenter.rb. How can I do this? This module is defined inside the Blacklight gem's "lib" directory. Is there an easy way to do this? I'm fairly new to Ruby and Rails (coming…
El Guapo
  • 5,581
  • 7
  • 54
  • 82
0
votes
1 answer

Adding Bootstrap to Blacklight

I am creating a Rails application that will have the Blacklight gem installed. I need to customize the Blacklight interface by incorporating some Bootstrap stuff into it. However, it looks like Blacklight may have already incorporated a subset of…
El Guapo
  • 5,581
  • 7
  • 54
  • 82
0
votes
1 answer

Blacklight solr relevancy : How to boost a field?

I have a little project that combines black light and Solr and need a) to boost a field b) to boost a document depending on a field value. I m reading SolrRelevancyFAQ and extendedDisMaxbut unable to apply them on the rails project because I m new…
George Papatheodorou
  • 1,539
  • 19
  • 23
0
votes
1 answer

blacklight solr config facet fields

We have a website that we are building running ruby 2.0, rails 4.0.1, blacklight 5.1.0, Apache solr 4.2 with sunspot solr gem for ruby. We currently have the full solr index with products. If we search * we are able to see all the products. If we…
0
votes
1 answer

Can't bind to IsExpanded on Expander

Blacklight is an older set of WPF controls and styles. The code can be found here. It contains a control called AnimatedExpander which isn't really an expander, rather it just implements HeaderedContentControl and adds an IsExpandedProperty…
JoeB
  • 2,743
  • 6
  • 38
  • 51
-1
votes
1 answer

I am getting this error while installing blacklight project in ruby on rails for the bundle install in ubuntu 16.04

Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /tmp/bundler20170529-7305-1ybn2iijson-1.8.6/gems/json-1.8.6/ext/json/ext/generator /usr/bin/ruby2.3 -r ./siteconf20170529-7305-1qu2mp6.rb extconf.rb mkmf.rb can't…
-1
votes
2 answers

Rails newbie: What does "<<" mean?

I am trying to add advanced search facilities to a Blacklight installation, but I know slim to nil about rails. I am stuck in a (so far great) tutorial that states: Turn this feature on by adding to your CatalogController…
hasse
  • 883
  • 2
  • 10
  • 24
1
2