Difference between revisions of "Advanced search"

From ICA-AtoM
Jump to navigation Jump to search
Line 2: Line 2:
  
  
ICA-AtoM uses the [http://framework.zend.com/ ''Zend''] framework's implementation of the [http://lucene.apache.org/ ''Lucene''] search engine. This provides a number of options for advanced searching from within the [[Search box|search box]]. For a full description of the features supported by Zend's Lucene search, see:
+
ICA-AtoM uses the [http://framework.zend.com/ Zend] framework's implementation of the [http://lucene.apache.org/ Lucene] search engine. This provides a number of options for advanced searching from within the [[Glossary#Search box|search box]]. For a full description of the features supported by Zend Lucene, see [http://framework.zend.com/manual/en/zend.search.lucene.query-language.html Zend Programmers Reference Guide, Query language].
 
 
*[http://framework.zend.com/manual/en/zend.search.lucene.query-language.html Zend Programmers Reference Guide, chapter 33.4: Zend_search_Lucene > Query language].
 
  
 
What follows is a selection of some of the most commonly used tools.
 
What follows is a selection of some of the most commonly used tools.
  
  
'''Phrases'''
+
== Phrases ==
 
 
*Use double quotes to search phrases. E.g. search ''"city hall"'' to return records containing these two words together in that exact order.
 
 
 
 
 
'''Boolean operators'''
 
 
 
*Use AND to combine search terms to '''narrow''' your search: e.g. search ''vancouver AND "city hall"'' to return only descriptions that contain '''both''' search terms.
 
 
 
*Use OR to to combine search terms to '''broaden''' your search: e.g. search ''vancouver OR "city hall"'' to return descriptions that contain '''either''' search term.
 
  
*Use AND NOT to '''exclude''' terms: e.g. search ''vancouver AND NOT "city hall"'' to return descriptions that include ''vancouver'' but do '''not''' contain the phrase ''"city hall"''.
+
Use double quotes to search phrases, e.g. search ''"city hall"'' to return records containing these two words together in that exact order.
  
*Boolean operators can be upper- or lowercase.
 
  
*Other Boolean operators are available; see [http://framework.zend.com/manual/en/zend.search.lucene.query-language.html Zend's documentation].
+
== Boolean operators ==
  
 +
* Use AND to combine search terms to narrow your search: e.g. search ''vancouver AND "city hall"'' to return only descriptions that contain '''both''' search terms
 +
* Use OR to to combine search terms to broaden your search: e.g. search ''vancouver OR "city hall"'' to return descriptions that contain '''either''' search term
 +
* Use AND NOT to exclude terms: e.g. search ''vancouver AND NOT "city hall"'' to return descriptions that include ''vancouver'' but do '''not''' contain the phrase ''"city hall"''
 +
* Boolean operators can be upper- or lowercase
 +
* Other boolean operators are available, see [http://framework.zend.com/manual/en/zend.search.lucene.query-language.html Zend Lucene documentation]
  
'''Fields'''
 
  
*You can restrict your search to specific [[Field|fields]] by typing the [[Field|field]] name followed by a colon ( : ) and the search text (''fieldName:searchText'').
+
== Fields ==
  
* E.g. search ''title:city'' to return descriptions which include the word ''city'' in the title.
+
You can restrict your search to specific [[Glossary#Field|fields]] by typing the [[Glossary#Field|field]] name followed by a colon (":") and the search text ("exampleField:exampleTerm"), e.g. search ''title:city'' to return descriptions which include the word ''city'' in the title.
  
*You must enter the exact [[field|field]] name. These are not always intuitive nor do they necessarily correspond to the [[Field label|field label]] that appears on screen.
+
You must enter the exact [[Glossary#Field|field]] name. These are not always intuitive nor do they necessarily correspond to the [[Glossary#Field label|field label]] that appears on the page.
  
*For the list of searchable [[field|fields]] and their names, see [[UM-4.3|UM-4.3 Field names for advanced search]].
+
For the list of searchable [[Glossary#Field|fields]] and their names, see [[search fields]].
  
  
 
[[Category:User manual]]
 
[[Category:User manual]]

Revision as of 14:18, 16 April 2010

Please note that ICA-AtoM is no longer actively supported by Artefactual Systems.
Visit https://www.accesstomemory.org for information about AtoM, the currently supported version.

Main Page > User manual > UM-4 Access content > UM-4.2 Advanced search


ICA-AtoM uses the Zend framework's implementation of the Lucene search engine. This provides a number of options for advanced searching from within the search box. For a full description of the features supported by Zend Lucene, see Zend Programmers Reference Guide, Query language.

What follows is a selection of some of the most commonly used tools.


Phrases

Use double quotes to search phrases, e.g. search "city hall" to return records containing these two words together in that exact order.


Boolean operators

  • Use AND to combine search terms to narrow your search: e.g. search vancouver AND "city hall" to return only descriptions that contain both search terms
  • Use OR to to combine search terms to broaden your search: e.g. search vancouver OR "city hall" to return descriptions that contain either search term
  • Use AND NOT to exclude terms: e.g. search vancouver AND NOT "city hall" to return descriptions that include vancouver but do not contain the phrase "city hall"
  • Boolean operators can be upper- or lowercase
  • Other boolean operators are available, see Zend Lucene documentation


Fields

You can restrict your search to specific fields by typing the field name followed by a colon (":") and the search text ("exampleField:exampleTerm"), e.g. search title:city to return descriptions which include the word city in the title.

You must enter the exact field name. These are not always intuitive nor do they necessarily correspond to the field label that appears on the page.

For the list of searchable fields and their names, see search fields.