1. | Introduction |
2. | Query Syntax |
2.1. | Basics |
2.2. | Case Insensitivity |
2.3. | Stopwords |
2.4. | Stemming |
2.5. | Plurals |
2.6. | Wildcard Searches |
2.7. | Fuzzy Searches |
2.8. | Proximity Searches |
2.9. | Range Searches |
2.10. | Boosting a Term |
3. | Search Operators |
3.1. | Boolean Operators |
3.2. | Grouping Operators |
3.3. | Special Characters |
4. | Advanced Search |
4.1. | Fields |
4.2. | Collections |
4.3. | File Content |
4.4. | Classification |
4.5. | Combining Searches |
4.6. | ALL or ANY |
4.7. | Saving Searches |
4.8. | Public Saved Searches |
4.9. | Reusing Saved Searches |
This guide describes two aspects of the search interface of intraLibrary - the syntax of search queries and the construction of complex search criteria through combinations of search terms. In addition, it describes how search parameters can be stored and reused.
Searches are conducted in intraLibrary either through simple search, which is always available using the search box at the top of the screen, or advanced search, which is always available from the advanced search tab near the top of the screen. In this manual the query syntax and operators sections apply to all simple searches, free text fields in advanced searches and all full-text searches. The final section only applies to advanced searches.
This guide applies only to searching through the intraLibrary interface. For details of searching through web services please see the Integration Guide.
Notes:
A query is specified by using query terms. There are two types of terms: Single Terms and Phrases:
IntraLibrary provides a powerful and flexible search syntax. It automatically detects plurals and words with similar stems and ignores case. In addition there are many features that allow the search to be modified to narrow or broaden the terms used. These include: wildcards, fuzzy searching, proximity searching, range searching and boosting of terms, all of which are described in this document.
All searches are case insensitive. You can use upper or lower case and words in the other case will be found.
IntraLibrary uses a list of stopwords. Searches using words in this stop list are ignored. These are usually words such as and, the and or. Your intraLibrary administrator can modify the list of stopwords on your intraLibrary installation.
Searches in intraLibrary are filtered using the Porter Stemming method. This means stems of words will be used in the search so that, for example, searches for running will match run and searches for run will match running.
Plural searches are conducted automatically, so that a search for bucket will match buckets.
There is support in intraLibrary for single and multiple character wildcard searches.
The single character wildcard search looks for terms that match that with only a single character replaced. For example, to search for text or test you can use the search:
Multiple character wildcard searches looks for 0 or more characters. For example, to search for test, tests or tester, you can use the search:
You can also use the wildcard searches in the middle of a term.
Note: You cannot use a * or ? symbol as the first character of a search.
IntraLibrary supports fuzzy searches based on the Levenshtein Distance, or Edit Distance algorithm. To do a fuzzy search use the tilde, ~, symbol at the end of a single word term. For example to search for a term similar in spelling to "roam" use the fuzzy search:
This search will find terms like foam and roams.
Range queries allow you to match resources whose field(s) values are between the lower and upper bound specified by the range query. Range queries can be inclusive or exclusive of the upper and lower bounds. Sorting is done lexicographically and the lower bound must be lexicographically lower than the upper bound or no results are returned.
When used to search the Title field this will find all resources whose titles are between Ernani and Falstaff, including Ernani and Falstaff.
Inclusive range queries are denoted by square brackets. Exclusive range queries are denoted by curly brackets.
This will find all resources whose titles are between Aida and Otello, but NOT including Aida and Otello.
The relevance level of matching resources is based on the terms found in intraLibrary. To boost the relevance of a specific term use the caret, ^, symbol with a boost factor (a number) at the end of the term you are searching. The higher the boost factor, the more relevant the term will be.
Boosting allows you to control the relevance of a resource by boosting a specific term. For example, if you are searching for
and you want the term Verdi to be more relevant boost it using the ^ symbol along with the boost factor next to the term. You would type:
This will make resources with the term Verdi appear more relevant. You can also boost Phrase Terms as in the example:
By default, the boost factor is 1. Although the boost factor must be positive, it can be less than 1 (e.g. 0.2)
In free text searches, including all simple searches, terms may be combined using Boolean operators. They may also be grouped together to create powerful combinations.
Boolean operators allow terms to be combined through logic operators. IntraLibrary supports AND, OR, NOT, + and - as Boolean operators.
Note: Boolean operators must be in CAPITAL LETTERS.
IntraLibrary allows you to use parentheses to group clauses to form sub queries. This can be very useful if you want to control the Boolean logic for a query.
To search for either "italian" or "spanish" and "opera" use the query:
This eliminates any confusion and makes sure that opera must exist and either term italian or spanish may exist.
When you want to search for terms which include characters which have a special meaning in the query syntax you must escape these characters - you must let them escape from their normal meaning. IntraLibrary supports escaping of special characters that are part of the query syntax. The current list of special characters is
To escape these character use the \ before the character. For example to search for (1+1):2 use the query:
It may also be necessary to enclose the search term in double quotes to overcome restrictions on characters at the start or end of a search term.
Note: The exception to this is searching the IEEE LOM identifier fields (general.Identifier.Entry and metaMetadata.Identifier.Entry). These fields can be searched without needing to escape any special characters, allowing users to cut and paste entire identifiers into the simple or advanced search box.
The Advanced Search facility in intraLibrary allows you to search specific fields and to construct complex searches from combinations of these specific searches. In addition, you can save these searches to use again at a later time.
You can select specific fields to search using the "Select search field" drop-down menu in the Advanced Search interface.
The options that appear on this menu have been configured by your intraLibrary administrator. Once you have selected a field you will be presented with an option to search that field. Some of these fields contain free text while others contain a limited vocabulary of terms. If the field you choose has a limited vocabulary then the available options will be presented in a second drop-down menu. If the field contains free text then you can include any of the search terms and operators that would normally be used in the simple search interface.
To conduct the search click on the search button.
There may be multiple collections of resources in the library. The system will search all collections you have access to. If you prefer, you can search a specific collection or collections.
To search by collection, select "Collection" from the drop-down "Select search field" list. A drop-down list will appear below, listing the collections which you have permission to search. Choose the collection you would like to search. If you wish to search more than one collection, click the "add" link and select "Collection", then a specific collection from the available list again. If you only want resources that are in both collections, select "ALL"; if you want resources from either collection, select "ANY".
If your administrator has enabled full-text search as an advenced search then you will find File content as one of the options in advanced search. By selecting this option you can search the text within the resource. This applies to common text-based resource types such as MS Office, Open Office and PDF.
If you choose to search by classification you can search the names of nodes, the "use for" terms and the descriptions - sometimes used to store learning outcomes.
If your administrator has configured the search it may also be possible to not only search classifications generally but one or more particular classifications.
When using Advanced Search to search specific fields you can combine the search terms. For example you might want to search the Title field for Mozart, and the Technical Format field for a suitable audio format.
To add another field to your search, click on the add link. You can add as many additional fields as required. If you wish to remove any field simply click on the remove link.
Choosing to match "ALL" criteria will give you a narrow search; it is the same as a Boolean "AND" search.
Choosing to match "ANY" criteria will give you a broad search; it is the same as a Boolean "OR" search.
Example:
When searching using multiple constraints the default is that ALL criteria must be satisfied.
Remember to click on the search button to conduct the search.
When you have created a set of search constraints that you may wish to use again some time in the future you can save the search by clicking the "Save" button. A pop-up window will appear allowing you to give the saved search a name. The saved search will then appear in the drop-down list when you select "Saved searches" from the "Select search field" drop-down under advanced search. It will also appear in your work area, if you are a contributor user, so that you can use it to search resources there.
Administrators can save a search filter as a public saved search. This makes the saved search available to all users in the Preferences section of their Profile, where it can be applied to all searches they carry out. Public saved searches are also made available to contributor users in their work area to search the list of resources they are working on.
You can use search filters by selecting "Saved searches" from the "Select search field" drop-down menu under Advanced Search. If you no longer require a saved search, click on the "Edit Saved Searches" button, then use the X button to remove it.
A saved search can be applied by default to all your searches if you wish. To set a default saved search go to the Preferences section of your Profile.
A saved search can also be used in your work area (contributor users only) to search the list of resources you are working on.