Search with Xapian Guide

From EPrints Documentation
Revision as of 09:18, 21 July 2017 by Drn@ecs.soton.ac.uk (talk | contribs) (Added some content for specific fields text o)
Jump to: navigation, search

If your repository has Xapian search enabled for "Simple Search" (e.g. http://example.eprints.org/cgi/search/simple). Then you can make use of the Xapian search syntax to make more complex queries, which needing to use advanced search. This may be useful if you have another website you wish to search your EPrints repository with a specific filter on the results returned (e.g. only results for a particular faculty of department). Below is a guide to some of the syntax that can be used with Xapian-based search.

Specific fields

Text only

Search for phrase science in the field title

title:(science)

Search for the phrase smith in the field creators_name

creators_name:(smith)

Exact multiple word phrases can also be search for, such at the phrase biological science in the field abstract

abstract:(biological science)

The field names that can be searched under to match a text phrase are as follows:

  • abstract
  • contributors_name
  • creators_name
  • divisions
  • editors_name
  • subjects
  • title
  • type


AND

OR

NOT

ANDs and ORs

More complex queries