问题描述
我被引用为,作为更强大的替代品搜索Api。但我不知道如何将LAE纳入我现有的项目。我现有的项目不使用maven。即使看似有一套说明,我也不确定如何开始。我正在使用eclipse。什么是 for Dummy 版本?我已经尝试从git复制zip,然后将项目导入到eclipse中:这不行。然后,我尝试将源文件复制到我自己的项目中的一个包中:这也没有。如何使用我的项目来编译这个东西?我希望它只是一个罐子。无论如何,感谢任何帮助。
I was referred to Lucene for App Engine (LAE) as a more robust replacement for the Search Api. But I am not sure how to incorporate LAE into my existing project. My existing project does not use maven. I am not really sure how to get started even though seemingly there is a set of instructions. I am using eclipse. What's the for Dummy version? I already tried copying the zip from git and then import project into eclipse: that didn't work. Then I tried copying the source files into a package in my own project: that didn't work either. How do I go about getting this thing to compile with my Project? I wish it were just a jar. Anyway, thanks for any help.
推荐答案
而不是直接包括Lucene,我强烈建议您查看弹性搜索的一个例子如果您要替换搜索API:
Rather than including Lucene directly, I would highly recommend looking at spinning up an instance of elasticsearch if you're looking to replace the search api: https://www.elastic.co/products/elasticsearch
请注意,Elasticsearch由Lucene支持,但将Lucene的复杂性隐藏在非常丰富的API之后。
Note, that Elasticsearch is backed by Lucene but hides the complexity of Lucene behind a very rich API.
这篇关于如何在我现有的项目中包含Lucene for App Engine的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!