关于lucene发展和多语言实现的方向

作者:网络 来源:佚名 更新时间:2008-11-15 10:50:30 点击:
关于lucene发展和多语言实现的方向    多语言lucene的发展无疑是基于java lucene的。一切的功能特性和兼容性的问题都要以java lucene为主。java lucene是其他语言lucene发展的鼻祖。那么多语言lucene的发展应该怎么办呢?看看下面的文字吧:
there is a concerted effort to develop a swig lucene and there is also a clucene and an active lucene4c project. i was crazy enough to contemplate a native ruby port once upon a time, and developed some low-level i/o code and then realized what a maintenance hassle it'd be to keep up with the always evolving java lucene.the pylucene crew (credit where its due, andi vajda!) did something quite amazing... using gcj and swig to interface java lucene with python. this, in my opinion, is the way to future "ports" to any language. let java lucene be the base and all other ports derive from it. i'm not sure why motivates garrett with lucene4c - and i certainly do not want to discourage anyone from tackling this as at the very least it is a great computer science exercise and surely a learning experience for anyone attempting it.if you continue with your port, you are going to have to face the realization that you will always be behind the java version in terms of features and compatibility - unless you're able to implement the features every time you see a commit message.> for example, i know that portersteimmer is deprecated by snowball... > exist> other classes not worth to port now?if you don't plan on spending every waking moment porting, why not join forces with the swig lucene folks and interface to that from delphi?> something else i must know? the code is based in lucene 1.4.3...you're already behind and there has been dramatic changes with the latest codebase that will be lucene 1.9/2.0.作者是:erik , lucene in action 的作者。作者的主要观点是:1、最好利用类似pylucene 的方式来实现lucene的多语言化。2、lucene 1.9/2.0 将会发生重大变化。(我正在翻译中),多语言的lucenene 要么很难在时间上和java lucene保持兼容,要么迁移到多语言的过程很辛苦。每个commit,你都需要跟踪,然后修改......相关连接: 讨论区 swig 简介 google 搜索历史纪录
  • 本文来源于网页设计爱好者web开发社区http://www.html.org.cn收集整理,欢迎访问。