Skip to main content

Steps to get the Solr date range widget working.



Enable the Facets Range Widget sub-module.

Install the jQuery-ui-Slider-Pips library, as described in the README.txt file in that sub-module's folder.  After playing with this for sometime to get it working, I found the best way to install is via composer.

composer require "bower-asset/jquery-ui-slider-pips:^1.11"

However, calling this command could produce the following error

  Could not find a matching version of package bower-asset/jquery-ui-slider-pips. Check the package spelling, your version constraint and that the package is available in a stability which   
  matches your minimum-stability (dev).

To resolve this issue, in your composer.json file add the following lines to the repositories area:

            "type": "composer",
            "url": ""

So it will now appear as

    "repositories": [
            "type": "composer",
            "url": ""
            "type": "composer",
            "url": ""

This action will install the latest version of range slider and required components.  The response to this request will be 

./composer.json has been updated
Running composer update bower-asset/jquery-ui-slider-pips
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Lock file operations: 3 installs, 0 updates, 0 removals
  - Locking bower-asset/jquery (3.6.0)
  - Locking bower-asset/jquery-ui (1.12.1)
  - Locking bower-asset/jquery-ui-slider-pips (v1.11.4)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
  - Downloading bower-asset/jquery (3.6.0)
  - Downloading bower-asset/jquery-ui (1.12.1)
  - Downloading bower-asset/jquery-ui-slider-pips (v1.11.4)
  - Installing bower-asset/jquery (3.6.0): Extracting archive
  - Installing bower-asset/jquery-ui (1.12.1): Extracting archive
  - Installing bower-asset/jquery-ui-slider-pips (v1.11.4): Extracting archive



Related articles

Andrew Fletcher06 Jan 2023
How to set Apache Solr admin password
Setting up the admin password.   Process: 1. Edit jetty.xml To begin you are going to edit the file “server/etc/jetty.xml”.  However, if you aren't sure of the location of jetty.xml, run the command find / -name jetty.xml -type f For me, the output...
Andrew Fletcher05 Sep 2022
Terminal commands - find
Find by file name To perform a find command in terminal use find / -name php.ini -type f find / -name {filename} {type parameters} Note there are many parameters in the commands, so I'll cover a couple regular expressions here.  Such as,  -name matches the...
Andrew Fletcher17 Aug 2022
How To Install Apache Solr 8.11 on Ubuntu
In this article I'll walk through the steps I went through to install Solr on Ubuntu.   Step 1: Java Check if Java is installed on your server: java -version Not there - then Java is the first step for you to set up for Solr.  JAVA SE 8 or Later is required to run...