-
Notifications
You must be signed in to change notification settings - Fork 0
Search
The Search page can be used to find any of the different types of content on the site and will try to find matches within any of the various text fields for the different entities represented in the database.
There are three filters at the top of the page which can be used to narrow down the number of results returned: Antiquarians, Citing Authors, and Content Type.
By choosing one or more antiquarians from the drop down list you can limit the results to only include items with a relationship to those antiquarians; for example, only fragments with a link to one of the antiquarians will be included. This filter has no effect on items which never have a direct relationship with antiquarians such as Citing Authors and Citing Works.
By choosing one or more citing authors from the drop down list you can limit the results to only include items with a relationship to those citing authors; for example, only fragments with at least one original text written by the citing author will be included. This filter has no effect on items which never have a direct relationship with citing authors such as Antiquarians.
By choosing one or more content types from the drop down list you can limit the results to only include particular types of content stored in the database. In the case of fragments, testimonia, anonymous fragments and apposita it is possible to further narrow down the search to only look within particular fields: original texts, translations, commentaries, or all of these. By default all content types and all fields are included in search results.
How search works:
- Words used in search terms must match whole words in the database - 'latin' will not match 'latinum' unless a wildcard is used
- Search terms containing spaces are broken up into individual words and all words in the search term must be present in the text in any order to return a match - "consectatur lorem" would match the lorem ipsum text for example
- Search terms are case insensitive
- Punctuation is stripped from search terms before searching except special characters as described below.
Special wildcard characters can be used in search terms to enable more flexible whole word matching. There are two special characters for this:
-
?matches exactly one character -
*matches zero or more characters up to the end of a word
Examples:
- '?ulius' will match 'julius' and 'iulius', but not 'ulius' or 'brulius'
- 'ca*ar', '*esar' and 'caes*' will all match 'caesar'
Use double quotes to search for exact multi-word phrases. A search for 'carpe diem' without double quotes will return any items containing both of those words in any order. With double quotes '"carpe diem"' will match the exact phrase. Wildcards can be included as part of quoted search terms; e.g. '"ca?pe diem"'.
An even more flexible form of quoted search is proximity search which allows you to find items where words occur within a certain distance from each other within the text. Proximity search takes the form word1 ~m:n word2 where m is the minimum number of intervening words and n is the maximum number of intervening words between word1 and word2. Either of m or n can be omitted in which case the minimum will be zero, and the maximum will have no limit respectively.
Examples:
- 'Lorem ~4 consectatur' will match 'Lorem ipsum dolor sit amet, consectetur' because there are exactly four intervening words
- 'Lorem ~2: consectatur' will also match because there are two or more intervening words
- 'Lorem ~:6 consectatur' will match because there are fewer than seven intervening words
- Neither 'Lorem ~:3 consectatur' nor 'Lorem ~5: consectatur' will match