- 授权协议: Apache
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: http://lucene.apache.org/pylucene/
- 软件文档: http://lucene.apache.org/pylucene/documentation/install.html
软件介绍
PyLucene 是 Python 语言用来访问 Lucene 索引库的封装。通过 PyLucene 可以用来创建索引和对索引进行搜索。PyLucene 使用 JCC 构建。
示例说明:
Java 代码:
for (int i = 0; i < hits.length(); i++) {
Document doc = hits.doc(i);
System.out.println(hits.score(i) + " : " + doc.get("title"));
}而 Python 的代码则是:
for hit in hits: hit = Hit.cast_(hit) print hit.getScore(), ':', hit.getDocument['title']
Data Structures and Algorithms in Java
Robert Lafore / Sams / 2002-11-06 / USD 64.99
Data Structures and Algorithms in Java, Second Edition is designed to be easy to read and understand although the topic itself is complicated. Algorithms are the procedures that software programs use......一起来看看 《Data Structures and Algorithms in Java》 这本书的介绍吧!
