I've uploaded Xapian 1.0.6, which as usual you can download from: http://www.xapian.org/download.php Some highlights: This release adds the ability to perform single-ended value range checks. The stemmers have been sped up (by around 2.5%). xapian-check and xapian-compact now handle user metadata better. We now update the base files atomically to avoid problems with reading processes finding partially written ones. Lazily created tables now get the correct revision. OS/2 support has been integrated. omindex now supports indexing DjVu files. Three new OmegaScript commands have been added: $addfilter, $lower, $upper. The Python module now always has the extension which Python expects, which fixes a problem on Mac OS X. For an broader overview see: http://wiki.xapian.org/ReleaseOverview/1.0.6 The full lists of user-visible changes are linked to from there, and are also available via the "[news]" links on the download page. As always, if you encounter problems, please report them here, or to the bugtracker. Search::Xapian 1.0.6.0 and Debian and Ubuntu packages should follow later this week. Cheers, Olly
Hi all, There are now build files for MSVC available at the usual place: http://lemurconsulting.com/Products/Xapian/Overview.shtml Cheers Charlie
On Tue, Mar 18, 2008 at 8:00 PM, Olly Betts <olly at survex.com> wrote:> I've uploaded Xapian 1.0.6, which as usual you can download from: > > http://www.xapian.org/download.php > > Some highlights: > > This release adds the ability to perform single-ended value range checks. > > The stemmers have been sped up (by around 2.5%). > > xapian-check and xapian-compact now handle user metadata better. >Good job on that. I can confirm databases with metadata are compacted correctly, except that, AFAICT, this metadata is not carried over to the compacted database. Shall I file a bug report ? Fabrice
Le mercredi 19 mars 2008 ? 14:55 +0000, Charlie Hull a ?crit :> Hi all, > > There are now build files for MSVC available at the usual place: > > http://lemurconsulting.com/Products/Xapian/Overview.shtml > > Cheers > > Charlie >And Win32 Python Bindings for 1.0.6 have been successfully built and packaged. Available here: http://www.raptorized.com/xapian-python-win32/ Have a great day :) -- Alexandre Gauthier - Network Analyst / Analyste R?seau The human brain operates at only 10% of its capacity. The rest is overhead for the operating system.
Alexandre, Been wanting to thank you for building these over the past n releases. Absolutely invaluable! Regards, Andrew On Tue, 2008-03-25 at 11:14 -0400, Alexandre Gauthier wrote:> And Win32 Python Bindings for 1.0.6 have been successfully built and packaged. > > Available here: > > http://www.raptorized.com/xapian-python-win32/ > > Have a great day :) >
I've just noticed that I made a mistake updating the library versioning information in Xapian 1.0.6. I updated the comment to note that it was 20:0:5 for 1.0.6, but left the actual value at 19:0:4. This isn't really really bad as the two versions are upwardly compatible, but it does mean that there could be problems with applications using the new features in 1.0.6 (Unicode::toupper(), Query::OP_VALUE_GE, and Query::OP_VALUE_LE) which have been linked against vanilla 1.0.6 thinking they'll work fine with 1.0.5. Both Omega 1.0.6 and xapian-bindings 1.0.6 fall into this category. I recommend applying this patch, particularly if you are packaging xapian-core: http://oligarchy.co.uk/xapian/patches/xapian-1.0.6-fix-library_version_info.patch I haven't released updated Debian or Ubuntu packages yet, and I don't think the RPMs have on xapian.org have been updated either (neither are accessible currently anyway because of the server issues). I'm going to see if I can find a way to automatically check this has been updated to prevent this happening again. Cheers, Olly
On Tue, Mar 18, 2008 at 02:05:41AM +0000, Olly Betts wrote:> Search::Xapian 1.0.6.0 and Debian and Ubuntu packages should follow > later this week.One extra-long week later, Search::Xapian 1.0.6.0 is now available: http://xapian.org/download.php Overview: You can now construct a Query from a mixed list of Query objects and strings (previously the list had to be all Query objects or all strings). OP_SCALE_WEIGHT, OP_VALUE_GE, OP_VALUE_LE, and the corresponding Query constructor overloads are now wrapped. The optional prefix argument to WritableDatabase::allterms_begin() and WritableDatabase::allterms_end() is now wrapped. We've added a workaround to avoid problems from accessing deleted Sorter objects. And the documentation has been improved. The Debian and Ubuntu packages won't be out for a bit longer. The main issue is I can't get my desktop box to boot since shipping it, and that is all set up for building them - in particular it has the archive signing key on. The disks should be OK as I took them in hand luggage but I don't currently have a way to read data off them! It'll also be simpler to upload packages once the webserver is sorted out properly again. Hopefully that'll happen fairly soon. Cheers, Olly
Jarrod Roberson
2008-Apr-07 16:28 UTC
[Xapian-discuss] Java Swig bindings for Xapian 1.0.6 on Windows
On Mon, Apr 7, 2008 at 11:46 AM, Charlie Hull <charlie at juggler.net> wrote:> Jarrod Roberson wrote: > > > > > > > On Mon, Apr 7, 2008 at 10:30 AM, Charlie Hull <charlie at juggler.net<mailto: > > charlie at juggler.net>> wrote: > > > > Hi all, > > > > I've now managed to create a makefile for the Java Swig bindings > > under > > Windows: I have now added this to the MSVC makefiles available from > > http://lemurconsulting.com/Products/Xapian/Overview.shtml > > > > > > I got xapian to compile without any errors finally. > > There are a couple of small issues I have discovered with the java-swig > > bindings. > > 1. java-swig\Makefile is hard coded somewhere to use JDK 1.6.05, I had > > 1.6.04, I downloaded the newer version and it worked. > > > > Hi Jarrod, > > This is from config.mak, which you'll need to edit to match your system - > look for the Java section. > > > > > 2. but now I get the following, I am almost there :-( > > > > C:\Documents and Settings\jroberson\My > > Documents\DOWNLOADS\xapian-bindings-1.0.6\java-swig>nmake > > > > Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 > > Copyright (C) Microsoft Corporation. All rights reserved. > > > > "C:\Program Files\Java\jdk1.6.0_05\bin\javac.exe" -classpath . -d > > . Auto.java > > "C:\Program Files\Java\jdk1.6.0_05\bin\javac.exe" -classpath . -d > > . Flint.java > > "C:\Program Files\Java\jdk1.6.0_05\bin\javac.exe" -classpath . -d > > . InMemory.java > > "C:\Program Files\Java\jdk1.6.0_05\bin\javac.exe" -classpath . -d > > . Quartz.java > > "C:\Program Files\Java\jdk1.6.0_05\bin\javac.exe" -classpath . -d > > . Remote.java > > "C:\Program Files\Java\jdk1.6.0_05\bin\javac.exe" -classpath . -d > > . Version.java > > "C:\Program Files\Java\jdk1.6.0_05\bin\javac.exe" -classpath . -d > > . Xapian.java > > "C:\Program Files\Java\jdk1.6.0_05\bin\jar.exe" -cf > > ..\..\xapian-core-1.0.6\win32\Release\Java-Swig/xapian_jni.jar Auto.class > > BM25Weight.class BoolWeight.class Database.class DateValueRangePr > > ocessor.class Document.class Enquire.class ESet.class ESetIterator.class > > ExpandDecider.class Flint.class InMemory.class MatchDecider.class MSet.class > > MSetIterator.class MultiValueSorter.class NumberVa > > lueRangeProcessor.class PositionIterator.class PostingIterator.class > > Quartz.class Query.class QueryParser.class Remote.class RSet.class > > SimpleStopper.class Sorter.class Stem.class Stopper.class String > > ValueRangeProcessor.class SWIGTYPE_p_std__string.class > > TermGenerator.class TermIterator.class TradWeight.class ValueIterator.class > > ValueRangeProcessor.class Version.class Weight.class WritableDatabase > > .class Xapian.class XapianConstants.class XapianJNI.class > > Enquire*docid_order.class Query*op.class QueryParser*feature_flag.class > > QueryParser*stem_strategy.class TermGenerator*flags.class > > java.io.FileNotFoundException: > > ..\..\xapian-core-1.0.6\win32\Release\Java-Swig\xapian_jni.jar (The system > > cannot find the path specified) > > > > The makefiles for the bindings have a 'relative path' set up in the first > few lines, this will probably also need changing to match your system - it's > called XAPIAN_CORE_REL_JAVA. > > Once you fix this it should all work! Note that the make files are copied > across to the bindings directory during the main make process (i.e. when you > build the rest of Xapian) - so the best thing to do is find the > xapian-core-1.0.6/win32 folder, edit win32_bindings_java-swig.mak and then > from within this folder run 'nmake COPYMAKFILES' which will copy it across. > > It's all a bit complicated I'm afraid but explained in more detail in > README. > > Cheers > > Charlie > > > at java.io.FileOutputStream.open(Native Method) > > at java.io.FileOutputStream.<init>(FileOutputStream.java:179) > > at java.io.FileOutputStream.<init>(FileOutputStream.java:70) > > at sun.tools.jar.Main.run(Main.java:150) > > at sun.tools.jar.Main.main(Main.java:1022) > > NMAKE : fatal error U1077: '"C:\Program > > Files\Java\jdk1.6.0_05\bin\jar.exe"' : return code '0x1' > > Stop. > > > >ok I just wanted to make sure this made it back to the mailing list. I got it all working now, thanks Charlie for your awesome work. Here is a tip that others might over look. Be sure and add zlib1.dll to your C:\WINDOWS\system directory or you will get a very unhelpful error from the bindings about not being able to find dependencies without it actually telling you what dependency it needs. There is still one problem, and it seems to be more with SWIG than anything else. the java-swig bindings end up in the default package instead of the Xapian package. Once that is fixed everything look slike it will be good to go.