Differences between revisions 1 and 2
Revision 1 as of 2007-01-26 15:34:40
Size: 309
Editor: wangzhen
Comment:
Revision 2 as of 2007-01-26 15:36:09
Size: 1477
Editor: wangzhen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
~/helloxapian
 
~/helloxapian
Line 6: Line 8:
Line 7: Line 10:
Line 8: Line 12:
Line 9: Line 14:
Line 10: Line 16:
Line 11: Line 18:
hello.txt文件内容:
world.txt文件内容:



 hello.txt文件内容:

 Welcome to the Xapian project website.
Xapian is an Open Source Search Engine Library, released under the GPL. It's written in C++, with bindings to allow use from Perl, Python, PHP, Java, Tcl, C#, and Ruby (so far!)
Xapian is a highly adaptable toolkit which allows developers to easily add advanced indexing and search facilities to their own applications. It supports the Probabilistic Information Retrieval model and also supports a rich set of boolean query operators.
If you're after a packaged search engine for your website, you should take a look at Omega: an application we supply built upon Xapian. Unlike most other website search solutions, Xapian's versatility allows you to extend Omega to meet your needs as they grow.

 world.txt文件内容:

 The 0.9 branch features a few API changes, the most notable being a rewritten QueryParser which is reentrant, has encapsulated internals, and parses better than the old one. Note that the examples are now a subdirectory of xapian-core, so there is no longer a separate xapian-examples download (most of the size of the xapian-examples download was due to configure and other generated files!)
Line 14: Line 33:

Xapian 初体验之 hello xapian

文件夹结构:

  • ~/helloxapian

~/helloxapian/indexfiles.py

~/helloxapian/search.py

~/helloxapian/test

~/helloxapian/test/hello.txt

~/helloxapian/test/world.txt

~/helloxapian/test/abc.txt

  • hello.txt文件内容: Welcome to the Xapian project website.

Xapian is an Open Source Search Engine Library, released under the GPL. It's written in C++, with bindings to allow use from Perl, Python, PHP, Java, Tcl, C#, and Ruby (so far!) Xapian is a highly adaptable toolkit which allows developers to easily add advanced indexing and search facilities to their own applications. It supports the Probabilistic Information Retrieval model and also supports a rich set of boolean query operators. If you're after a packaged search engine for your website, you should take a look at Omega: an application we supply built upon Xapian. Unlike most other website search solutions, Xapian's versatility allows you to extend Omega to meet your needs as they grow.

  • world.txt文件内容:

    The 0.9 branch features a few API changes, the most notable being a rewritten QueryParser which is reentrant, has encapsulated internals, and parses better than the old one. Note that the examples are now a subdirectory of xapian-core, so there is no longer a separate xapian-examples download (most of the size of the xapian-examples download was due to configure and other generated files!)

abc.txt文件内容:

xapian004 (last edited 2009-12-25 07:15:29 by localhost)