Child pages
  • Basic and Advanced Search Syntax

Versions Compared

Key

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

...

Section
Column
width50%
Panel

Contents: 

Table of Contents
Column
width33%
 
Column
width33%
 

Overview

...

The Basic Search and Advanced Search features of Calhoun are powered by Apache's Lucene text search engine.  View full documentation on Apache Lucene - Query Parser Syntax or check out some of the quick tricks and tips below.

...

As of this date (December 2017), Calhoun is based on DSpace 6.

Basic Search

...

The basic search box is provided at the center on the Calhoun Home page.   Entering terms into this search box will perform a full-text search unless syntax is used to perform a more specific query (see below). Hit return or the magnifying glass icon to execute the search. Note that the magifying glass icon will take you to a page where additional search features are available.

Align
alignleft


 

Building your search using filters

...

Access Advanced Search features by clicking on the magnifying glass icon. This interface performs complex queries using Filters ("Refine By").  A drop-down menu allows for setting the search in  "All of Calhoun" or just one part.  Use other drop-down menus to set your search terms in specific fields. Use the plus or minus to add or subtract the number of filters.  Click Go when using only the top search box.  Click Apply to apply filters.

Advanced Searches may also be carried out with the use of query syntax (see below).

Query Syntax
Anchor
Query Syntax
Query Syntax

...

Complex queries can be carried out with the syntax provided by Lucene's text search engine.  These queries can be set in the first (top) search box, like this: 

...

Click Go to execute the search.

Phrase searching

...

Double quotes must surround phrases or words within the phrase will be treated as separate search terms in full text.  This means the query below would return results from full text, unless a the search was set in a specific field, such as the title or abstract.

Example: if you wanted to search for the phrase decision tree then it should appear as follows.

No Format
"decision tree"

Search within a specific field

...

You can search within a specific field. For example, if you wanted to search for the phrase decision tree in the title field you would input:

No Format
title:"decision tree"

Search for a specific author:

...

If you wanted to search for a name in the author field you would input:

No Format
author:washburn

Search for a specific advisor. (Use this search to identify a results set of theses advised by a specific advisor):

...

If you wanted to search for a name in the advisor field you would input:

No Format
advisor:washburn

Using a wildcard

...

A single character wild card is denoted by ?, while a multiple character wildcard is denoted by * . (Don't use this feature with double quotes, or it will treat your wildcard search as an exact phrase, that is, as a word containing ?  or *. Not

...

A multiple character wildcard search, to retrieve secure, security in the title field:

No Format
title:secur*

Fuzzy search

...

A fuzzy search works only with single terms and is appropriate when you want to cast a broad net and is denoted by ~

...

You can specifiy how fuzzy the search should be by adding a value from 0 (more fuzzy) to 1 (less fuzzy).  The default is 0.5

No Format
nsp~0.1

Proximity search

A proximity search allows terms to be searched for on the condition that each word specified is within a certain number of words away from the other(s). A proximity search is denoted with a ~ at the end of a set of words in double quotes, and a value that indicates the maximum numbers of words that separate the terms.

...

No Format
"tree decision"~10

Boosting a search term

If you are performing a multiple term search, you can increase the weight of a term's relevance to the search by using the ^ symbol and a boost factor.

...

No Format
"decision tree" "nps"^5

Boolean operators

Boolean operators can add logical structures to searches. Available operators include AND, +, OR, NOT, and -

...

...will return documents that contain decision and tree, with both terms in the title field.

Grouping

Logical structures can be grouped togethor by using parentheses.

...

No Format
"decision tree" AND ("Naval Postgraduate School" OR NPS) 

Date ranges

Find a span of documents published during a period of time.  DateIssued is the publish date.

...

No Format
dateIssued:[1986 TO 1990] 

Arrange your results

You can arrange your results by Relevance, Title Ascending/Descending, Issue Date Ascending/Descending, Added Date Ascending/Descending, Handle Ascending/Descending, and specify how many results appear on a page. Look for the "gear" icon to do this.

Note: Issue Date is the document publication date.  Added Date is the date on which the document was added to Calhoun.  Handle is by the numerical order of each "Handle" or assigned Calhoun link.  Calhoun links look like this: https://calhoun.nps.edu/handle/10945/45903 . 10945/45903 is the Handle.

 

Sets of results in Calhoun produce usable links.  Make a search, refine it, set the number of items to display on a single page, then look for the link in your browser window.  This link may be quoted and used in other pages and will always display results of your search, even if new, relevant results are added in future.

...