<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:e="http://projectmallard.org/experimental/" type="topic" style="task" id="search" xml:lang="zh_CN">

  <info>
    <link type="guide" xref="index#manage"/>
    <link type="seealso" xref="sort"/>
    <desc>搜索你的媒体并执行基本的查询。</desc>
    <revision pkgversion="1.6" version="0.1" date="2009-01-22" status="draft"/>
    <credit type="author">
      <name>Paul Cutler</name>
      <email>pcutler@gnome.org</email>
    </credit>    
<!--
    <copyright>
      <year>2010</year>
      <name>GNOME Documentation Project</name>
    </copyright>
-->
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
  </info>

  <title>搜索你的 Banshee 库</title>    
  
  <p>强大的搜索语言是 Banshee 的特性。你可以用基本的搜索词或者用 Banshee 的高级搜素术语执行详细搜索来简单快速地搜索你的库。</p>
  
  <p>要在 Banshee 中执行媒体搜索，按下 <key>S</key> 或点击在 Banshee 库视图右上角的<gui>搜索</gui> 框。</p>
  
  <p>A search query consists of some basic terms, for example, 
  <em>dave matthews</em>.  By entering <em>dave matthews</em> in the search box,
   Banshee will search all metadata fields including Track Title, Album Title,
   Album Artist, Year, etc.  Any track whose metadata includes <em>dave</em> 
   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>
   all mean the same thing when searching.</p>

<section id="operators">
  <title>基本操作</title>
  <p>Operators can be placed between any two search words or placed before a 
  search word.  The default operation is <gui>AND</gui> and is used when
  no other operators are used between two search terms.  Because it is the
  default, there is no explicit AND operator.</p>
  
  <p>Other basic operators include <gui>OR</gui> and <gui>NOT</gui>.  Together,
  these three operations can yield very powerful queries to help you search
  your media.</p>
  
</section>

<section id="logical">
  <title>Logical Operators and Examples</title>
  <p>The following is a list of logical operators and examples of the search
  results when searching using them.</p>
  
  <table frame="all" rules="rows" shade="rows">
  <tr>
    <td><p><gui>操作</gui></p></td>  <td><p><gui>描述</gui></p></td>
  </tr>
  <tr>
    <td><p><em>default</em>, <em>white space</em></p></td> <td><p>
    Search for two terms with a space between the two words or terms.</p></td>
  </tr>
  <tr>
    <td><p>OR, or, <key>|</key>, <key>,</key></p></td> <td><p>
    Search results will be two songs with either result in any field.</p></td>
  </tr>
  <tr>
    <td><p>NOT, not,<key>-</key></p></td> <td><p>
    Do not display search results with any search term that follows the 
    operator of NOT, not,<key>-</key>.</p></td>
  </tr>  
         
</table>

  <p>Examples of logical operations include:</p>
  
  <table frame="all" rules="rows" shade="rows">
  <tr>
    <td><p><gui>Query</gui></p></td>  <td><p><gui>描述</gui></p></td>
  </tr>
  <tr>
    <td><p>dave matthews</p></td> <td><p>
    Matches any fields in a track containing both <em>dave</em> and 
    <em>matthews</em>.</p></td>
  </tr>
  <tr>
    <td><p>dave, matthews</p></td> <td><p>
    Matches any fields in a track containing either <em>dave</em> or
    <em>matthews</em>.</p></td>
  </tr>
  <tr>
    <td><p>dave or matthews</p></td> <td><p>
    Matches any fields in a track containing either <em>dave</em> or
    <em>matthews</em>.</p></td>
  </tr> 
  <tr>
    <td><p>dave | matthews</p></td> <td><p>
    Matches any fields in a track containing either <em>dave</em> or
    <em>matthews</em>.</p></td>
  </tr>       
  <tr>
    <td><p>-"dave matthews"</p></td> <td><p>
    Displays all tracks whose fields do not contain <em>dave
    matthews</em>.</p></td>
  </tr> 
  
  </table> 
  
  <p>For more information on performing more complex search queries,
  see the <link xref="adv-search"/> page.</p>
  
</section>
	
</page>
