This page explains the search functions in Omeka Classic on the public and admin side, and how to use them. If you are looking for information on how to manage search settings, please see that documentation.

The simplest way to search an Omeka Classic installation is using the simple search bar. On the admin side, this is always present in the upper right hand area of the window, under the top navigation. The exact location of the search bar on the public side varies by theme, but is generally close to the navigation menu.

To perform a basic search, type the keyword you want to search for in the field and either hit enter on your keyboard or click the Search (magnifying glass) button. Depending on the search settings, content in this search might include item, file, and collection metadata, the text on simple pages, exhibit summary pages and exhibit pages.

Search options

To access the options for the basic search, click on the ellipses (...) button to the right of the search bar, next to the search (magnifying glass) button.

Search options, as seen on the public side

The first set of options allows you to select a query type:

  • Keyword, or general search
  • Boolean, in which you can add boolean operators like AND and NOT
  • Exact match, which will only find exact matches to the word or phrase you enter.

The second set of options are a series of checkboxes for content to include in the search. The checkboxes populate based on the search settings and can include:

  • Item
  • File
  • Collection

as well as options provided by plugins, such as:

  • Simple Page
  • Exhibit Page
  • Exhibit summary

Advanced Search, which will only search the items in your Omeka installation, is available on the admin sides, and on the public side if the Use Advanced Site-Wide Search option is checked in the theme settings

To access the advanced search, click on the ellipses (…) button to the right of the basic search bar (1) and then click the link to “Advanced Search (Items Only)” (2)

The “Search Items” page will load. It presents a variety of options for advanced searching across all items. You do not need to complete all fields, only as many as you want.

Advanced Search options are:

  • Search for Keywords: general search
  • Narrow by specific fields:
    • select a field from the first dropdown.
    • from the second dropdown, select from the following options
      • contains,
      • does not contain,
      • is exactly,
      • is not exactly,
      • is empty,
      • is not empty,
      • starts with,
      • ends with,
      • matches,
      • does not match
    • in the text area, enter the terms for the field search.
    • You can add additional field searches using the green “add a field”. Additional field searches include a dropdown to select AND or OR for these terms. Use and to narrow the search, requiring it to find items which meet both field criteria. Use or to keep the search broad, finding items which meet either field criteria.
  • Search by a range of item IDs: text field in which you can enter item IDs. You can describe a range, such as 1-7, or a sequence separated with commas, for example 1,5-7,11.
  • Search by collection: dropdown of collections in your installation.
  • Search by type: dropdown of existing item types.
  • Search by User: dropdown of users on the installation
  • Search by tags: text field
  • Public/Non-Public: dropdown with options for each
  • Featured/Non Featured: dropdown with binary options

If you have the Geolocation plugin installed, Advanced Search will also include the following options: - Geographic Address: search for items at an address (text field) - Geographic Radius: proximity to the address given above, in miles.

If you have the Exhibit Builder plugin installed, advanced search will include the following option: - Search by Exhibit: a dropdown of exhibits. This will find all items used in the specified exhibit.

Troubleshooting

Seeing unpublished items when searching on the public side: If you are still logged in to your Omeka installation, you will see all items on the public and admin side. Try logging out or visiting the site in a different browser (where you are not logged in).

If you are having trouble finding words you know are in your install, the following may be part of the problem:

  • MySQL by default does not index any words shorter than 4 letters long.
  • Exact match searches will look for the exact string given by the user, anywhere in the record. For example a search for 'poe' would also return 'poem'.
  • MySQL considers terms that appear in over 50% of indexed items to be so common that it excludes them from keyword searches. The easy way to tell if a term meets the the 50% threshold that's at fault is to choose the "boolean" search, as MySQL does not apply the 50% limitation to boolean searches