[前][次][番号順一覧][スレッド一覧][生データ]

ximapd-ja:150

From: Shugo Maeda <shugo ruby-lang.org>
Date: Mon, 22 Aug 2005 18:04:54 +0900
Subject: [ximapd-ja:150] Re: Rast以外への対応

前田です。

Shugo Maeda wrote:
> とりあえず、trunkでコードの分割をはじめたのですが、まだ
> 肝心のRast/HyperEstraier部分を分割できていません。
> 検索エンジン依存のコードを置くディレクトリ名でちょっと
> 悩んでいます。
>
> やまださんのコードを尊重すると、/usr/local/share/ximapd/index-engines
> みたいな感じになると思うのですが、index engineという用語が
> ちょっと気になっています。
> そこで/usr/local/share/ximapd/backendsというのを考えたんですが、
> 変でしょうか。
> # 名前は難しい...。

とりあえず、backendにしてcommitしてしまいました。
これにともない、オプションは--backend Rastや--backend HyperEstraier
にしました。
# capitalizeしたり、Hyperを付けたのはクラス名とのマッピングのため
# の設定を無くすためです。

勝手ながらbackend/hyperestraier.rbのCopyright表示にやまださんの
お名前を記述しています。
表記などに問題がありましたら修正をお願いします。

HyperEstraierでも試そうと思ったのですが、debのlibestraier-devと
hyper_estraier_wrappers-0.0.11.tar.gzの組み合わせではなぜか

$ make
g++ -fPIC -Wall -g -O2  -fPIC   -I. -I/usr/lib/ruby/1.8/i386-linux
-I/usr/lib/ruby/1.8/i386-linux -I. -DHAVE_ESTRAIER_H
-I/usr/include/estraier  -c HyperEstraier_wrap.cxx
In file included from HyperEstraier_wrap.cxx:1088:
HyperEstraierWrapper.cpp:25: error: `ESTCONDUSUAL' was not declared in this
   scope
HyperEstraierWrapper.cpp:25: error: enumerator value for `USUAL' not integer
...

のようなエラーでmakeできませんでした:(

お手数ですが、ご確認いただけると助かります。

あと、以下はtypoでしょうか?

=== ruby/ximapd/mail.rb
==================================================================
--- ruby/ximapd/mail.rb  (revision 557)
+++ ruby/ximapd/mail.rb  (local)
@@ -372,7 +372,7 @@
       super
       @mail_store.open_backend do |backend|
         backend.delete_flags(@uid, @item_id, @indexed_obj)
-        @indexed_data =  nil
+        @indexed_obj =  nil
         backend.delete(@uid, @item_id)
       end
     end

-- 
前田 修吾

-- 
archive-> http://qwik.netlab.jp/ximapd-ja/22.html 
ML-> ximapd-ja qwik.netlab.jp

[前][次][番号順一覧][スレッド一覧][生データ]

       140 2005-08-20 23:55 [shugo ruby-lang.org ] Re: Rast以外への対応                    
       143 2005-08-21 00:29 ┗[akira arika.org     ]                                       
       144 2005-08-21 18:27  ┣[akira arika.org     ]                                     
       146 2005-08-21 22:24  ┃┗[shugo ruby-lang.org ]                                   
       147 2005-08-21 23:48  ┃ ┗[akira arika.org     ]                                 
       149 2005-08-22 15:31  ┃  ┗[shugo ruby-lang.org ]                               
->     150 2005-08-22 18:04  ┃   ┣[shugo ruby-lang.org ]                             
       152 2005-08-22 18:34  ┃   ┃┗[akira arika.org     ]                           
       153 2005-08-22 19:00  ┃   ┃ ┣[akira arika.org     ]                         
       155 2005-08-22 22:05  ┃   ┃ ┗[shugo ruby-lang.org ]                         
       151 2005-08-22 18:22  ┃   ┗[akira arika.org     ]                             
       145 2005-08-21 21:57  ┗[shugo ruby-lang.org ]                                     
       148 2005-08-22 12:54   ┗[akira arika.org     ]