mhs-xapian 1.0.18a
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/AUTHORS +1 -0
- data/COPYING +340 -0
- data/ChangeLog +5876 -0
- data/HACKING +101 -0
- data/INSTALL +293 -0
- data/Makefile +722 -0
- data/Makefile.am +26 -0
- data/Makefile.in +722 -0
- data/NEWS +2110 -0
- data/README +59 -0
- data/Rakefile +51 -0
- data/TODO +47 -0
- data/aclocal.m4 +7675 -0
- data/config.guess +1501 -0
- data/config.h +56 -0
- data/config.h.in +55 -0
- data/config.status +1298 -0
- data/config.sub +1705 -0
- data/configure +18536 -0
- data/configure.ac +944 -0
- data/csharp/.deps/xapian_wrap.Plo +1 -0
- data/csharp/AssemblyInfo.cs +40 -0
- data/csharp/AssemblyInfo.cs.in +40 -0
- data/csharp/Auto.cs +46 -0
- data/csharp/BM25Weight.cs +107 -0
- data/csharp/BoolWeight.cs +103 -0
- data/csharp/Database.cs +275 -0
- data/csharp/DateValueRangeProcessor.cs +61 -0
- data/csharp/Document.cs +177 -0
- data/csharp/ESet.cs +94 -0
- data/csharp/ESetIterator.cs +117 -0
- data/csharp/Enquire.cs +274 -0
- data/csharp/ExpandDecider.cs +76 -0
- data/csharp/Flint.cs +58 -0
- data/csharp/InMemory.cs +46 -0
- data/csharp/MSet.cs +193 -0
- data/csharp/MSetIterator.cs +141 -0
- data/csharp/Makefile +868 -0
- data/csharp/Makefile.am +106 -0
- data/csharp/Makefile.in +868 -0
- data/csharp/MatchDecider.cs +76 -0
- data/csharp/MultiValueSorter.cs +63 -0
- data/csharp/NumberValueRangeProcessor.cs +61 -0
- data/csharp/PositionIterator.cs +101 -0
- data/csharp/PostingIterator.cs +125 -0
- data/csharp/Quartz.cs +58 -0
- data/csharp/Query.cs +150 -0
- data/csharp/QueryParser.cs +174 -0
- data/csharp/RSet.cs +102 -0
- data/csharp/Remote.cs +100 -0
- data/csharp/SWIGTYPE_p_std__string.cs +30 -0
- data/csharp/SWIGTYPE_p_std__vectorTXapian__Query_t.cs +30 -0
- data/csharp/SWIGTYPE_p_std__vectorTstd__string_t.cs +30 -0
- data/csharp/SimpleStopper.cs +64 -0
- data/csharp/SmokeTest.cs +178 -0
- data/csharp/Sorter.cs +76 -0
- data/csharp/Stem.cs +66 -0
- data/csharp/Stopper.cs +91 -0
- data/csharp/StringValueRangeProcessor.cs +53 -0
- data/csharp/TermGenerator.cs +152 -0
- data/csharp/TermIterator.cs +125 -0
- data/csharp/TradWeight.cs +107 -0
- data/csharp/ValueIterator.cs +102 -0
- data/csharp/ValueRangeProcessor.cs +76 -0
- data/csharp/Version.cs +60 -0
- data/csharp/Weight.cs +93 -0
- data/csharp/WritableDatabase.cs +153 -0
- data/csharp/Xapian.cs +65 -0
- data/csharp/XapianPINVOKE.cs +1527 -0
- data/csharp/docs/Makefile +450 -0
- data/csharp/docs/Makefile.am +16 -0
- data/csharp/docs/Makefile.in +450 -0
- data/csharp/docs/examples/SimpleExpand.cs +109 -0
- data/csharp/docs/examples/SimpleIndex.cs +71 -0
- data/csharp/docs/examples/SimpleSearch.cs +78 -0
- data/csharp/docs/index.html +211 -0
- data/csharp/util.i +233 -0
- data/csharp/xapian_wrap.cc +10338 -0
- data/csharp/xapian_wrap.h +93 -0
- data/depcomp +632 -0
- data/extconf.rb +20 -0
- data/generic/except.i +80 -0
- data/generic/generic.mk +48 -0
- data/install-sh +520 -0
- data/java-swig/.deps/xapian_wrap.Plo +1 -0
- data/java-swig/Auto.java +35 -0
- data/java-swig/BM25Weight.java +81 -0
- data/java-swig/BoolWeight.java +77 -0
- data/java-swig/Database.java +195 -0
- data/java-swig/DateValueRangeProcessor.java +51 -0
- data/java-swig/Document.java +135 -0
- data/java-swig/ESet.java +71 -0
- data/java-swig/ESetIterator.java +71 -0
- data/java-swig/Enquire.java +246 -0
- data/java-swig/ExpandDecider.java +59 -0
- data/java-swig/Flint.java +43 -0
- data/java-swig/InMemory.java +35 -0
- data/java-swig/MSet.java +143 -0
- data/java-swig/MSetIterator.java +87 -0
- data/java-swig/Makefile +781 -0
- data/java-swig/Makefile.am +132 -0
- data/java-swig/Makefile.in +781 -0
- data/java-swig/MatchDecider.java +59 -0
- data/java-swig/MultiValueSorter.java +51 -0
- data/java-swig/NumberValueRangeProcessor.java +51 -0
- data/java-swig/PositionIterator.java +63 -0
- data/java-swig/PostingIterator.java +83 -0
- data/java-swig/Quartz.java +43 -0
- data/java-swig/Query.java +189 -0
- data/java-swig/QueryParser.java +214 -0
- data/java-swig/RSet.java +79 -0
- data/java-swig/Remote.java +71 -0
- data/java-swig/SWIGTYPE_p_std__string.java +25 -0
- data/java-swig/SimpleStopper.java +51 -0
- data/java-swig/SmokeTest.java +161 -0
- data/java-swig/Sorter.java +59 -0
- data/java-swig/Stem.java +51 -0
- data/java-swig/Stopper.java +63 -0
- data/java-swig/StringValueRangeProcessor.java +43 -0
- data/java-swig/TermGenerator.java +158 -0
- data/java-swig/TermIterator.java +83 -0
- data/java-swig/TradWeight.java +81 -0
- data/java-swig/ValueIterator.java +67 -0
- data/java-swig/ValueRangeProcessor.java +59 -0
- data/java-swig/Version.java +47 -0
- data/java-swig/Weight.java +68 -0
- data/java-swig/WritableDatabase.java +123 -0
- data/java-swig/Xapian.java +39 -0
- data/java-swig/XapianConstants.java +15 -0
- data/java-swig/XapianJNI.java +508 -0
- data/java-swig/run-java-test +6 -0
- data/java-swig/xapian_wrap.cc +12594 -0
- data/java-swig/xapian_wrap.h +91 -0
- data/java/Makefile +660 -0
- data/java/Makefile.am +35 -0
- data/java/Makefile.in +660 -0
- data/java/README +76 -0
- data/java/SmokeTest.java +148 -0
- data/java/native/.deps/Database.Plo +1 -0
- data/java/native/.deps/Document.Plo +1 -0
- data/java/native/.deps/ESet.Plo +1 -0
- data/java/native/.deps/ESetIterator.Plo +1 -0
- data/java/native/.deps/Enquire.Plo +1 -0
- data/java/native/.deps/MSet.Plo +1 -0
- data/java/native/.deps/MSetIterator.Plo +1 -0
- data/java/native/.deps/PositionIterator.Plo +1 -0
- data/java/native/.deps/Query.Plo +1 -0
- data/java/native/.deps/RSet.Plo +1 -0
- data/java/native/.deps/Stem.Plo +1 -0
- data/java/native/.deps/TermIterator.Plo +1 -0
- data/java/native/.deps/WritableDatabase.Plo +1 -0
- data/java/native/.deps/org_xapian_XapianJNI.Plo +1 -0
- data/java/native/.deps/utils.Plo +1 -0
- data/java/native/Database.cc +222 -0
- data/java/native/Document.cc +173 -0
- data/java/native/ESet.cc +79 -0
- data/java/native/ESetIterator.cc +82 -0
- data/java/native/Enquire.cc +271 -0
- data/java/native/MSet.cc +169 -0
- data/java/native/MSetIterator.cc +107 -0
- data/java/native/Makefile +594 -0
- data/java/native/Makefile.am +51 -0
- data/java/native/Makefile.in +594 -0
- data/java/native/PositionIterator.cc +64 -0
- data/java/native/Query.cc +180 -0
- data/java/native/RSet.cc +98 -0
- data/java/native/Stem.cc +75 -0
- data/java/native/TermIterator.cc +107 -0
- data/java/native/WritableDatabase.cc +118 -0
- data/java/native/XapianObjectHolder.h +115 -0
- data/java/native/org_xapian_XapianJNI.cc +78 -0
- data/java/native/org_xapian_XapianJNI.h +1369 -0
- data/java/native/utils.cc +51 -0
- data/java/native/xapian_jni.h +116 -0
- data/java/org/xapian/Database.java +148 -0
- data/java/org/xapian/Document.java +135 -0
- data/java/org/xapian/ESet.java +66 -0
- data/java/org/xapian/ESetIterator.java +97 -0
- data/java/org/xapian/Enquire.java +136 -0
- data/java/org/xapian/ExpandDecider.java +30 -0
- data/java/org/xapian/MSet.java +104 -0
- data/java/org/xapian/MSetIterator.java +132 -0
- data/java/org/xapian/Makefile +580 -0
- data/java/org/xapian/Makefile.am +38 -0
- data/java/org/xapian/Makefile.in +580 -0
- data/java/org/xapian/MatchDecider.java +30 -0
- data/java/org/xapian/PositionIterator.java +89 -0
- data/java/org/xapian/Query.java +190 -0
- data/java/org/xapian/RSet.java +89 -0
- data/java/org/xapian/Stem.java +80 -0
- data/java/org/xapian/TermIterator.java +142 -0
- data/java/org/xapian/WritableDatabase.java +92 -0
- data/java/org/xapian/Xapian.java +114 -0
- data/java/org/xapian/XapianJNI.java +444 -0
- data/java/org/xapian/errors/AssertionError.java +40 -0
- data/java/org/xapian/errors/DatabaseCorruptError.java +40 -0
- data/java/org/xapian/errors/DatabaseError.java +40 -0
- data/java/org/xapian/errors/DatabaseLockError.java +40 -0
- data/java/org/xapian/errors/DatabaseModifiedError.java +40 -0
- data/java/org/xapian/errors/DatabaseOpeningError.java +40 -0
- data/java/org/xapian/errors/DocNotFoundError.java +40 -0
- data/java/org/xapian/errors/FeatureUnavailableError.java +40 -0
- data/java/org/xapian/errors/InternalError.java +40 -0
- data/java/org/xapian/errors/InvalidArgumentError.java +40 -0
- data/java/org/xapian/errors/InvalidOperationError.java +40 -0
- data/java/org/xapian/errors/LogicError.java +40 -0
- data/java/org/xapian/errors/Makefile +416 -0
- data/java/org/xapian/errors/Makefile.am +32 -0
- data/java/org/xapian/errors/Makefile.in +416 -0
- data/java/org/xapian/errors/NetworkError.java +40 -0
- data/java/org/xapian/errors/NetworkTimeoutError.java +40 -0
- data/java/org/xapian/errors/RangeError.java +40 -0
- data/java/org/xapian/errors/RuntimeError.java +40 -0
- data/java/org/xapian/errors/UnimplementedError.java +40 -0
- data/java/org/xapian/errors/XapianError.java +40 -0
- data/java/org/xapian/errors/XapianRuntimeError.java +49 -0
- data/java/org/xapian/examples/Makefile +391 -0
- data/java/org/xapian/examples/Makefile.am +8 -0
- data/java/org/xapian/examples/Makefile.in +391 -0
- data/java/org/xapian/examples/SimpleIndex.java +68 -0
- data/java/org/xapian/examples/SimpleSearch.java +71 -0
- data/java/run-java-test +6 -0
- data/libtool +7618 -0
- data/ltmain.sh +6956 -0
- data/mhs-xapian.gemspec +368 -0
- data/missing +378 -0
- data/php/.deps/xapian_wrap.Plo +1 -0
- data/php/Makefile +871 -0
- data/php/Makefile.am +82 -0
- data/php/Makefile.in +871 -0
- data/php/docs/Makefile +453 -0
- data/php/docs/Makefile.am +19 -0
- data/php/docs/Makefile.in +453 -0
- data/php/docs/examples/simpleexpand.php4 +108 -0
- data/php/docs/examples/simpleexpand.php5 +104 -0
- data/php/docs/examples/simpleindex.php4 +76 -0
- data/php/docs/examples/simpleindex.php5 +73 -0
- data/php/docs/examples/simplesearch.php4 +75 -0
- data/php/docs/examples/simplesearch.php5 +72 -0
- data/php/docs/index.html +313 -0
- data/php/except.i +98 -0
- data/php/php4/php_xapian.h +323 -0
- data/php/php4/xapian.php +32 -0
- data/php/php4/xapian_wrap.cc +27656 -0
- data/php/php5/php_xapian.h +319 -0
- data/php/php5/xapian.php +1566 -0
- data/php/php5/xapian_wrap.cc +24330 -0
- data/php/smoketest.php +246 -0
- data/php/smoketest4.php +84 -0
- data/php/smoketest5.php +79 -0
- data/php/util.i +187 -0
- data/python/.deps/xapian_wrap.Plo +1 -0
- data/python/Makefile +891 -0
- data/python/Makefile.am +105 -0
- data/python/Makefile.in +891 -0
- data/python/doccomments.i +5134 -0
- data/python/docs/Makefile +448 -0
- data/python/docs/Makefile.am +14 -0
- data/python/docs/Makefile.in +448 -0
- data/python/docs/examples/simpleexpand.py +98 -0
- data/python/docs/examples/simpleindex.py +65 -0
- data/python/docs/examples/simplematchdecider.py +78 -0
- data/python/docs/examples/simplesearch.py +65 -0
- data/python/docs/index.html +420 -0
- data/python/except.i +290 -0
- data/python/extra.i +1048 -0
- data/python/extracomments.i +28 -0
- data/python/generate-python-exceptions +189 -0
- data/python/generate-python-exceptions.in +189 -0
- data/python/modern/xapian.py +5662 -0
- data/python/modern/xapian_wrap.cc +35170 -0
- data/python/modern/xapian_wrap.h +244 -0
- data/python/pythontest.py +1110 -0
- data/python/smoketest.py +328 -0
- data/python/testsuite.py +382 -0
- data/python/util.i +517 -0
- data/ruby/.deps/xapian_wrap.Plo +494 -0
- data/ruby/.libs/_xapian.bundle +0 -0
- data/ruby/.libs/_xapian.bundle.dSYM/Contents/Info.plist +25 -0
- data/ruby/.libs/_xapian.bundle.dSYM/Contents/Resources/DWARF/_xapian.bundle +0 -0
- data/ruby/.libs/_xapian.la +35 -0
- data/ruby/.libs/_xapian.lai +35 -0
- data/ruby/Makefile +854 -0
- data/ruby/Makefile.am +62 -0
- data/ruby/Makefile.in +854 -0
- data/ruby/_xapian.la +35 -0
- data/ruby/docs/Makefile +487 -0
- data/ruby/docs/Makefile.am +50 -0
- data/ruby/docs/Makefile.in +487 -0
- data/ruby/docs/examples/simpleexpand.rb +98 -0
- data/ruby/docs/examples/simpleindex.rb +60 -0
- data/ruby/docs/examples/simplematchdecider.rb +74 -0
- data/ruby/docs/examples/simplesearch.rb +63 -0
- data/ruby/docs/index.html +197 -0
- data/ruby/smoketest.rb +211 -0
- data/ruby/util.i +232 -0
- data/ruby/xapian.rb +280 -0
- data/ruby/xapian_wrap.cc +25837 -0
- data/ruby/xapian_wrap.h +65 -0
- data/ruby/xapian_wrap.lo +12 -0
- data/skiptest +2 -0
- data/stamp-h1 +1 -0
- data/tcl8/.deps/xapian_wrap.Plo +1 -0
- data/tcl8/Makefile +835 -0
- data/tcl8/Makefile.am +49 -0
- data/tcl8/Makefile.in +835 -0
- data/tcl8/docs/Makefile +448 -0
- data/tcl8/docs/Makefile.am +14 -0
- data/tcl8/docs/Makefile.in +448 -0
- data/tcl8/docs/examples/simpleexpand.tcl +104 -0
- data/tcl8/docs/examples/simpleindex.tcl +68 -0
- data/tcl8/docs/examples/simplesearch.tcl +66 -0
- data/tcl8/docs/index.html +208 -0
- data/tcl8/except.i +48 -0
- data/tcl8/pkgIndex.tcl +1 -0
- data/tcl8/pkgIndex.tcl.in +1 -0
- data/tcl8/run-tcl-test +15 -0
- data/tcl8/runtest.tcl +29 -0
- data/tcl8/smoketest.tcl +155 -0
- data/tcl8/util.i +76 -0
- data/tcl8/xapian_wrap.cc +20900 -0
- data/xapian-bindings.spec +206 -0
- data/xapian-bindings.spec.in +206 -0
- data/xapian-version.h +1 -0
- data/xapian-version.h.in +1 -0
- data/xapian.i +939 -0
- metadata +395 -0
@@ -0,0 +1,448 @@
|
|
1
|
+
# Makefile.in generated by automake 1.10.3 from Makefile.am.
|
2
|
+
# @configure_input@
|
3
|
+
|
4
|
+
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
+
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
6
|
+
# Inc.
|
7
|
+
# This Makefile.in is free software; the Free Software Foundation
|
8
|
+
# gives unlimited permission to copy and/or distribute it,
|
9
|
+
# with or without modifications, as long as this notice is preserved.
|
10
|
+
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
13
|
+
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
14
|
+
# PARTICULAR PURPOSE.
|
15
|
+
|
16
|
+
@SET_MAKE@
|
17
|
+
|
18
|
+
VPATH = @srcdir@
|
19
|
+
pkgdatadir = $(datadir)/@PACKAGE@
|
20
|
+
pkglibdir = $(libdir)/@PACKAGE@
|
21
|
+
pkgincludedir = $(includedir)/@PACKAGE@
|
22
|
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
23
|
+
install_sh_DATA = $(install_sh) -c -m 644
|
24
|
+
install_sh_PROGRAM = $(install_sh) -c
|
25
|
+
install_sh_SCRIPT = $(install_sh) -c
|
26
|
+
INSTALL_HEADER = $(INSTALL_DATA)
|
27
|
+
transform = $(program_transform_name)
|
28
|
+
NORMAL_INSTALL = :
|
29
|
+
PRE_INSTALL = :
|
30
|
+
POST_INSTALL = :
|
31
|
+
NORMAL_UNINSTALL = :
|
32
|
+
PRE_UNINSTALL = :
|
33
|
+
POST_UNINSTALL = :
|
34
|
+
build_triplet = @build@
|
35
|
+
host_triplet = @host@
|
36
|
+
subdir = python/docs
|
37
|
+
DIST_COMMON = $(dist_docdata_DATA) $(dist_exampledata_DATA) \
|
38
|
+
$(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
39
|
+
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
40
|
+
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
|
41
|
+
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
42
|
+
$(ACLOCAL_M4)
|
43
|
+
mkinstalldirs = $(install_sh) -d
|
44
|
+
CONFIG_HEADER = $(top_builddir)/config.h
|
45
|
+
CONFIG_CLEAN_FILES =
|
46
|
+
SOURCES =
|
47
|
+
DIST_SOURCES =
|
48
|
+
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
49
|
+
am__vpath_adj = case $$p in \
|
50
|
+
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
51
|
+
*) f=$$p;; \
|
52
|
+
esac;
|
53
|
+
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
54
|
+
am__installdirs = "$(DESTDIR)$(docdatadir)" \
|
55
|
+
"$(DESTDIR)$(exampledatadir)"
|
56
|
+
dist_docdataDATA_INSTALL = $(INSTALL_DATA)
|
57
|
+
dist_exampledataDATA_INSTALL = $(INSTALL_DATA)
|
58
|
+
DATA = $(dist_docdata_DATA) $(dist_exampledata_DATA)
|
59
|
+
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
60
|
+
ACLOCAL = @ACLOCAL@
|
61
|
+
AMTAR = @AMTAR@
|
62
|
+
AR = @AR@
|
63
|
+
AUTOCONF = @AUTOCONF@
|
64
|
+
AUTOHEADER = @AUTOHEADER@
|
65
|
+
AUTOM4TE = @AUTOM4TE@
|
66
|
+
AUTOMAKE = @AUTOMAKE@
|
67
|
+
AWK = @AWK@
|
68
|
+
BINDINGS = @BINDINGS@
|
69
|
+
CC = @CC@
|
70
|
+
CCDEPMODE = @CCDEPMODE@
|
71
|
+
CFLAGS = @CFLAGS@
|
72
|
+
COMPAT_VERSION = @COMPAT_VERSION@
|
73
|
+
CPP = @CPP@
|
74
|
+
CPPFLAGS = @CPPFLAGS@
|
75
|
+
CSC = @CSC@
|
76
|
+
CXX = @CXX@
|
77
|
+
CXXCPP = @CXXCPP@
|
78
|
+
CXXDEPMODE = @CXXDEPMODE@
|
79
|
+
CXXFLAGS = @CXXFLAGS@
|
80
|
+
CYGPATH_W = @CYGPATH_W@
|
81
|
+
DEFS = @DEFS@
|
82
|
+
DEPDIR = @DEPDIR@
|
83
|
+
DSYMUTIL = @DSYMUTIL@
|
84
|
+
ECHO = @ECHO@
|
85
|
+
ECHO_C = @ECHO_C@
|
86
|
+
ECHO_N = @ECHO_N@
|
87
|
+
ECHO_T = @ECHO_T@
|
88
|
+
EGREP = @EGREP@
|
89
|
+
EXEEXT = @EXEEXT@
|
90
|
+
GACUTIL = @GACUTIL@
|
91
|
+
GREP = @GREP@
|
92
|
+
INSTALL = @INSTALL@
|
93
|
+
INSTALL_DATA = @INSTALL_DATA@
|
94
|
+
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
95
|
+
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
96
|
+
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
97
|
+
JAR = @JAR@
|
98
|
+
JAVA = @JAVA@
|
99
|
+
JAVAC = @JAVAC@
|
100
|
+
JAVA_CPPFLAGS = @JAVA_CPPFLAGS@
|
101
|
+
JAVA_CXXFLAGS = @JAVA_CXXFLAGS@
|
102
|
+
JAVA_HOME = @JAVA_HOME@
|
103
|
+
JAVA_PATHSEP = @JAVA_PATHSEP@
|
104
|
+
JDK_HOME = @JDK_HOME@
|
105
|
+
JNI_INCLUDE_DIR = @JNI_INCLUDE_DIR@
|
106
|
+
LDFLAGS = @LDFLAGS@
|
107
|
+
LIBOBJS = @LIBOBJS@
|
108
|
+
LIBS = @LIBS@
|
109
|
+
LIBTOOL = @LIBTOOL@
|
110
|
+
LN_S = @LN_S@
|
111
|
+
LTLIBOBJS = @LTLIBOBJS@
|
112
|
+
MAINT = @MAINT@
|
113
|
+
MAKEINFO = @MAKEINFO@
|
114
|
+
MKDIR_P = @MKDIR_P@
|
115
|
+
MONO = @MONO@
|
116
|
+
NMEDIT = @NMEDIT@
|
117
|
+
NO_UNDEFINED = @NO_UNDEFINED@
|
118
|
+
OBJEXT = @OBJEXT@
|
119
|
+
OVERRIDE_MACOSX_DEPLOYMENT_TARGET = @OVERRIDE_MACOSX_DEPLOYMENT_TARGET@
|
120
|
+
PACKAGE = @PACKAGE@
|
121
|
+
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
122
|
+
PACKAGE_NAME = @PACKAGE_NAME@
|
123
|
+
PACKAGE_STRING = @PACKAGE_STRING@
|
124
|
+
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
125
|
+
PACKAGE_VERSION = @PACKAGE_VERSION@
|
126
|
+
PATH_SEPARATOR = @PATH_SEPARATOR@
|
127
|
+
PERL = @PERL@
|
128
|
+
PHP = @PHP@
|
129
|
+
PHP_CONFIG = @PHP_CONFIG@
|
130
|
+
PHP_EXTENSION_DIR = @PHP_EXTENSION_DIR@
|
131
|
+
PHP_INC = @PHP_INC@
|
132
|
+
PHP_LIBS = @PHP_LIBS@
|
133
|
+
PHP_MAJOR_VERSION = @PHP_MAJOR_VERSION@
|
134
|
+
PYTHON = @PYTHON@
|
135
|
+
PYTHON_INC = @PYTHON_INC@
|
136
|
+
PYTHON_LIB = @PYTHON_LIB@
|
137
|
+
PYTHON_LIBS = @PYTHON_LIBS@
|
138
|
+
PYTHON_SO = @PYTHON_SO@
|
139
|
+
RANLIB = @RANLIB@
|
140
|
+
RDOC = @RDOC@
|
141
|
+
RUBY = @RUBY@
|
142
|
+
RUBY_DLEXT = @RUBY_DLEXT@
|
143
|
+
RUBY_INC = @RUBY_INC@
|
144
|
+
RUBY_INC_ARCH = @RUBY_INC_ARCH@
|
145
|
+
RUBY_LIB = @RUBY_LIB@
|
146
|
+
RUBY_LIBS = @RUBY_LIBS@
|
147
|
+
RUBY_LIB_ARCH = @RUBY_LIB_ARCH@
|
148
|
+
RUN_CSHARP = @RUN_CSHARP@
|
149
|
+
SED = @SED@
|
150
|
+
SET_MAKE = @SET_MAKE@
|
151
|
+
SHELL = @SHELL@
|
152
|
+
SN = @SN@
|
153
|
+
STRIP = @STRIP@
|
154
|
+
SWIG = @SWIG@
|
155
|
+
SWIG_CXXFLAGS = @SWIG_CXXFLAGS@
|
156
|
+
SWIG_FLAGS = @SWIG_FLAGS@
|
157
|
+
TCLSH = @TCLSH@
|
158
|
+
TCL_CPPFLAGS = @TCL_CPPFLAGS@
|
159
|
+
TCL_LIB = @TCL_LIB@
|
160
|
+
TCL_LIBS = @TCL_LIBS@
|
161
|
+
VERSION = @VERSION@
|
162
|
+
VERSION_NO_SNAPSHOT = @VERSION_NO_SNAPSHOT@
|
163
|
+
XAPIAN_CONFIG = @XAPIAN_CONFIG@
|
164
|
+
XAPIAN_CXXFLAGS = @XAPIAN_CXXFLAGS@
|
165
|
+
XAPIAN_LIBS = @XAPIAN_LIBS@
|
166
|
+
XAPIAN_VERSION = @XAPIAN_VERSION@
|
167
|
+
abs_builddir = @abs_builddir@
|
168
|
+
abs_srcdir = @abs_srcdir@
|
169
|
+
abs_top_builddir = @abs_top_builddir@
|
170
|
+
abs_top_srcdir = @abs_top_srcdir@
|
171
|
+
ac_ct_CC = @ac_ct_CC@
|
172
|
+
ac_ct_CXX = @ac_ct_CXX@
|
173
|
+
am__include = @am__include@
|
174
|
+
am__leading_dot = @am__leading_dot@
|
175
|
+
am__quote = @am__quote@
|
176
|
+
am__tar = @am__tar@
|
177
|
+
am__untar = @am__untar@
|
178
|
+
bindir = @bindir@
|
179
|
+
build = @build@
|
180
|
+
build_alias = @build_alias@
|
181
|
+
build_cpu = @build_cpu@
|
182
|
+
build_os = @build_os@
|
183
|
+
build_vendor = @build_vendor@
|
184
|
+
builddir = @builddir@
|
185
|
+
datadir = @datadir@
|
186
|
+
datarootdir = @datarootdir@
|
187
|
+
docdir = @docdir@
|
188
|
+
dvidir = @dvidir@
|
189
|
+
exec_prefix = @exec_prefix@
|
190
|
+
host = @host@
|
191
|
+
host_alias = @host_alias@
|
192
|
+
host_cpu = @host_cpu@
|
193
|
+
host_os = @host_os@
|
194
|
+
host_vendor = @host_vendor@
|
195
|
+
htmldir = @htmldir@
|
196
|
+
includedir = @includedir@
|
197
|
+
infodir = @infodir@
|
198
|
+
install_sh = @install_sh@
|
199
|
+
libdir = @libdir@
|
200
|
+
libexecdir = @libexecdir@
|
201
|
+
localedir = @localedir@
|
202
|
+
localstatedir = @localstatedir@
|
203
|
+
mandir = @mandir@
|
204
|
+
mkdir_p = @mkdir_p@
|
205
|
+
oldincludedir = @oldincludedir@
|
206
|
+
pdfdir = @pdfdir@
|
207
|
+
prefix = @prefix@
|
208
|
+
program_transform_name = @program_transform_name@
|
209
|
+
psdir = @psdir@
|
210
|
+
sbindir = @sbindir@
|
211
|
+
sharedstatedir = @sharedstatedir@
|
212
|
+
srcdir = @srcdir@
|
213
|
+
sysconfdir = @sysconfdir@
|
214
|
+
target_alias = @target_alias@
|
215
|
+
top_build_prefix = @top_build_prefix@
|
216
|
+
top_builddir = @top_builddir@
|
217
|
+
top_srcdir = @top_srcdir@
|
218
|
+
exampledatadir = $(docdir)/python/examples
|
219
|
+
dist_exampledata_DATA = examples/simplesearch.py examples/simpleindex.py \
|
220
|
+
examples/simpleexpand.py examples/simplematchdecider.py
|
221
|
+
|
222
|
+
docdatadir = $(docdir)/python
|
223
|
+
dist_docdata_DATA = index.html
|
224
|
+
all: all-am
|
225
|
+
|
226
|
+
.SUFFIXES:
|
227
|
+
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
228
|
+
@for dep in $?; do \
|
229
|
+
case '$(am__configure_deps)' in \
|
230
|
+
*$$dep*) \
|
231
|
+
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
232
|
+
&& { if test -f $@; then exit 0; else break; fi; }; \
|
233
|
+
exit 1;; \
|
234
|
+
esac; \
|
235
|
+
done; \
|
236
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu python/docs/Makefile'; \
|
237
|
+
cd $(top_srcdir) && \
|
238
|
+
$(AUTOMAKE) --gnu python/docs/Makefile
|
239
|
+
.PRECIOUS: Makefile
|
240
|
+
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
241
|
+
@case '$?' in \
|
242
|
+
*config.status*) \
|
243
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
244
|
+
*) \
|
245
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
246
|
+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
247
|
+
esac;
|
248
|
+
|
249
|
+
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
250
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
251
|
+
|
252
|
+
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
253
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
254
|
+
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
255
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
256
|
+
|
257
|
+
mostlyclean-libtool:
|
258
|
+
-rm -f *.lo
|
259
|
+
|
260
|
+
clean-libtool:
|
261
|
+
-rm -rf .libs _libs
|
262
|
+
install-dist_docdataDATA: $(dist_docdata_DATA)
|
263
|
+
@$(NORMAL_INSTALL)
|
264
|
+
test -z "$(docdatadir)" || $(MKDIR_P) "$(DESTDIR)$(docdatadir)"
|
265
|
+
@list='$(dist_docdata_DATA)'; for p in $$list; do \
|
266
|
+
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
267
|
+
f=$(am__strip_dir) \
|
268
|
+
echo " $(dist_docdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdatadir)/$$f'"; \
|
269
|
+
$(dist_docdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdatadir)/$$f"; \
|
270
|
+
done
|
271
|
+
|
272
|
+
uninstall-dist_docdataDATA:
|
273
|
+
@$(NORMAL_UNINSTALL)
|
274
|
+
@list='$(dist_docdata_DATA)'; for p in $$list; do \
|
275
|
+
f=$(am__strip_dir) \
|
276
|
+
echo " rm -f '$(DESTDIR)$(docdatadir)/$$f'"; \
|
277
|
+
rm -f "$(DESTDIR)$(docdatadir)/$$f"; \
|
278
|
+
done
|
279
|
+
install-dist_exampledataDATA: $(dist_exampledata_DATA)
|
280
|
+
@$(NORMAL_INSTALL)
|
281
|
+
test -z "$(exampledatadir)" || $(MKDIR_P) "$(DESTDIR)$(exampledatadir)"
|
282
|
+
@list='$(dist_exampledata_DATA)'; for p in $$list; do \
|
283
|
+
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
284
|
+
f=$(am__strip_dir) \
|
285
|
+
echo " $(dist_exampledataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(exampledatadir)/$$f'"; \
|
286
|
+
$(dist_exampledataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(exampledatadir)/$$f"; \
|
287
|
+
done
|
288
|
+
|
289
|
+
uninstall-dist_exampledataDATA:
|
290
|
+
@$(NORMAL_UNINSTALL)
|
291
|
+
@list='$(dist_exampledata_DATA)'; for p in $$list; do \
|
292
|
+
f=$(am__strip_dir) \
|
293
|
+
echo " rm -f '$(DESTDIR)$(exampledatadir)/$$f'"; \
|
294
|
+
rm -f "$(DESTDIR)$(exampledatadir)/$$f"; \
|
295
|
+
done
|
296
|
+
tags: TAGS
|
297
|
+
TAGS:
|
298
|
+
|
299
|
+
ctags: CTAGS
|
300
|
+
CTAGS:
|
301
|
+
|
302
|
+
|
303
|
+
distdir: $(DISTFILES)
|
304
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
305
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
306
|
+
list='$(DISTFILES)'; \
|
307
|
+
dist_files=`for file in $$list; do echo $$file; done | \
|
308
|
+
sed -e "s|^$$srcdirstrip/||;t" \
|
309
|
+
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
310
|
+
case $$dist_files in \
|
311
|
+
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
312
|
+
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
313
|
+
sort -u` ;; \
|
314
|
+
esac; \
|
315
|
+
for file in $$dist_files; do \
|
316
|
+
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
317
|
+
if test -d $$d/$$file; then \
|
318
|
+
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
319
|
+
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
320
|
+
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
321
|
+
fi; \
|
322
|
+
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
323
|
+
else \
|
324
|
+
test -f $(distdir)/$$file \
|
325
|
+
|| cp -p $$d/$$file $(distdir)/$$file \
|
326
|
+
|| exit 1; \
|
327
|
+
fi; \
|
328
|
+
done
|
329
|
+
check-am: all-am
|
330
|
+
check: check-am
|
331
|
+
all-am: Makefile $(DATA)
|
332
|
+
installdirs:
|
333
|
+
for dir in "$(DESTDIR)$(docdatadir)" "$(DESTDIR)$(exampledatadir)"; do \
|
334
|
+
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
335
|
+
done
|
336
|
+
install: install-am
|
337
|
+
install-exec: install-exec-am
|
338
|
+
install-data: install-data-am
|
339
|
+
uninstall: uninstall-am
|
340
|
+
|
341
|
+
install-am: all-am
|
342
|
+
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
343
|
+
|
344
|
+
installcheck: installcheck-am
|
345
|
+
install-strip:
|
346
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
347
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
348
|
+
`test -z '$(STRIP)' || \
|
349
|
+
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
350
|
+
mostlyclean-generic:
|
351
|
+
|
352
|
+
clean-generic:
|
353
|
+
|
354
|
+
distclean-generic:
|
355
|
+
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
356
|
+
|
357
|
+
maintainer-clean-generic:
|
358
|
+
@echo "This command is intended for maintainers to use"
|
359
|
+
@echo "it deletes files that may require special tools to rebuild."
|
360
|
+
clean: clean-am
|
361
|
+
|
362
|
+
clean-am: clean-generic clean-libtool mostlyclean-am
|
363
|
+
|
364
|
+
distclean: distclean-am
|
365
|
+
-rm -f Makefile
|
366
|
+
distclean-am: clean-am distclean-generic
|
367
|
+
|
368
|
+
dvi: dvi-am
|
369
|
+
|
370
|
+
dvi-am:
|
371
|
+
|
372
|
+
html: html-am
|
373
|
+
|
374
|
+
html-am:
|
375
|
+
|
376
|
+
info: info-am
|
377
|
+
|
378
|
+
info-am:
|
379
|
+
|
380
|
+
install-data-am: install-dist_docdataDATA install-dist_exampledataDATA
|
381
|
+
|
382
|
+
install-dvi: install-dvi-am
|
383
|
+
|
384
|
+
install-dvi-am:
|
385
|
+
|
386
|
+
install-exec-am:
|
387
|
+
|
388
|
+
install-html: install-html-am
|
389
|
+
|
390
|
+
install-html-am:
|
391
|
+
|
392
|
+
install-info: install-info-am
|
393
|
+
|
394
|
+
install-info-am:
|
395
|
+
|
396
|
+
install-man:
|
397
|
+
|
398
|
+
install-pdf: install-pdf-am
|
399
|
+
|
400
|
+
install-pdf-am:
|
401
|
+
|
402
|
+
install-ps: install-ps-am
|
403
|
+
|
404
|
+
install-ps-am:
|
405
|
+
|
406
|
+
installcheck-am:
|
407
|
+
|
408
|
+
maintainer-clean: maintainer-clean-am
|
409
|
+
-rm -f Makefile
|
410
|
+
maintainer-clean-am: distclean-am maintainer-clean-generic
|
411
|
+
|
412
|
+
mostlyclean: mostlyclean-am
|
413
|
+
|
414
|
+
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
415
|
+
|
416
|
+
pdf: pdf-am
|
417
|
+
|
418
|
+
pdf-am:
|
419
|
+
|
420
|
+
ps: ps-am
|
421
|
+
|
422
|
+
ps-am:
|
423
|
+
|
424
|
+
uninstall-am: uninstall-dist_docdataDATA \
|
425
|
+
uninstall-dist_exampledataDATA
|
426
|
+
|
427
|
+
.MAKE: install-am install-strip
|
428
|
+
|
429
|
+
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
430
|
+
distclean distclean-generic distclean-libtool distdir dvi \
|
431
|
+
dvi-am html html-am info info-am install install-am \
|
432
|
+
install-data install-data-am install-dist_docdataDATA \
|
433
|
+
install-dist_exampledataDATA install-dvi install-dvi-am \
|
434
|
+
install-exec install-exec-am install-html install-html-am \
|
435
|
+
install-info install-info-am install-man install-pdf \
|
436
|
+
install-pdf-am install-ps install-ps-am install-strip \
|
437
|
+
installcheck installcheck-am installdirs maintainer-clean \
|
438
|
+
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
439
|
+
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
|
440
|
+
uninstall-dist_docdataDATA uninstall-dist_exampledataDATA
|
441
|
+
|
442
|
+
|
443
|
+
# Export these so that we run the locally installed autotools when building
|
444
|
+
# from a bootstrapped SVN tree.
|
445
|
+
@MAINTAINER_MODE_TRUE@export ACLOCAL AUTOCONF AUTOHEADER AUTOM4TE AUTOMAKE
|
446
|
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
447
|
+
# Otherwise a system limit (for SysV at least) may be exceeded.
|
448
|
+
.NOEXPORT:
|
@@ -0,0 +1,98 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
#
|
3
|
+
# Simple example script demonstrating query expansion.
|
4
|
+
#
|
5
|
+
# Copyright (C) 2003 James Aylett
|
6
|
+
# Copyright (C) 2004,2006,2007 Olly Betts
|
7
|
+
#
|
8
|
+
# This program is free software; you can redistribute it and/or
|
9
|
+
# modify it under the terms of the GNU General Public License as
|
10
|
+
# published by the Free Software Foundation; either version 2 of the
|
11
|
+
# License, or (at your option) any later version.
|
12
|
+
#
|
13
|
+
# This program is distributed in the hope that it will be useful,
|
14
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
+
# GNU General Public License for more details.
|
17
|
+
#
|
18
|
+
# You should have received a copy of the GNU General Public License
|
19
|
+
# along with this program; if not, write to the Free Software
|
20
|
+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
|
21
|
+
# USA
|
22
|
+
|
23
|
+
import sys
|
24
|
+
import xapian
|
25
|
+
|
26
|
+
# We require at least two command line arguments.
|
27
|
+
if len(sys.argv) < 3:
|
28
|
+
print >> sys.stderr, "Usage: %s PATH_TO_DATABASE QUERY [-- [DOCID...]]" % sys.argv[0]
|
29
|
+
sys.exit(1)
|
30
|
+
|
31
|
+
try:
|
32
|
+
# Open the database for searching.
|
33
|
+
database = xapian.Database(sys.argv[1])
|
34
|
+
|
35
|
+
# Start an enquire session.
|
36
|
+
enquire = xapian.Enquire(database)
|
37
|
+
|
38
|
+
# Combine command line arguments up to "--" with spaces between
|
39
|
+
# them, so that simple queries don't have to be quoted at the shell
|
40
|
+
# level.
|
41
|
+
query_string = sys.argv[2]
|
42
|
+
index = 3
|
43
|
+
while index < len(sys.argv):
|
44
|
+
arg = sys.argv[index]
|
45
|
+
index += 1
|
46
|
+
if arg == '--':
|
47
|
+
# Passed marker, move to parsing relevant docids.
|
48
|
+
break
|
49
|
+
query_string += ' '
|
50
|
+
query_string += arg
|
51
|
+
|
52
|
+
# Create an RSet with the listed docids in.
|
53
|
+
reldocs = xapian.RSet()
|
54
|
+
for index in xrange(index, len(sys.argv)):
|
55
|
+
reldocs.add_document(int(sys.argv[index]))
|
56
|
+
|
57
|
+
# Parse the query string to produce a Xapian::Query object.
|
58
|
+
qp = xapian.QueryParser()
|
59
|
+
stemmer = xapian.Stem("english")
|
60
|
+
qp.set_stemmer(stemmer)
|
61
|
+
qp.set_database(database)
|
62
|
+
qp.set_stemming_strategy(xapian.QueryParser.STEM_SOME)
|
63
|
+
query = qp.parse_query(query_string)
|
64
|
+
|
65
|
+
if not query.empty():
|
66
|
+
print "Parsed query is: %s" % str(query)
|
67
|
+
|
68
|
+
# Find the top 10 results for the query.
|
69
|
+
enquire.set_query(query)
|
70
|
+
matches = enquire.get_mset(0, 10, reldocs)
|
71
|
+
|
72
|
+
# Display the results.
|
73
|
+
print "%i results found." % matches.get_matches_estimated()
|
74
|
+
print "Results 1-%i:" % matches.size()
|
75
|
+
|
76
|
+
for m in matches:
|
77
|
+
print "%i: %i%% docid=%i [%s]" % (m.rank + 1, m.percent, m.docid, m.document.get_data())
|
78
|
+
|
79
|
+
# Put the top 5 (at most) docs into the rset if rset is empty
|
80
|
+
if reldocs.empty():
|
81
|
+
i = matches.begin()
|
82
|
+
for j in xrange(1, 5):
|
83
|
+
reldocs.add_document(i.get_docid())
|
84
|
+
i.next()
|
85
|
+
if i == matches.end():
|
86
|
+
break
|
87
|
+
|
88
|
+
# Get the suggested expand terms
|
89
|
+
eterms = enquire.get_eset(10, reldocs)
|
90
|
+
print "%i suggested additional terms" % eterms.size()
|
91
|
+
k = eterms.begin()
|
92
|
+
while k != eterms.end():
|
93
|
+
print "%s: %f" % (k.get_term(), k.get_weight())
|
94
|
+
k.next()
|
95
|
+
|
96
|
+
except Exception, e:
|
97
|
+
print >> sys.stderr, "Exception: %s" % str(e)
|
98
|
+
sys.exit(1)
|