Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

From here, most of the configuration and setup for your view is exactly the same as for any other view, with a few significant differences. Islandora Solr Views adds Solr indices to the FIELDS, FILTER CRITERIA and SORT CRITERIA sections.

Tutorial: Creating a block that contains the latest objects in a collection

Note

This tutorial assumes a fresh installation of Islandora with the default Solr and Gsearch setups, and that the Basic Image Solution Pack has been installed and contains images.

...

  1. Create a new

...

  1. View

    • Click to "Structure" then "Views".

    • In the "Show" box, select "Islandora Solr".

    • When creating a new view, the option to

...

    • "Create a

...

    • Page" will be checked, and the option to

...

    • "Create a Block" will be unchecked.

...

    •   Uncheck "Create a Page".  Check the box to "Create a Block".

    • Click "Continue and Edit"
    • By default, a block will be created that contains no more than five items in an unformatted list. For this tutorial, these settings will be fine. Click 'Continue & Edit' to continue.

...

  1. Configure the Block:

    1. Under "Fields", remove the "Islandora Solr: Score

...

    1. " field by clicking on "Islandora Solr: Score" and then in the pop up box clicking "Remove".  In the top right corner, click "Save" to save the change.

Under 'Block details', you will see the basic settings for your block. By default, 'Islandora Solr: Score' is added as a field to new views. We will need to remove it. Click on it, and then click the 'Remove' button.

...