Versions Compared

Key

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

...

Secondary display profiles provide optional secondary outputs for search results. Out-of-the-box, support for CSV output is provided. Selecting this option will place a CSV button next to your search results.

4. Configure Search Block Repetition

This simple option lets you choose the number of search fields that will appear in your search block. Each field may be able to search a number of categories (e.g. title, subject, etc.) so having more than one field allows the user to combine search terms easily.

...

 

4. Choose Search Terms in Advanced Search Block

Here you can choose the search terms that will appear in the drop-down menus on the advanced search block. Terms must be entered by their field names (in most cases this will be Dublin Core), though you can optionally specify a more human-readable label with the configure option.To determine the appropriate syntax for your search terms, simply edit the metadata on any object in your repository (for instructions, see How to Edit an Object’s Metadata in Chapter 3 - Getting Started with Islandora). Each field label will display the proper syntax for adding it to your Solr search configuration. A full list of the terms made available by the schema provided in the module package is provided in APPENDIX D - SOLR SCHEMA (SEARCH) Term Reference. Note that you will want to use fields that have been indexed as “text” here.

...

Info

Solr field permissions are dependent on a role having Drupal permissions to search the Solr index. Roles without this permissions may appear in this list, but they will not be selectable.

...

5. Choose Facet Fields

Solr uses faceting to filter search results. Here, you can choose which fields you wish to allow faceting on. The format is the same as the search terms described above.

Image Removed

Note that you will want to use terms here that have been indexed as “strings” (see Appendix).

7. Define Labels for Your Search Results

You may not want to display every search-able field in the list of search results. Here, you can determine what labels will be used for fields in the list of results, and also which fields will display with search results. The format is the same as the search terms and facet fields described above. You can limit search results to this set of terms of selecting the ‘Limit results to these fields?’ box.

Image Removed

Note that you will have to put the PID field in if you want a link back to the object from the search results. This means that configuring PID as one of the fields, particularly in your results is strongly recommended.

8. Minimum/Maximum Facet Fields and Results per Page

These options let you control the minimum number of facets that must be available in order to display them to the user, and the maximum number of fields to display in the facet block. A negative maximum number will indicate unlimited fields. You can also limit the number of results to display per page.

...

You can also use this screen to configure:

  1. Minimum Limit - The minimum number of search results returned for a particular facet before that facet will be displayed. For instance, if the limit was set to '3' and a search for "fish" returned only two results for 'Bass', 'Bass' would not be included as a facet.
  2. Soft Limit - The number of facets to show when a search is first returned. This setting will return the most populous facets first, and include a button to expose more available facets.
  3. Maximum Limit - Similar to a Soft Limit, but without the option to expand to show more terms beyond the limit set here.

Image Added

Note that you will want to use terms here that have been indexed as “strings” (see Appendix).

 

6. Choose Sort Fields

Using the same field formatting as Advanced Search and Faceting fields, you can select fields to make available to the user to sort their search results in the Sort block.

Image Added

Info

The field for a relevance based sort is "score"

9. Advanced Solr Query Configuration for Site Administrators

...