开发者

Can I build Lucene database using .NET then use ZendFramework to read that database later?

I have a SQLSERVER database and I want to implement the search feature on PHP. I am just wondering if I can use .NET language (since there is .NET library available) to build Lucene index database then us开发者_如何学Cing ZendFramework to read the from the built database?


According to this article: http://framework.zend.com/manual/en/zend.search.lucene.java-lucene.html the zend lucene files are binary compatible with the Java implementation.

The lucene.net library is also binary compatible with the Java implementation.

Therefore I imagine it is feasible to write an index in .NET and read it in PHP.


Generally yes, but you'll need to be careful about version numbers -- Lucene.NET is currently supporting 2.9.4 which is slightly dated. Not sure what Zend is using.

Best bet here is probably to use SOLR to hide the mechanics of the index completely.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜