• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / allsearch_api / a8d8fc0f-d218-4ff0-8a65-91e6d0e0bf83

02 Dec 2025 04:00PM UTC coverage: 99.903%. Remained the same
a8d8fc0f-d218-4ff0-8a65-91e6d0e0bf83

push

circleci

web-flow
Merge pull request #414 from pulibrary/query-in-rom

Re-implement library database full text search in ROM-rb

29 of 29 new or added lines in 3 files covered. (100.0%)

68 existing lines in 12 files now uncovered.

1035 of 1036 relevant lines covered (99.9%)

105.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/app/models/pulmap.rb
1
# frozen_string_literal: true
2

3
# This class is responsible for querying maps.princeton.edu (aka Pulmap)
4
class Pulmap
3✔
5
  include ActiveModel::API
3✔
6
  include Parsed
3✔
7
  include Solr
3✔
8

9
  attr_reader :query_terms, :service, :service_response
3✔
10

11
  def initialize(query_terms:)
3✔
UNCOV
12
    @query_terms = query_terms
17✔
UNCOV
13
    @service = 'pulmap'
17✔
UNCOV
14
    @service_response = solr_service_response
17✔
15
  end
16

17
  def solr_fields
3✔
UNCOV
18
    %w[layer_slug_s dc_title_s dc_creator_sm dc_publisher_s dc_format_s dc_description_s dc_rights_s layer_geom_type_s]
17✔
19
  end
20

21
  def solr_sort
3✔
UNCOV
22
    'score desc'
17✔
23
  end
24
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc