|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
Search EngineThe search engine for BMCD release 4.0 was built with Apache Lucene 1.4.3, which is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform, and provides the ability to create your own complex queries (see below). This page gives the basics on how to use the BMCD search engine and some features of Lucene query language. For more information including details of query syntax, please consult the Apache Lucene Web site. Query SyntaxA query consists of terms and operators. Search terms are case-insensitive; upper case and lower case are equivalent. There are two types of terms: single terms and phrases. A single term is a single word such as "triclinic" or "watson". A phrase is a group of words surrounded by double quotes such as "dna complex". A phrase must be surrounded by double quotes. Without double quotes the search engine would handle a phrase as a compound query with OR operator(s). The search engine implements wildcard searches when doing text searching. Wildcards are the character symbols "?" and "*". The "?" symbol matches any single character, and the "*" symbol performs a multiple character wildcard search. A term may not begin with a wildcard. The BMCD search engine implements the logical operators AND, OR, NOT, "+" and "-" to enable boolean combinations. These operators must be typed in UPPER CASE. The default operator is OR; thus the query "watson richardson" has the same result as "watson OR richardson", whereas the query "watson AND richardson" would find a much smaller set of entries. More information can be found at the Apache Lucene website above. Searching by FieldsOrdinary searches cover the entire content of each entry. Data can be searched by specific fields, using field names from the table below. If no field is specified, the search covers all fields (general search). A field name is followed by a colon, and then the search item. For example, the query
Here are a few examples of correct syntax for field searches:
Table of Searchable Field Names
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
NIST is an agency of the U.S. Commerce Department's Technology Administration. |
||||||||||||||||||||||||||||||||||||||||||||||||||||