[Xapian-devel] Proposed changes to omindex

Michael Trinkala mdt at trinkala.com
Sun Aug 27 09:24:42 BST 2006


The tar file can be found here: https://www.trinkala.com/xapian/sort_collapse.tgz

Change summary for omega
------------------------
- Added the document’s last modified time to the value table (ID 0). It is stored as a 4 byte
string in big endian format
- Added the document’s MD5 to the value table (ID 1) as a 16 byte string and C term prefix to
allow collapsed documents to be easily expanded/searched


Tar file contents
-----------------
diff.txt - SVN diff of all the changes against revision 7156

Added the following files from the GNU testutils-2.1 package
md5.c
md5.h
unlocked-io.h

utils.h
utils.cc
   - added an enum for the value id constants
   - added md5 and big endian date conversion functions

omindex.cc
   - add the two new value items and the new C prefix term during indexing

docs/omegascript.txt
query.cc
   - added $md5 and $valuedate commands/documentation

docs/termprefixes.txt
   - added C prefix documentation

configure.ac
   - added a check for endianness

Makefile.am
   - added the md5.c file to the SOURCES list

Thanks,
Trink








More information about the Xapian-devel mailing list