本文介绍了Lucene的Andr​​oid中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Andr​​oid和 Lucene的。我可以使用 Lucene的在Android的列表视图搜索。我曾尝试导入包2.3.2 键,还使用了罐子库文件。然而,在 SearchFiles.java 错误错误是:
的类型了java.rmi.Remote无法得到解决。这是间接的.class文件中引用。

I'm new to android and Lucene. can I use Lucene for search in android list view.I have tried importing the package 2.3.2 and also used the jar files in library.However, there is an error in SearchFiles.javaerror is :
The type java.rmi.Remote cannot be resolved. It is indirectly referenced from .class files.

有一种可能性,即该文件犯规存在机器人。这是什么问题?

There is a possibility that this file doesnt exist for android. Is this the problem?

推荐答案

您可能需要使用本地全搜索文本功能叫做 FTS3 的SQLite 相反,它可在Android和它比较快(因为它本机运行),并使用较少的内存比下的Dalvik VM中的Java Lucene的实现。

You may want to use the native Full Text Search feature called FTS3 in SQLite instead, which is available in Android and it is faster (since it is running natively) and uses less memory than a Java Lucene implementation under Dalvik VM.

这篇关于Lucene的Andr​​oid中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 11:00
查看更多