<html>
<head>
<title>検索説明</title>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
</head>

<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000ff" background="../img/ikoyo3.gif">
<h2 align="right"><a href="e-kensaku.htm">English</a></h2>
<h2 align="left"> <a name="query">検索式</a></h2>
<h3><a name="query-term">単一単語検索</a></h3>
<p> 調べたい単語を一つ指定するだけのもっとも基本的な検索手法です。 例: </p>
<p class="example"> <font color="#330099">車椅子用トイレ</font> </p>
<h3><a name="query-and">AND検索</a></h3>
<p> ある単語とある単語の両方を含む文書を検索します。検索結果を絞 り込むのに有効です。3つ以上の単語を指定することも可能です。 単語と単語の間に <code class="operator">and</code> 
  を挿むか､単語を空白で区切って羅列するとそれらの語すべてを含む文書をAND検索します。 例: </p>
<p class="example"><font color="#330099">三宮 and 椅子用トイレ</font></p>
<p class="example"><font color="#330099">三宮 椅子用トイレ</font></p>
<p> </p>
<h3><a name="query-or">OR検索</a></h3>
<p> ある単語とある単語のどちらかを含む文書を検索します。3つ以上の単語を指定することも可能です。単語と単語の間に <code class="operator">or</code> 
  を挿みます。例: </p>
<p class="example"><font color="#330099">手話 or 公衆用ＦＡＸ</font></p>
<h3><a name="query-not">NOT検索</a></h3>
<p> ある単語を含み、ある単語を含まない文書を検索します。3つ以上の単語を指定することも可能です。単語と単語の間に <code class="operator">not</code> 
  を挿みます。例: </p>
<p class="example"><font color="#330099">エレベーター not 三宮</font></p>
<h3><a name="query-grouping">グループ化</a></h3>
<p> AND検索、OR検索、NOT検索を括弧でグループ化できます。括弧の両隣には空白を入れる必要があります。例: </p>
<p class="example"><font color="#330099">( 手話 or 公衆用FAX ) and エレベーター not 三宮</font></p>
<h3><a name="query-phrase">フレイズ検索</a></h3>
<p> 2語以上からなる複合語を検索します。 <code class="operator">"..."</code> と2重引用符で、あるいは <code class="operator">{...}</code> 
  と中括弧で囲みます。Namazuのフレイズ検索は精度が 100 % ではないため、ときどき誤ることがあります。例: </p>
<p class="example">{GNU Emacs}</p>
<h3><a name="query-substring">部分一致検索</a></h3>
<p> 部分一致検索には前方一致、中間一致、後方一致の 3種類があります。 </p>
<dl> 
  <dt>前方一致検索 
  <dd><code class="example"><font color="#330099">inter*</font></code><font color="#330099"> 
    </font>(<code>inter</code> から始まる単語を含む文書を検索) 
  <dt>中間一致検索 
  <dd><code class="example"><font color="#330099">*text*</font></code> (<code>text</code> 
    を内包する単語を含む文書を検索) 
  <dt>後方一致検索 
  <dd><code class="example"><font color="#330099">*net</font></code> (<code>net</code> 
    で終わる単語を含む文書を検索) 
</dl>
<h3><a name="query-regex">正規表現検索</a></h3>
<p> 検索するキーワードを正規表現で指定します。正規表現は <code class="operator">/.../</code> のようにスラッシュ記号で囲みます。正規表現のエンジンには<a href="http://www.ruby-lang.org/">Ruby</a>のコードを利用しています。正規表現の書式は<a href="http://www.perl.com/">Perl</a>とほぼ同じです。 
  <br>
  <font color="#FF0033">文字が含まれているのにヒットしない時などにおすすめです。</font> 例: </p>
<p class="example"><font color="#330099">/ホテル/</font></p>
<h3><a name="query-notes">特記事項</a></h3>
<ul>
  <li>いずれの検索方法でもアルファベットの大文字・小文字の区別はしません。 
  <li>日本語の複合語は形態素単位に分割し、それらを<a href="#query-phrase"> フレイズ検索</a>します。分割は不適切に行なわれることがあります。 
  <li>JIS X 0208 (いわゆる全角文字) の英数字と記号の一部 (ASCIIと重複しているもの) は ASCII (いわゆる半角文字) として処理されます。 
  <li>記号を含む語の検索ができます。例: <code>TCP/IP</code>。 ただし、記号の処理は完全ではないので <code>TCP and 
    IP</code> のように分割して<a href="#query-and">AND検索</a>をかけた方が取りこぼしがありません (その代わり余計なファイルまでヒットしてしま 
    う可能性があります)。 
  <li>中間一致・後方一致、正規表現、フィールド指定の検索には少し時間がかかります。 
  <li><code class="operator">and</code>, <code class="operator">or</code>, <code class="operator">not</code> 
    を単語として検索したいときはそれぞれ、 <code class="operator">"..."</code> と2重引用符で、あるいは <code class="operator">{...}</code> 
    と中括弧で囲みます。 
</ul>
<div align="center"> 
  <hr>
  <b><font size="+1">バリアフリー情報一覧</font></b> 
  <table cellpadding="3" border="2">
    <tr> 
      <td bgcolor="#CCCCFF">一般駐車場</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">車椅子用駐車場</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">車椅子備考</td>
    </tr>
    <tr> 
      <td bgcolor="#CCFFFF">点字ブロック</td>
    </tr>
    <tr> 
      <td bgcolor="#CCFFFF">点字案内</td>
    </tr>
    <tr> 
      <td bgcolor="#CCFFFF">音声ガイド</td>
    </tr>
    <tr> 
      <td bgcolor="#CCFFFF">盲導犬</td>
    </tr>
    <tr> 
      <td bgcolor="#CCFFCC">手話対応</td>
    </tr>
    <tr> 
      <td bgcolor="#CCFFCC">公衆用ＦＡＸ</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">介助犬</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">スロープ</td>
    </tr>
    <tr> 
      <td bgcolor="#CCCCFF">一般エスカレーター</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">車椅子用エスカレーター</td>
    </tr>
    <tr> 
      <td bgcolor="#CCCCFF">一般エレベーター</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">車椅子用エレベーター(鏡あり)</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">車椅子用エレベーター(鏡なし)</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">車椅子用トイレ</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">呼び出しブザー</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">車椅子用観覧席</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">車椅子用公衆電話</td>
    </tr>
    <tr> 
      <td bgcolor="#CCFFCC">難聴者用公衆電話</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">車椅子用自動販売機</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">車椅子用宿泊設備</td>
    </tr>
    <tr> 
      <td bgcolor="#FFCCCC">車椅子貸し出し</td>
    </tr>
    <tr> 
      <td bgcolor="#FF6699">ベビーカー貸し出し</td>
    </tr>
    <tr> 
      <td bgcolor="#FFFF00">身障者割引</td>
    </tr>
    <tr> 
      <td bgcolor="#FF6699">託児室</td>
    </tr>
    <tr> 
      <td bgcolor="#FF6699">授乳室</td>
    </tr>
    <tr> 
      <td bgcolor="#CCCCFF">英語対応</td>
</tr>
    <tr> 
      <td bgcolor="#CCCCFF">韓国語対応</td>
</tr>
  </table>
</div>
</body>
</html>
