冥土

ルーセンサーチエンジンのPerlポートです。
今すぐダウンロード

冥土 ランキングとまとめ

広告

  • Rating:
  • ライセンス:
  • Perl Artistic License
  • 価格:
  • FREE
  • 出版社名:
  • Tony Bowden and Marty Pauley
  • 出版社のWebサイト:
  • http://search.cpan.org/tmtm/

冥土 タグ


冥土 説明

PleuceneはLucene検索エンジンのPerlポートです。 PleceneはLucene Search EngineのPerlポートです。 $ doc-> add(plucene :: document :: field-> text(content => $ content)); $ doc-> add(plucene :: document :: field-> text(author => ""あなたの名前 "))新着(); My $ Writer = Plucene :: Index :: Writer-> New( "My_Index"、$ Analyzer、1); $ WRITER - > ADD_DOCUMENT($ DOC); UNDEF $ WRITER; #close検索My $ PARSER = PLUCENE :: QueryParser-> new({Analyzer => Plucene :: Analysis ::)、default => "text"#指定されていないクエリのデフォルトフィールド} ); My $ QUERY = $ PARSER-> parse( '著者: "あなたの名前"');その後、クエリをindexSearcherに渡し、Collect My $ Searcher = Plucene :: Search :: indexSearcher-> new( "my_index");私の@docs;私の$ hc = lecene :: search :: HitCollector-> new(collect => sub {My($ self、$ doc、$ score)= @_; @docs、$ searcher-> doc($ doc); ); $ Searcher-> search_hc($ query => $ HC);要件: ・Perl


冥土 関連ソフトウェア