The documents saved in our digital archives are stored in two parallel databases. The document you read and download is served from a repository while another version of the same data is loaded in a Solr search engine. Searches performed in Punawaiola.org run queries against this second database and the hits returned serve as links to the user friendly data in the repository.
We have two search interfaces in our website, a basic search and an advanced search page. Queries entered into the forms on these pages submit the search terms to the Solr search engine, in the case of the advanced search page, formatted to match the syntax required of the search engine.
Our basic search page allows users to enter search terms in a manner like that of popular internet search engines. When a word or a phrase is entered the terms are matched within the text of the document. Note that multiple terms will be matched independently unless enclosed in quotations.
The advanced search page allows users perform facetted searches. On this page search terms will be submitted to the field selected by the user. Complex searches of multiple terms will be joined when submitted depending upon the users selection between the term fields. These joining operands are initially set to “AND”.
Be sure to look at the query statement as submitted by the search forms that appears at start of the query results.
While the basic search page enables simple searches, it also is possible to perform more advanced searches composing complex queries and using the field on that page to submit them directly to the search engine.
The Solr query syntax will allow you specify the field that you wish to search by preceding the term(s) with the field name separated by a colon. For example “Title:Lahaina” returns documents for which the title contains “Lahaina”. Because the default field is text the search “Lahaina” is the same as “text:Lahaina”. Fields that are populated and can be searched include:
Any of these can be searched. Most useful will be Title Author and Date. Keep in mind that the field names are case sensitive and all are capitalized with the exception of the default field “text”.
Search terms or phrases should be joined by an operand such as “AND”, “OR” or “NOT”. The default operand is “OR”.
For a description of wildcard, fuzzy, proximity and range searches as well as boosting terms and escape characters please read the query parser syntax page at Apache Lucene.
Basic search form
Basic search form