1
<?xml version="1.0" encoding="utf-8"?>
2
<page xmlns="http://projectmallard.org/1.0/" xmlns:e="http://projectmallard.org/experimental/" type="topic" style="task" id="search" xml:lang="zh_CN">
5
<link type="guide" xref="index#manage"/>
6
<link type="seealso" xref="sort"/>
7
<desc>搜索你的媒体并执行基本的查询。</desc>
8
<revision pkgversion="1.6" version="0.1" date="2009-01-22" status="draft"/>
10
<name>Paul Cutler</name>
11
<email>pcutler@gnome.org</email>
16
<name>GNOME Documentation Project</name>
19
<include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
22
<title>搜索你的 Banshee 库</title>
24
<p>强大的搜索语言是 Banshee 的特性。你可以用基本的搜索词或者用 Banshee 的高级搜素术语执行详细搜索来简单快速地搜索你的库。</p>
26
<p>要在 Banshee 中执行媒体搜索,按下 <key>S</key> 或点击在 Banshee 库视图右上角的<gui>搜索</gui> 框。</p>
28
<p>A search query consists of some basic terms, for example,
29
<em>dave matthews</em>. By entering <em>dave matthews</em> in the search box,
30
Banshee will search all metadata fields including Track Title, Album Title,
31
Album Artist, Year, etc. Any track whose metadata includes <em>dave</em>
32
and <em>matthews</em> will be returned. Search terms are case insensitive, meaning you don't have to capitalize. <em>dave</em>, <em>Dave</em>, and <em>DAVE</em>
33
all mean the same thing when searching.</p>
35
<section id="operators">
37
<p>Operators can be placed between any two search words or placed before a
38
search word. The default operation is <gui>AND</gui> and is used when
39
no other operators are used between two search terms. Because it is the
40
default, there is no explicit AND operator.</p>
42
<p>Other basic operators include <gui>OR</gui> and <gui>NOT</gui>. Together,
43
these three operations can yield very powerful queries to help you search
48
<section id="logical">
49
<title>Logical Operators and Examples</title>
50
<p>The following is a list of logical operators and examples of the search
51
results when searching using them.</p>
53
<table frame="all" rules="rows" shade="rows">
55
<td><p><gui>操作</gui></p></td> <td><p><gui>描述</gui></p></td>
58
<td><p><em>default</em>, <em>white space</em></p></td> <td><p>
59
Search for two terms with a space between the two words or terms.</p></td>
62
<td><p>OR, or, <key>|</key>, <key>,</key></p></td> <td><p>
63
Search results will be two songs with either result in any field.</p></td>
66
<td><p>NOT, not,<key>-</key></p></td> <td><p>
67
Do not display search results with any search term that follows the
68
operator of NOT, not,<key>-</key>.</p></td>
73
<p>Examples of logical operations include:</p>
75
<table frame="all" rules="rows" shade="rows">
77
<td><p><gui>Query</gui></p></td> <td><p><gui>描述</gui></p></td>
80
<td><p>dave matthews</p></td> <td><p>
81
Matches any fields in a track containing both <em>dave</em> and
82
<em>matthews</em>.</p></td>
85
<td><p>dave, matthews</p></td> <td><p>
86
Matches any fields in a track containing either <em>dave</em> or
87
<em>matthews</em>.</p></td>
90
<td><p>dave or matthews</p></td> <td><p>
91
Matches any fields in a track containing either <em>dave</em> or
92
<em>matthews</em>.</p></td>
95
<td><p>dave | matthews</p></td> <td><p>
96
Matches any fields in a track containing either <em>dave</em> or
97
<em>matthews</em>.</p></td>
100
<td><p>-"dave matthews"</p></td> <td><p>
101
Displays all tracks whose fields do not contain <em>dave
102
matthews</em>.</p></td>
107
<p>For more information on performing more complex search queries,
108
see the <link xref="adv-search"/> page.</p>