Constructing searches in eHive

eHive supports a range of different search types including wildcards for searching on parts of words, phrase searches to find a group of words only when they appear together as a phrase, and field specific searches where the search is limited to a specific data field.

The following punctuation characters have special meanings and should only be used to perform one of the special search types:

  • colon :

  • square brackets []

  • parentheses ()

  • plain double quotes "

  • asterisk *

  • question mark ?

  • tilde ~

Any search text between a set of double quotes is treated as a simple text search. You can include these punctuation characters inside double quotes. e.g. "ABC:123"

Searching for multiple words

Phrased Searches

There are two different types of search terms in eHive: Single Terms and Phrases

If you are searching for a single term, such as the word Book or the number 1990, you can enter this directly in the search box to retrieve your results.

If you are searching for a phrase (i.e. multiple words) such as Receipt Book, you must surround the words with plain double quotation marks to retrieve records that have that exact phrase, e.g. "Receipt Book"

Do not use Microsoft “smart quotes” (the curled quotes). iOS devices such as iPads can be set to default to smart quotes. In this case either press and hold to choose the correct plain (vertical) double quote, or change your device settings to make plain quotes the default when you type. On iOS these options are under Settings > General > Keyboards > Smart Punctuation (turn off).

Searching for Receipt Book without the quotation marks would retrieve records that feature either the word Book or the word Receipt, or both words anywhere in the record.

Similarly, if you’re searching for words or numbers separated by punctuation, for example mass-produced or 06/097/100, then you will need to surround these terms in quotes, otherwise your results will include records which contain any part of the term.

Note: It is particularly important to use quotation marks when searching on multi-part accession numbers to improve the accuracy of your searches.

Boolean Operators

If you are searching for multiple words, but not for an exact phrase, you can use boolean operators to combine your search terms in different ways.

Example Result
flying AND school

+flying +school
Will find records with both the words flying and school. AND must be written in capital letters.

An alternative to AND. Note that there is no space between the plus signs and the words that follows them.
flying OR school Will find records with either the words flying or school , or both flying and school. OR must be written in capital letters.
flying NOT school

flying -school
Will find records with the word flying but not the word school. NOT must be written in capital letters.

An alternative to NOT. Note that there is no space between the minus sign and the word that follows it.

Wildcard searches

By default, searching for a term or value in eHive will only retrieve exact matches e.g. a search for the word bead will only return records that feature the exact word bead. If you want to expand your results to include records that feature plurals or similar words, such as beads or beading, then you will need to use a wildcard.

The * symbol is a multiple character wildcard. This means it can be used to search for records featuring a root word (such as bead), plus any number of additional characters. This is particularly useful if you would like your results to include records with both the singular and plural form of a word, e.g. Bead and beads.

bead*

This search term will find records that contain words beginning with bead e.g. Bead, beads, beading etc.

You can also use a multiple character wildcard in the middle of a word:

Be*d

This search term will find records that contain words beginning with the letters be and ending with the letter d. e.g. Bead, bend, beard, bedford etc.

A single character wildcard ? can be used to search for terms that would match with that single character replaced:

Bead?

This search term will find records that contain words beginning with the word bead plus one additional character e.g. Beads, beady

You can also use a single character wildcard in the middle of a word:

Be?d This search term will find records that have any 4-letter word beginning with be and ending with d e.g. Bead, bend

Note: You cannot use a * or ? symbol as the first character of a search.

Fuzzy searches

You can use fuzzy searches to find records with words similar in spelling to your search term:

Bead~

This search term will find records with the word bead, as well as records with words that are similar to this word eg. Bean, bed, lead etc

Range searches

You can perform searches on a specific field for numeric and alphabetic ranges by placing two terms inside brackets, separated by the word TO in capital letters. Typical fields to perform range searches on are date_made and latest_insurance_valuation.

Inclusive range queries are denoted by square brackets:

date_made:[1945 TO 1950] Will find records with any number between 1945 and 1950, including both 1945 and 1950

Exclusive range queries are denoted by curly brackets:

date_made:{1945 TO 1950} Will find records with any number between 1945 and 1950, but not with 1945 or 1950

Field Searches

You can search in eHive by simply typing in keywords or numbers into the search box. The results of this type of search will include all records that feature this keyword or number anywhere on the record. For example, entering a term like Russia will return all records with the word Russia anywhere in the record.

Alternatively, you can choose to refine your search by specifying what field you would like to find the term in. To do this, enter the eHive field name (or search alias) followed by a colon before your term, e.g place_made:"Russia"

This search will retrieve all records that have the word Russia in the Place Made field.

Field Search Tips:

If you're unsure of the eHive field name, you can find these in the Field Help section. Note that field names are all in lower case.

Remember to put quotation marks around phrases. If you don't use quotation marks, only the first word will be treated as field specific. For example:

name:"Pounamu Valley" will find Pounamu Valley in the name field,

name:Pounamu Valley will find Pounamu in the name field and Valley anywhere in the record.

Empty Fields

You can search for a field with no information in it. To do this, type *:* NOT eHive field name:*

For example:

*:* NOT place_made:*

This would show records with no information in the place made field.

Search Aliases

We have shortened some of eHive's Field Names into search aliases to make them simpler to use. See below for a full list.

Field Name Search Alias Example
Object Number no

no:"1990.21.1"

Brief Description briefdesc

briefdesc:ceramic

Web Public Description webdesc

webdesc:ceramic

Creator/Maker maker
creator
artist
author

maker:chevrolet

Name/Title

name
title

name:Trumpet
Classification* class

class:vase

Collection Type* colltype

colltype:photography

Date Made date

date:1950

Current Location* loc

loc:"Storeroom 1"

Object Type obtype

obtype:painting

Place Made place

place:"czech republic"

Images has_image

has_image:true

has_image:false
true will find all records with an image, false will find records without an image.

Documents has_document

has_document:true
has_document:false
true will find all records with a document, false will find records without a document.

*Note that these are not publicly visible fields. These search aliases can only be used when you are logged into eHive and searching your own records.

Searching by eHive catalogue type

Object records in eHive must be one of the following seven catalogue types: Photography and Multimedia, History, Archives, Art, Library, Archaeology or Natural Science. You can search for records by catalogue type using the following queries:

  • cat_type:photography

  • cat_type:history

  • cat_type:archives

  • cat_type:art

  • cat_type:library

  • cat_type:archaeology

  • cat_type:natural_science