[Xapian-devel] [Xapians-devel] Project: Java Bindings Improvements
James Aylett
james-xapian at tartarus.org
Fri Jan 2 12:19:02 GMT 2015
Please do not email individuals about Xapian; we have a mailing list so more people can both help and benefit from discussions. Xapian-devel added to cc.
On 2 Jan 2015, at 01:21, Gaurav Mishra B.Tech., ECE, IIT(BHU),Varanasi (INDIA) <gaurav.mishra.ece11 at iitbhu.ac.in> wrote:
> In past days i worked with one of the java API i.e. JAVA ME and used
> wrapper class for wrapping some java classes and function that will
> be accessed through JavaScript.
Through JavaScript via Rhino?
> As mentioned in the project description some of the function are not
> working properly and some of the them still to be include.So,Is there
> any reference or code with the help of that i can understand how the
> whole thing works here or any repository link that help in
> understanding the actual working ?
You should start by getting an overall understanding of how Xapian works. I strongly recommend working through http://trac.xapian.org/wiki/GSoC%20Guide which will get you up to speed with Xapian itself.
For a look at the current state of the Java bindings, see xapian-bindings/java/SmokeTest.java; ignore the commented code. However there’s immediately one thing that jumps out from there, which is lack of exception handling in the bindings. (Also, that test file should probably be converted to use jUnit, which should make it more readable.)
For more information about how SWIG bindings work, please see the SWIG documentation, which is linked from the project description.
J
--
James Aylett, occasional trouble-maker
xapian.org
More information about the Xapian-devel
mailing list