Find More DocumentationFeatured Support Resources |
Searching the docs.sun.com Web SiteThis chapter describes the Oracle Search syntax and options that you use to search the docs.sun.com web site. You can search for every book on this site, regardless of the format. Available formats include:
Examples of information for which you can search include words, phrases, and book part numbers. By default, search results are sorted by relevance. Note - English is the default language preference on the docs.sun.com site. Before conducting a search in a language other than English, choose the appropriate language preference using the drop-down menu in the top right corner of the page. Oracle search will also use your browsers locale setting to determine the most appropriate language. Here is a list of the information in this chapter: Narrowing Your SearchBy default, Oracle Search performs a site search by searching the entire docs.sun.com site. This section describes how you can restrict the scope of your search to a specific book or directory. How to Search Within a BookYou can narrow the scope of your search on the docs.sun.com site to a specific book. This book search option is available when you are viewing XML-based books. If you are viewing the table of contents of an HTML-based book, you can also use this option. However, if you are viewing the contents within an HTML-based book, this option is unavailable. Follow these steps:
Constructing Your Search SyntaxBy default, the search is based on a Boolean AND. Thus, only documents that include all of your search terms (or words) are returned in the search results. To broaden the search, include fewer words. To narrow the search, include more words. To find books on the docs.sun.com site that contain one or more words, type the words in the search field. Separate each word by a space. You can also search by part number. The following subsections further explain how to use the Oracle Search syntax: Word Order MattersOracle Search matches words and
phrases in consecutive order. Therefore, place the words and
phrases in your search query in order of importance. Search Is Not Case-SensitiveYou can ignore capitalization in your search query. For example, a search for "Sun Fire" yields the same results as a search for "sun fire." Exact Phrase SearchTo find an exact phrase, enclose the phrase in quotation marks (""). You can combine words and phrases in the same search query. For example, when you search for the phrase "solaris system" CD, documents that contain the complete phrase "solaris system" and the word "CD" are listed. Common WordsBy default, Oracle Search ignores common words such as "where" and "how" because they tend to slow down your search without improving the search results. However, if a common word is required to obtain the desired search results, you can include it by preceding the word with a plus sign (+). For phrases that include common words, enclose the phrase in quotation marks. For example, the search query install netbeans +how +to yields search results that must include the common words "how" and "to." Alternatively, you could enclose the phrase "how to" in quotation marks, as in the search query install netbeans "how to" Excluded WordsIf you do not want a certain word to appear in the search results, precede the word with a minus sign (-). The search results will prefer documents with that word excluded, though the word isn't necessarily excluded in all cases. For example, the search query java beans -enterprise yields search results that prefer documents that contain the words "java" and "beans" but exclude the word "enterprise." Working With the Search ResultsThis section describes what happens after you submit your
search query on the docs.sun.com site. Note - A large number of search hits might indicate that you need to narrow your search, either by changing your search text or by searching within a specific book. For more information, see Constructing Your Search Syntax and Narrowing Your Search.
Note - Password-protected documents are not returned in the search results. |
![]() |