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.java
error 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?
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.
I've successfully used Lucene 3.3 for really simple search dute and it works. However, I have no idea what the memory usage impact is. In the 3.3 there is no dependency from RMI. If you need 2.3.2 and you have the source code you can free Lucene from the RMI dependency (I've read about a guy who succeeded in doing this).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With