Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libdbix-fulltextsearch-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libdbix-fulltextsearch-perl  ]

软件包: libdbix-fulltextsearch-perl (0.73-12)

Indexing documents with MySQL as storage

DBIx::FullTextSearch is a flexible solution for indexing contents of documents. It uses the MySQL database to store the information about words and documents and provides Perl interface for indexing new documents, making changes and searching for matches. For DBIx::FullTextSearch, a document is nearly anything -- Perl scalar, file, Web document, database field.

The basic style of interface is shown above. What you need is a MySQL database and a DBI with DBD::mysql. Then you create a DBIx::FullTextSearch index -- a set of tables that maintain all necessary information. Once created it can be accessed many times, either for updating the index (adding documents) or searching.

DBIx::FullTextSearch uses one basic table to store parameters of the index. Second table is used to store the actual information about documents and words, and depending on the type of the index (specified during index creation) there may be more tables to store additional information (like conversion from external string names (eg. URL's) to internal numeric form). For a user, these internal thingies and internal behaviour of the index are not important. The important part is the API, the methods to index document and ask questions about words in documents. However, certain understanding of how it all works may be useful when you are deciding if this module is for you and what type of index will best suit your needs.

其他与 libdbix-fulltextsearch-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libdbd-mysql-perl
    Perl5 database interface to the MariaDB/MySQL database
  • dep: libparse-recdescent-perl
    Perl module to create and use recursive-descent parsers
  • dep: libwww-perl
    simple and consistent interface to the world-wide web
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下载 libdbix-fulltextsearch-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 43.7 kB125 kB [文件列表]