mhs-xapian 1.0.18a

Sign up to get free protection for your applications and to get access to all the features.
Files changed (328) hide show
  1. data/.gitignore +3 -0
  2. data/AUTHORS +1 -0
  3. data/COPYING +340 -0
  4. data/ChangeLog +5876 -0
  5. data/HACKING +101 -0
  6. data/INSTALL +293 -0
  7. data/Makefile +722 -0
  8. data/Makefile.am +26 -0
  9. data/Makefile.in +722 -0
  10. data/NEWS +2110 -0
  11. data/README +59 -0
  12. data/Rakefile +51 -0
  13. data/TODO +47 -0
  14. data/aclocal.m4 +7675 -0
  15. data/config.guess +1501 -0
  16. data/config.h +56 -0
  17. data/config.h.in +55 -0
  18. data/config.status +1298 -0
  19. data/config.sub +1705 -0
  20. data/configure +18536 -0
  21. data/configure.ac +944 -0
  22. data/csharp/.deps/xapian_wrap.Plo +1 -0
  23. data/csharp/AssemblyInfo.cs +40 -0
  24. data/csharp/AssemblyInfo.cs.in +40 -0
  25. data/csharp/Auto.cs +46 -0
  26. data/csharp/BM25Weight.cs +107 -0
  27. data/csharp/BoolWeight.cs +103 -0
  28. data/csharp/Database.cs +275 -0
  29. data/csharp/DateValueRangeProcessor.cs +61 -0
  30. data/csharp/Document.cs +177 -0
  31. data/csharp/ESet.cs +94 -0
  32. data/csharp/ESetIterator.cs +117 -0
  33. data/csharp/Enquire.cs +274 -0
  34. data/csharp/ExpandDecider.cs +76 -0
  35. data/csharp/Flint.cs +58 -0
  36. data/csharp/InMemory.cs +46 -0
  37. data/csharp/MSet.cs +193 -0
  38. data/csharp/MSetIterator.cs +141 -0
  39. data/csharp/Makefile +868 -0
  40. data/csharp/Makefile.am +106 -0
  41. data/csharp/Makefile.in +868 -0
  42. data/csharp/MatchDecider.cs +76 -0
  43. data/csharp/MultiValueSorter.cs +63 -0
  44. data/csharp/NumberValueRangeProcessor.cs +61 -0
  45. data/csharp/PositionIterator.cs +101 -0
  46. data/csharp/PostingIterator.cs +125 -0
  47. data/csharp/Quartz.cs +58 -0
  48. data/csharp/Query.cs +150 -0
  49. data/csharp/QueryParser.cs +174 -0
  50. data/csharp/RSet.cs +102 -0
  51. data/csharp/Remote.cs +100 -0
  52. data/csharp/SWIGTYPE_p_std__string.cs +30 -0
  53. data/csharp/SWIGTYPE_p_std__vectorTXapian__Query_t.cs +30 -0
  54. data/csharp/SWIGTYPE_p_std__vectorTstd__string_t.cs +30 -0
  55. data/csharp/SimpleStopper.cs +64 -0
  56. data/csharp/SmokeTest.cs +178 -0
  57. data/csharp/Sorter.cs +76 -0
  58. data/csharp/Stem.cs +66 -0
  59. data/csharp/Stopper.cs +91 -0
  60. data/csharp/StringValueRangeProcessor.cs +53 -0
  61. data/csharp/TermGenerator.cs +152 -0
  62. data/csharp/TermIterator.cs +125 -0
  63. data/csharp/TradWeight.cs +107 -0
  64. data/csharp/ValueIterator.cs +102 -0
  65. data/csharp/ValueRangeProcessor.cs +76 -0
  66. data/csharp/Version.cs +60 -0
  67. data/csharp/Weight.cs +93 -0
  68. data/csharp/WritableDatabase.cs +153 -0
  69. data/csharp/Xapian.cs +65 -0
  70. data/csharp/XapianPINVOKE.cs +1527 -0
  71. data/csharp/docs/Makefile +450 -0
  72. data/csharp/docs/Makefile.am +16 -0
  73. data/csharp/docs/Makefile.in +450 -0
  74. data/csharp/docs/examples/SimpleExpand.cs +109 -0
  75. data/csharp/docs/examples/SimpleIndex.cs +71 -0
  76. data/csharp/docs/examples/SimpleSearch.cs +78 -0
  77. data/csharp/docs/index.html +211 -0
  78. data/csharp/util.i +233 -0
  79. data/csharp/xapian_wrap.cc +10338 -0
  80. data/csharp/xapian_wrap.h +93 -0
  81. data/depcomp +632 -0
  82. data/extconf.rb +20 -0
  83. data/generic/except.i +80 -0
  84. data/generic/generic.mk +48 -0
  85. data/install-sh +520 -0
  86. data/java-swig/.deps/xapian_wrap.Plo +1 -0
  87. data/java-swig/Auto.java +35 -0
  88. data/java-swig/BM25Weight.java +81 -0
  89. data/java-swig/BoolWeight.java +77 -0
  90. data/java-swig/Database.java +195 -0
  91. data/java-swig/DateValueRangeProcessor.java +51 -0
  92. data/java-swig/Document.java +135 -0
  93. data/java-swig/ESet.java +71 -0
  94. data/java-swig/ESetIterator.java +71 -0
  95. data/java-swig/Enquire.java +246 -0
  96. data/java-swig/ExpandDecider.java +59 -0
  97. data/java-swig/Flint.java +43 -0
  98. data/java-swig/InMemory.java +35 -0
  99. data/java-swig/MSet.java +143 -0
  100. data/java-swig/MSetIterator.java +87 -0
  101. data/java-swig/Makefile +781 -0
  102. data/java-swig/Makefile.am +132 -0
  103. data/java-swig/Makefile.in +781 -0
  104. data/java-swig/MatchDecider.java +59 -0
  105. data/java-swig/MultiValueSorter.java +51 -0
  106. data/java-swig/NumberValueRangeProcessor.java +51 -0
  107. data/java-swig/PositionIterator.java +63 -0
  108. data/java-swig/PostingIterator.java +83 -0
  109. data/java-swig/Quartz.java +43 -0
  110. data/java-swig/Query.java +189 -0
  111. data/java-swig/QueryParser.java +214 -0
  112. data/java-swig/RSet.java +79 -0
  113. data/java-swig/Remote.java +71 -0
  114. data/java-swig/SWIGTYPE_p_std__string.java +25 -0
  115. data/java-swig/SimpleStopper.java +51 -0
  116. data/java-swig/SmokeTest.java +161 -0
  117. data/java-swig/Sorter.java +59 -0
  118. data/java-swig/Stem.java +51 -0
  119. data/java-swig/Stopper.java +63 -0
  120. data/java-swig/StringValueRangeProcessor.java +43 -0
  121. data/java-swig/TermGenerator.java +158 -0
  122. data/java-swig/TermIterator.java +83 -0
  123. data/java-swig/TradWeight.java +81 -0
  124. data/java-swig/ValueIterator.java +67 -0
  125. data/java-swig/ValueRangeProcessor.java +59 -0
  126. data/java-swig/Version.java +47 -0
  127. data/java-swig/Weight.java +68 -0
  128. data/java-swig/WritableDatabase.java +123 -0
  129. data/java-swig/Xapian.java +39 -0
  130. data/java-swig/XapianConstants.java +15 -0
  131. data/java-swig/XapianJNI.java +508 -0
  132. data/java-swig/run-java-test +6 -0
  133. data/java-swig/xapian_wrap.cc +12594 -0
  134. data/java-swig/xapian_wrap.h +91 -0
  135. data/java/Makefile +660 -0
  136. data/java/Makefile.am +35 -0
  137. data/java/Makefile.in +660 -0
  138. data/java/README +76 -0
  139. data/java/SmokeTest.java +148 -0
  140. data/java/native/.deps/Database.Plo +1 -0
  141. data/java/native/.deps/Document.Plo +1 -0
  142. data/java/native/.deps/ESet.Plo +1 -0
  143. data/java/native/.deps/ESetIterator.Plo +1 -0
  144. data/java/native/.deps/Enquire.Plo +1 -0
  145. data/java/native/.deps/MSet.Plo +1 -0
  146. data/java/native/.deps/MSetIterator.Plo +1 -0
  147. data/java/native/.deps/PositionIterator.Plo +1 -0
  148. data/java/native/.deps/Query.Plo +1 -0
  149. data/java/native/.deps/RSet.Plo +1 -0
  150. data/java/native/.deps/Stem.Plo +1 -0
  151. data/java/native/.deps/TermIterator.Plo +1 -0
  152. data/java/native/.deps/WritableDatabase.Plo +1 -0
  153. data/java/native/.deps/org_xapian_XapianJNI.Plo +1 -0
  154. data/java/native/.deps/utils.Plo +1 -0
  155. data/java/native/Database.cc +222 -0
  156. data/java/native/Document.cc +173 -0
  157. data/java/native/ESet.cc +79 -0
  158. data/java/native/ESetIterator.cc +82 -0
  159. data/java/native/Enquire.cc +271 -0
  160. data/java/native/MSet.cc +169 -0
  161. data/java/native/MSetIterator.cc +107 -0
  162. data/java/native/Makefile +594 -0
  163. data/java/native/Makefile.am +51 -0
  164. data/java/native/Makefile.in +594 -0
  165. data/java/native/PositionIterator.cc +64 -0
  166. data/java/native/Query.cc +180 -0
  167. data/java/native/RSet.cc +98 -0
  168. data/java/native/Stem.cc +75 -0
  169. data/java/native/TermIterator.cc +107 -0
  170. data/java/native/WritableDatabase.cc +118 -0
  171. data/java/native/XapianObjectHolder.h +115 -0
  172. data/java/native/org_xapian_XapianJNI.cc +78 -0
  173. data/java/native/org_xapian_XapianJNI.h +1369 -0
  174. data/java/native/utils.cc +51 -0
  175. data/java/native/xapian_jni.h +116 -0
  176. data/java/org/xapian/Database.java +148 -0
  177. data/java/org/xapian/Document.java +135 -0
  178. data/java/org/xapian/ESet.java +66 -0
  179. data/java/org/xapian/ESetIterator.java +97 -0
  180. data/java/org/xapian/Enquire.java +136 -0
  181. data/java/org/xapian/ExpandDecider.java +30 -0
  182. data/java/org/xapian/MSet.java +104 -0
  183. data/java/org/xapian/MSetIterator.java +132 -0
  184. data/java/org/xapian/Makefile +580 -0
  185. data/java/org/xapian/Makefile.am +38 -0
  186. data/java/org/xapian/Makefile.in +580 -0
  187. data/java/org/xapian/MatchDecider.java +30 -0
  188. data/java/org/xapian/PositionIterator.java +89 -0
  189. data/java/org/xapian/Query.java +190 -0
  190. data/java/org/xapian/RSet.java +89 -0
  191. data/java/org/xapian/Stem.java +80 -0
  192. data/java/org/xapian/TermIterator.java +142 -0
  193. data/java/org/xapian/WritableDatabase.java +92 -0
  194. data/java/org/xapian/Xapian.java +114 -0
  195. data/java/org/xapian/XapianJNI.java +444 -0
  196. data/java/org/xapian/errors/AssertionError.java +40 -0
  197. data/java/org/xapian/errors/DatabaseCorruptError.java +40 -0
  198. data/java/org/xapian/errors/DatabaseError.java +40 -0
  199. data/java/org/xapian/errors/DatabaseLockError.java +40 -0
  200. data/java/org/xapian/errors/DatabaseModifiedError.java +40 -0
  201. data/java/org/xapian/errors/DatabaseOpeningError.java +40 -0
  202. data/java/org/xapian/errors/DocNotFoundError.java +40 -0
  203. data/java/org/xapian/errors/FeatureUnavailableError.java +40 -0
  204. data/java/org/xapian/errors/InternalError.java +40 -0
  205. data/java/org/xapian/errors/InvalidArgumentError.java +40 -0
  206. data/java/org/xapian/errors/InvalidOperationError.java +40 -0
  207. data/java/org/xapian/errors/LogicError.java +40 -0
  208. data/java/org/xapian/errors/Makefile +416 -0
  209. data/java/org/xapian/errors/Makefile.am +32 -0
  210. data/java/org/xapian/errors/Makefile.in +416 -0
  211. data/java/org/xapian/errors/NetworkError.java +40 -0
  212. data/java/org/xapian/errors/NetworkTimeoutError.java +40 -0
  213. data/java/org/xapian/errors/RangeError.java +40 -0
  214. data/java/org/xapian/errors/RuntimeError.java +40 -0
  215. data/java/org/xapian/errors/UnimplementedError.java +40 -0
  216. data/java/org/xapian/errors/XapianError.java +40 -0
  217. data/java/org/xapian/errors/XapianRuntimeError.java +49 -0
  218. data/java/org/xapian/examples/Makefile +391 -0
  219. data/java/org/xapian/examples/Makefile.am +8 -0
  220. data/java/org/xapian/examples/Makefile.in +391 -0
  221. data/java/org/xapian/examples/SimpleIndex.java +68 -0
  222. data/java/org/xapian/examples/SimpleSearch.java +71 -0
  223. data/java/run-java-test +6 -0
  224. data/libtool +7618 -0
  225. data/ltmain.sh +6956 -0
  226. data/mhs-xapian.gemspec +368 -0
  227. data/missing +378 -0
  228. data/php/.deps/xapian_wrap.Plo +1 -0
  229. data/php/Makefile +871 -0
  230. data/php/Makefile.am +82 -0
  231. data/php/Makefile.in +871 -0
  232. data/php/docs/Makefile +453 -0
  233. data/php/docs/Makefile.am +19 -0
  234. data/php/docs/Makefile.in +453 -0
  235. data/php/docs/examples/simpleexpand.php4 +108 -0
  236. data/php/docs/examples/simpleexpand.php5 +104 -0
  237. data/php/docs/examples/simpleindex.php4 +76 -0
  238. data/php/docs/examples/simpleindex.php5 +73 -0
  239. data/php/docs/examples/simplesearch.php4 +75 -0
  240. data/php/docs/examples/simplesearch.php5 +72 -0
  241. data/php/docs/index.html +313 -0
  242. data/php/except.i +98 -0
  243. data/php/php4/php_xapian.h +323 -0
  244. data/php/php4/xapian.php +32 -0
  245. data/php/php4/xapian_wrap.cc +27656 -0
  246. data/php/php5/php_xapian.h +319 -0
  247. data/php/php5/xapian.php +1566 -0
  248. data/php/php5/xapian_wrap.cc +24330 -0
  249. data/php/smoketest.php +246 -0
  250. data/php/smoketest4.php +84 -0
  251. data/php/smoketest5.php +79 -0
  252. data/php/util.i +187 -0
  253. data/python/.deps/xapian_wrap.Plo +1 -0
  254. data/python/Makefile +891 -0
  255. data/python/Makefile.am +105 -0
  256. data/python/Makefile.in +891 -0
  257. data/python/doccomments.i +5134 -0
  258. data/python/docs/Makefile +448 -0
  259. data/python/docs/Makefile.am +14 -0
  260. data/python/docs/Makefile.in +448 -0
  261. data/python/docs/examples/simpleexpand.py +98 -0
  262. data/python/docs/examples/simpleindex.py +65 -0
  263. data/python/docs/examples/simplematchdecider.py +78 -0
  264. data/python/docs/examples/simplesearch.py +65 -0
  265. data/python/docs/index.html +420 -0
  266. data/python/except.i +290 -0
  267. data/python/extra.i +1048 -0
  268. data/python/extracomments.i +28 -0
  269. data/python/generate-python-exceptions +189 -0
  270. data/python/generate-python-exceptions.in +189 -0
  271. data/python/modern/xapian.py +5662 -0
  272. data/python/modern/xapian_wrap.cc +35170 -0
  273. data/python/modern/xapian_wrap.h +244 -0
  274. data/python/pythontest.py +1110 -0
  275. data/python/smoketest.py +328 -0
  276. data/python/testsuite.py +382 -0
  277. data/python/util.i +517 -0
  278. data/ruby/.deps/xapian_wrap.Plo +494 -0
  279. data/ruby/.libs/_xapian.bundle +0 -0
  280. data/ruby/.libs/_xapian.bundle.dSYM/Contents/Info.plist +25 -0
  281. data/ruby/.libs/_xapian.bundle.dSYM/Contents/Resources/DWARF/_xapian.bundle +0 -0
  282. data/ruby/.libs/_xapian.la +35 -0
  283. data/ruby/.libs/_xapian.lai +35 -0
  284. data/ruby/Makefile +854 -0
  285. data/ruby/Makefile.am +62 -0
  286. data/ruby/Makefile.in +854 -0
  287. data/ruby/_xapian.la +35 -0
  288. data/ruby/docs/Makefile +487 -0
  289. data/ruby/docs/Makefile.am +50 -0
  290. data/ruby/docs/Makefile.in +487 -0
  291. data/ruby/docs/examples/simpleexpand.rb +98 -0
  292. data/ruby/docs/examples/simpleindex.rb +60 -0
  293. data/ruby/docs/examples/simplematchdecider.rb +74 -0
  294. data/ruby/docs/examples/simplesearch.rb +63 -0
  295. data/ruby/docs/index.html +197 -0
  296. data/ruby/smoketest.rb +211 -0
  297. data/ruby/util.i +232 -0
  298. data/ruby/xapian.rb +280 -0
  299. data/ruby/xapian_wrap.cc +25837 -0
  300. data/ruby/xapian_wrap.h +65 -0
  301. data/ruby/xapian_wrap.lo +12 -0
  302. data/skiptest +2 -0
  303. data/stamp-h1 +1 -0
  304. data/tcl8/.deps/xapian_wrap.Plo +1 -0
  305. data/tcl8/Makefile +835 -0
  306. data/tcl8/Makefile.am +49 -0
  307. data/tcl8/Makefile.in +835 -0
  308. data/tcl8/docs/Makefile +448 -0
  309. data/tcl8/docs/Makefile.am +14 -0
  310. data/tcl8/docs/Makefile.in +448 -0
  311. data/tcl8/docs/examples/simpleexpand.tcl +104 -0
  312. data/tcl8/docs/examples/simpleindex.tcl +68 -0
  313. data/tcl8/docs/examples/simplesearch.tcl +66 -0
  314. data/tcl8/docs/index.html +208 -0
  315. data/tcl8/except.i +48 -0
  316. data/tcl8/pkgIndex.tcl +1 -0
  317. data/tcl8/pkgIndex.tcl.in +1 -0
  318. data/tcl8/run-tcl-test +15 -0
  319. data/tcl8/runtest.tcl +29 -0
  320. data/tcl8/smoketest.tcl +155 -0
  321. data/tcl8/util.i +76 -0
  322. data/tcl8/xapian_wrap.cc +20900 -0
  323. data/xapian-bindings.spec +206 -0
  324. data/xapian-bindings.spec.in +206 -0
  325. data/xapian-version.h +1 -0
  326. data/xapian-version.h.in +1 -0
  327. data/xapian.i +939 -0
  328. metadata +395 -0
@@ -0,0 +1,39 @@
1
+ /* ----------------------------------------------------------------------------
2
+ * This file was automatically generated by SWIG (http://www.swig.org).
3
+ * Version 1.3.32
4
+ *
5
+ * Do not make changes to this file unless you know what you are doing--modify
6
+ * the SWIG interface file instead.
7
+ * ----------------------------------------------------------------------------- */
8
+
9
+
10
+ public class Xapian implements XapianConstants {
11
+ public static int getBAD_VALUENO() {
12
+ return XapianJNI.BAD_VALUENO_get();
13
+ }
14
+
15
+ public static String xapianVersionString() {
16
+ return XapianJNI.xapianVersionString();
17
+ }
18
+
19
+ public static int xapianMajorVersion() {
20
+ return XapianJNI.xapianMajorVersion();
21
+ }
22
+
23
+ public static int xapianMinorVersion() {
24
+ return XapianJNI.xapianMinorVersion();
25
+ }
26
+
27
+ public static int xapianRevision() {
28
+ return XapianJNI.xapianRevision();
29
+ }
30
+
31
+ public static String sortableSerialise(double value) {
32
+ return XapianJNI.sortableSerialise(value);
33
+ }
34
+
35
+ public static double sortableUnserialise(String value) {
36
+ return XapianJNI.sortableUnserialise(value);
37
+ }
38
+
39
+ }
@@ -0,0 +1,15 @@
1
+ /* ----------------------------------------------------------------------------
2
+ * This file was automatically generated by SWIG (http://www.swig.org).
3
+ * Version 1.3.32
4
+ *
5
+ * Do not make changes to this file unless you know what you are doing--modify
6
+ * the SWIG interface file instead.
7
+ * ----------------------------------------------------------------------------- */
8
+
9
+
10
+ public interface XapianConstants {
11
+ public final static int DB_CREATE_OR_OPEN = XapianJNI.DB_CREATE_OR_OPEN_get();
12
+ public final static int DB_CREATE = XapianJNI.DB_CREATE_get();
13
+ public final static int DB_CREATE_OR_OVERWRITE = XapianJNI.DB_CREATE_OR_OVERWRITE_get();
14
+ public final static int DB_OPEN = XapianJNI.DB_OPEN_get();
15
+ }
@@ -0,0 +1,508 @@
1
+ /* ----------------------------------------------------------------------------
2
+ * This file was automatically generated by SWIG (http://www.swig.org).
3
+ * Version 1.3.32
4
+ *
5
+ * Do not make changes to this file unless you know what you are doing--modify
6
+ * the SWIG interface file instead.
7
+ * ----------------------------------------------------------------------------- */
8
+
9
+
10
+ class XapianJNI {
11
+ public final static native String Version_string();
12
+ public final static native int Version_major();
13
+ public final static native int Version_minor();
14
+ public final static native int Version_revision();
15
+ public final static native int BAD_VALUENO_get();
16
+ public final static native String xapianVersionString();
17
+ public final static native int xapianMajorVersion();
18
+ public final static native int xapianMinorVersion();
19
+ public final static native int xapianRevision();
20
+ public final static native long new_PositionIterator__SWIG_0();
21
+ public final static native long new_PositionIterator__SWIG_1(long jarg1, PositionIterator jarg1_);
22
+ public final static native void delete_PositionIterator(long jarg1);
23
+ public final static native long PositionIterator_getTermPos(long jarg1, PositionIterator jarg1_);
24
+ public final static native long PositionIterator_next(long jarg1, PositionIterator jarg1_);
25
+ public final static native boolean PositionIterator_equals(long jarg1, PositionIterator jarg1_, long jarg2, PositionIterator jarg2_);
26
+ public final static native void PositionIterator_skipTo(long jarg1, PositionIterator jarg1_, long jarg2);
27
+ public final static native String PositionIterator_toString(long jarg1, PositionIterator jarg1_);
28
+ public final static native long new_PostingIterator__SWIG_0();
29
+ public final static native void delete_PostingIterator(long jarg1);
30
+ public final static native long new_PostingIterator__SWIG_1(long jarg1, PostingIterator jarg1_);
31
+ public final static native void PostingIterator_skipTo(long jarg1, PostingIterator jarg1_, long jarg2);
32
+ public final static native double PostingIterator_getDocLength(long jarg1, PostingIterator jarg1_);
33
+ public final static native long PostingIterator_getWdf(long jarg1, PostingIterator jarg1_);
34
+ public final static native long PostingIterator_positionListBegin(long jarg1, PostingIterator jarg1_);
35
+ public final static native long PostingIterator_positionListEnd(long jarg1, PostingIterator jarg1_);
36
+ public final static native String PostingIterator_toString(long jarg1, PostingIterator jarg1_);
37
+ public final static native boolean PostingIterator_hasNext(long jarg1, PostingIterator jarg1_);
38
+ public final static native long PostingIterator_getDocId(long jarg1, PostingIterator jarg1_);
39
+ public final static native long PostingIterator_next(long jarg1, PostingIterator jarg1_);
40
+ public final static native boolean PostingIterator_equals(long jarg1, PostingIterator jarg1_, long jarg2, PostingIterator jarg2_);
41
+ public final static native long new_TermIterator__SWIG_0();
42
+ public final static native long new_TermIterator__SWIG_1(long jarg1, TermIterator jarg1_);
43
+ public final static native void delete_TermIterator(long jarg1);
44
+ public final static native String TermIterator_getTerm(long jarg1, TermIterator jarg1_);
45
+ public final static native String TermIterator_next(long jarg1, TermIterator jarg1_);
46
+ public final static native boolean TermIterator_equals(long jarg1, TermIterator jarg1_, long jarg2, TermIterator jarg2_);
47
+ public final static native void TermIterator_skipTo(long jarg1, TermIterator jarg1_, String jarg2);
48
+ public final static native long TermIterator_getWdf(long jarg1, TermIterator jarg1_);
49
+ public final static native long TermIterator_getTermFreq(long jarg1, TermIterator jarg1_);
50
+ public final static native long TermIterator_positionListBegin(long jarg1, TermIterator jarg1_);
51
+ public final static native long TermIterator_positionListEnd(long jarg1, TermIterator jarg1_);
52
+ public final static native String TermIterator_toString(long jarg1, TermIterator jarg1_);
53
+ public final static native boolean TermIterator_hasNext(long jarg1, TermIterator jarg1_);
54
+ public final static native long new_ValueIterator__SWIG_0();
55
+ public final static native long new_ValueIterator__SWIG_1(long jarg1, ValueIterator jarg1_);
56
+ public final static native void delete_ValueIterator(long jarg1);
57
+ public final static native String ValueIterator_getValue(long jarg1, ValueIterator jarg1_);
58
+ public final static native String ValueIterator_next(long jarg1, ValueIterator jarg1_);
59
+ public final static native boolean ValueIterator_equals(long jarg1, ValueIterator jarg1_, long jarg2, ValueIterator jarg2_);
60
+ public final static native int ValueIterator_getValueNo(long jarg1, ValueIterator jarg1_);
61
+ public final static native String ValueIterator_toString(long jarg1, ValueIterator jarg1_);
62
+ public final static native boolean ValueIterator_hasNext(long jarg1, ValueIterator jarg1_);
63
+ public final static native long new_Document__SWIG_0(long jarg1, Document jarg1_);
64
+ public final static native long new_Document__SWIG_1();
65
+ public final static native void delete_Document(long jarg1);
66
+ public final static native String Document_getValue(long jarg1, Document jarg1_, int jarg2);
67
+ public final static native void Document_addValue(long jarg1, Document jarg1_, int jarg2, String jarg3);
68
+ public final static native void Document_removeValue(long jarg1, Document jarg1_, int jarg2);
69
+ public final static native void Document_clearValues(long jarg1, Document jarg1_);
70
+ public final static native String Document_getData(long jarg1, Document jarg1_);
71
+ public final static native void Document_setData(long jarg1, Document jarg1_, String jarg2);
72
+ public final static native void Document_addPosting__SWIG_0(long jarg1, Document jarg1_, String jarg2, long jarg3, long jarg4);
73
+ public final static native void Document_addPosting__SWIG_1(long jarg1, Document jarg1_, String jarg2, long jarg3);
74
+ public final static native void Document_addTerm__SWIG_0(long jarg1, Document jarg1_, String jarg2, long jarg3);
75
+ public final static native void Document_addTerm__SWIG_1(long jarg1, Document jarg1_, String jarg2);
76
+ public final static native void Document_addBooleanTerm(long jarg1, Document jarg1_, String jarg2);
77
+ public final static native void Document_removePosting__SWIG_0(long jarg1, Document jarg1_, String jarg2, long jarg3, long jarg4);
78
+ public final static native void Document_removePosting__SWIG_1(long jarg1, Document jarg1_, String jarg2, long jarg3);
79
+ public final static native void Document_removeTerm(long jarg1, Document jarg1_, String jarg2);
80
+ public final static native void Document_clearTerms(long jarg1, Document jarg1_);
81
+ public final static native long Document_termListCount(long jarg1, Document jarg1_);
82
+ public final static native long Document_termListBegin(long jarg1, Document jarg1_);
83
+ public final static native long Document_termListEnd(long jarg1, Document jarg1_);
84
+ public final static native long Document_valuesCount(long jarg1, Document jarg1_);
85
+ public final static native long Document_valuesBegin(long jarg1, Document jarg1_);
86
+ public final static native long Document_valuesEnd(long jarg1, Document jarg1_);
87
+ public final static native long Document_getDocId(long jarg1, Document jarg1_);
88
+ public final static native String Document_toString(long jarg1, Document jarg1_);
89
+ public final static native long new_MSet__SWIG_0();
90
+ public final static native long new_MSet__SWIG_1(long jarg1, MSet jarg1_);
91
+ public final static native void delete_MSet(long jarg1);
92
+ public final static native void MSet_fetch__SWIG_0(long jarg1, MSet jarg1_, long jarg2, MSetIterator jarg2_, long jarg3, MSetIterator jarg3_);
93
+ public final static native void MSet_fetch__SWIG_1(long jarg1, MSet jarg1_, long jarg2, MSetIterator jarg2_);
94
+ public final static native void MSet_fetch__SWIG_2(long jarg1, MSet jarg1_);
95
+ public final static native int MSet_convertToPercent__SWIG_0(long jarg1, MSet jarg1_, double jarg2);
96
+ public final static native int MSet_convertToPercent__SWIG_1(long jarg1, MSet jarg1_, long jarg2, MSetIterator jarg2_);
97
+ public final static native long MSet_getTermFreq(long jarg1, MSet jarg1_, String jarg2);
98
+ public final static native double MSet_getTermWeight(long jarg1, MSet jarg1_, String jarg2);
99
+ public final static native long MSet_getFirstItem(long jarg1, MSet jarg1_);
100
+ public final static native long MSet_getMatchesLowerBound(long jarg1, MSet jarg1_);
101
+ public final static native long MSet_getMatchesEstimated(long jarg1, MSet jarg1_);
102
+ public final static native long MSet_getMatchesUpperBound(long jarg1, MSet jarg1_);
103
+ public final static native double MSet_getMaxPossible(long jarg1, MSet jarg1_);
104
+ public final static native double MSet_getMaxAttained(long jarg1, MSet jarg1_);
105
+ public final static native long MSet_size(long jarg1, MSet jarg1_);
106
+ public final static native boolean MSet_empty(long jarg1, MSet jarg1_);
107
+ public final static native long MSet_begin(long jarg1, MSet jarg1_);
108
+ public final static native long MSet_end(long jarg1, MSet jarg1_);
109
+ public final static native long MSet_back(long jarg1, MSet jarg1_);
110
+ public final static native long MSet_getHit(long jarg1, MSet jarg1_, long jarg2);
111
+ public final static native int MSet_getDocumentPercentage(long jarg1, MSet jarg1_, long jarg2);
112
+ public final static native long MSet_getDocument(long jarg1, MSet jarg1_, long jarg2);
113
+ public final static native long MSet_getDocId(long jarg1, MSet jarg1_, long jarg2);
114
+ public final static native long MSet_getElement(long jarg1, MSet jarg1_, long jarg2);
115
+ public final static native long MSet_getDocumentId(long jarg1, MSet jarg1_, long jarg2);
116
+ public final static native String MSet_toString(long jarg1, MSet jarg1_);
117
+ public final static native long new_MSetIterator__SWIG_0();
118
+ public final static native long new_MSetIterator__SWIG_1(long jarg1, MSetIterator jarg1_);
119
+ public final static native void delete_MSetIterator(long jarg1);
120
+ public final static native long MSetIterator_getDocId(long jarg1, MSetIterator jarg1_);
121
+ public final static native long MSetIterator_next(long jarg1, MSetIterator jarg1_);
122
+ public final static native long MSetIterator_prev(long jarg1, MSetIterator jarg1_);
123
+ public final static native boolean MSetIterator_equals(long jarg1, MSetIterator jarg1_, long jarg2, MSetIterator jarg2_);
124
+ public final static native long MSetIterator_getDocument(long jarg1, MSetIterator jarg1_);
125
+ public final static native long MSetIterator_getRank(long jarg1, MSetIterator jarg1_);
126
+ public final static native double MSetIterator_getWeight(long jarg1, MSetIterator jarg1_);
127
+ public final static native String MSetIterator_getCollapseKey(long jarg1, MSetIterator jarg1_);
128
+ public final static native long MSetIterator_getCollapseCount(long jarg1, MSetIterator jarg1_);
129
+ public final static native int MSetIterator_getPercent(long jarg1, MSetIterator jarg1_);
130
+ public final static native String MSetIterator_toString(long jarg1, MSetIterator jarg1_);
131
+ public final static native long new_ESet__SWIG_0();
132
+ public final static native long new_ESet__SWIG_1(long jarg1, ESet jarg1_);
133
+ public final static native void delete_ESet(long jarg1);
134
+ public final static native long ESet_getEbound(long jarg1, ESet jarg1_);
135
+ public final static native long ESet_size(long jarg1, ESet jarg1_);
136
+ public final static native boolean ESet_empty(long jarg1, ESet jarg1_);
137
+ public final static native long ESet_begin(long jarg1, ESet jarg1_);
138
+ public final static native long ESet_end(long jarg1, ESet jarg1_);
139
+ public final static native long ESet_back(long jarg1, ESet jarg1_);
140
+ public final static native String ESet_toString(long jarg1, ESet jarg1_);
141
+ public final static native long new_ESetIterator__SWIG_0();
142
+ public final static native long new_ESetIterator__SWIG_1(long jarg1, ESetIterator jarg1_);
143
+ public final static native void delete_ESetIterator(long jarg1);
144
+ public final static native String ESetIterator_getTermname(long jarg1, ESetIterator jarg1_);
145
+ public final static native String ESetIterator_getTerm(long jarg1, ESetIterator jarg1_);
146
+ public final static native String ESetIterator_next(long jarg1, ESetIterator jarg1_);
147
+ public final static native String ESetIterator_prev(long jarg1, ESetIterator jarg1_);
148
+ public final static native boolean ESetIterator_equals(long jarg1, ESetIterator jarg1_, long jarg2, ESetIterator jarg2_);
149
+ public final static native double ESetIterator_getWeight(long jarg1, ESetIterator jarg1_);
150
+ public final static native String ESetIterator_toString(long jarg1, ESetIterator jarg1_);
151
+ public final static native long new_RSet__SWIG_0(long jarg1, RSet jarg1_);
152
+ public final static native long new_RSet__SWIG_1();
153
+ public final static native void delete_RSet(long jarg1);
154
+ public final static native long RSet_size(long jarg1, RSet jarg1_);
155
+ public final static native boolean RSet_empty(long jarg1, RSet jarg1_);
156
+ public final static native void RSet_addDocument__SWIG_0(long jarg1, RSet jarg1_, long jarg2);
157
+ public final static native void RSet_addDocument__SWIG_1(long jarg1, RSet jarg1_, long jarg2, MSetIterator jarg2_);
158
+ public final static native void RSet_removeDocument__SWIG_0(long jarg1, RSet jarg1_, long jarg2);
159
+ public final static native void RSet_removeDocument__SWIG_1(long jarg1, RSet jarg1_, long jarg2, MSetIterator jarg2_);
160
+ public final static native boolean RSet_contains__SWIG_0(long jarg1, RSet jarg1_, long jarg2);
161
+ public final static native boolean RSet_contains__SWIG_1(long jarg1, RSet jarg1_, long jarg2, MSetIterator jarg2_);
162
+ public final static native String RSet_toString(long jarg1, RSet jarg1_);
163
+ public final static native boolean MatchDecider_accept(long jarg1, MatchDecider jarg1_, long jarg2, Document jarg2_);
164
+ public final static native void delete_MatchDecider(long jarg1);
165
+ public final static native long new_MatchDecider();
166
+ public final static native void MatchDecider_director_connect(MatchDecider obj, long cptr, boolean mem_own, boolean weak_global);
167
+ public final static native void MatchDecider_change_ownership(MatchDecider obj, long cptr, boolean take_or_release);
168
+ public final static native boolean ExpandDecider_accept(long jarg1, ExpandDecider jarg1_, String jarg2);
169
+ public final static native void delete_ExpandDecider(long jarg1);
170
+ public final static native long new_ExpandDecider();
171
+ public final static native void ExpandDecider_director_connect(ExpandDecider obj, long cptr, boolean mem_own, boolean weak_global);
172
+ public final static native void ExpandDecider_change_ownership(ExpandDecider obj, long cptr, boolean take_or_release);
173
+ public final static native long new_Enquire(long jarg1, Database jarg1_);
174
+ public final static native void delete_Enquire(long jarg1);
175
+ public final static native void Enquire_setQuery__SWIG_0(long jarg1, Enquire jarg1_, long jarg2, Query jarg2_, long jarg3);
176
+ public final static native void Enquire_setQuery__SWIG_1(long jarg1, Enquire jarg1_, long jarg2, Query jarg2_);
177
+ public final static native long Enquire_getQuery(long jarg1, Enquire jarg1_);
178
+ public final static native void Enquire_setWeightingScheme(long jarg1, Enquire jarg1_, long jarg2, Weight jarg2_);
179
+ public final static native void Enquire_setCollapseKey(long jarg1, Enquire jarg1_, int jarg2);
180
+ public final static native int Enquire_ASCENDING_get();
181
+ public final static native int Enquire_DESCENDING_get();
182
+ public final static native int Enquire_DONT_CARE_get();
183
+ public final static native void Enquire_setDocidOrder(long jarg1, Enquire jarg1_, int jarg2);
184
+ public final static native void Enquire_setCutoff__SWIG_0(long jarg1, Enquire jarg1_, int jarg2, double jarg3);
185
+ public final static native void Enquire_setCutoff__SWIG_1(long jarg1, Enquire jarg1_, int jarg2);
186
+ public final static native void Enquire_setSortByRelevance(long jarg1, Enquire jarg1_);
187
+ public final static native void Enquire_setSortByValue__SWIG_0(long jarg1, Enquire jarg1_, int jarg2, boolean jarg3);
188
+ public final static native void Enquire_setSortByValue__SWIG_1(long jarg1, Enquire jarg1_, int jarg2);
189
+ public final static native void Enquire_setSortByValueThenRelevance__SWIG_0(long jarg1, Enquire jarg1_, int jarg2, boolean jarg3);
190
+ public final static native void Enquire_setSortByValueThenRelevance__SWIG_1(long jarg1, Enquire jarg1_, int jarg2);
191
+ public final static native void Enquire_setSortByRelevanceThenValue__SWIG_0(long jarg1, Enquire jarg1_, int jarg2, boolean jarg3);
192
+ public final static native void Enquire_setSortByRelevanceThenValue__SWIG_1(long jarg1, Enquire jarg1_, int jarg2);
193
+ public final static native void Enquire_setSortByKey__SWIG_0(long jarg1, Enquire jarg1_, long jarg2, Sorter jarg2_, boolean jarg3);
194
+ public final static native void Enquire_setSortByKey__SWIG_1(long jarg1, Enquire jarg1_, long jarg2, Sorter jarg2_);
195
+ public final static native void Enquire_setSortByKeyThenRelevance__SWIG_0(long jarg1, Enquire jarg1_, long jarg2, Sorter jarg2_, boolean jarg3);
196
+ public final static native void Enquire_setSortByKeyThenRelevance__SWIG_1(long jarg1, Enquire jarg1_, long jarg2, Sorter jarg2_);
197
+ public final static native void Enquire_setSortByRelevanceThenKey__SWIG_0(long jarg1, Enquire jarg1_, long jarg2, Sorter jarg2_, boolean jarg3);
198
+ public final static native void Enquire_setSortByRelevanceThenKey__SWIG_1(long jarg1, Enquire jarg1_, long jarg2, Sorter jarg2_);
199
+ public final static native int Enquire_INCLUDE_QUERY_TERMS_get();
200
+ public final static native int Enquire_USE_EXACT_TERMFREQ_get();
201
+ public final static native long Enquire_getMSet__SWIG_0(long jarg1, Enquire jarg1_, long jarg2, long jarg3, long jarg4, long jarg5, RSet jarg5_, long jarg6, MatchDecider jarg6_);
202
+ public final static native long Enquire_getMSet__SWIG_1(long jarg1, Enquire jarg1_, long jarg2, long jarg3, long jarg4, long jarg5, RSet jarg5_);
203
+ public final static native long Enquire_getMSet__SWIG_2(long jarg1, Enquire jarg1_, long jarg2, long jarg3, long jarg4);
204
+ public final static native long Enquire_getMSet__SWIG_3(long jarg1, Enquire jarg1_, long jarg2, long jarg3);
205
+ public final static native long Enquire_getMSet__SWIG_4(long jarg1, Enquire jarg1_, long jarg2, long jarg3, long jarg4, long jarg5, RSet jarg5_, long jarg6, MatchDecider jarg6_, long jarg7, MatchDecider jarg7_);
206
+ public final static native long Enquire_getMSet__SWIG_5(long jarg1, Enquire jarg1_, long jarg2, long jarg3, long jarg4, RSet jarg4_, long jarg5, MatchDecider jarg5_);
207
+ public final static native long Enquire_getMSet__SWIG_6(long jarg1, Enquire jarg1_, long jarg2, long jarg3, long jarg4, RSet jarg4_);
208
+ public final static native long Enquire_getESet__SWIG_0(long jarg1, Enquire jarg1_, long jarg2, long jarg3, RSet jarg3_, int jarg4, double jarg5, long jarg6, ExpandDecider jarg6_);
209
+ public final static native long Enquire_getESet__SWIG_1(long jarg1, Enquire jarg1_, long jarg2, long jarg3, RSet jarg3_, int jarg4, double jarg5);
210
+ public final static native long Enquire_getESet__SWIG_2(long jarg1, Enquire jarg1_, long jarg2, long jarg3, RSet jarg3_, int jarg4);
211
+ public final static native long Enquire_getESet__SWIG_3(long jarg1, Enquire jarg1_, long jarg2, long jarg3, RSet jarg3_);
212
+ public final static native long Enquire_getESet__SWIG_4(long jarg1, Enquire jarg1_, long jarg2, long jarg3, RSet jarg3_, long jarg4, ExpandDecider jarg4_);
213
+ public final static native long Enquire_getMatchingTermsBegin__SWIG_0(long jarg1, Enquire jarg1_, long jarg2);
214
+ public final static native long Enquire_getMatchingTermsEnd__SWIG_0(long jarg1, Enquire jarg1_, long jarg2);
215
+ public final static native long Enquire_getMatchingTermsBegin__SWIG_1(long jarg1, Enquire jarg1_, long jarg2, MSetIterator jarg2_);
216
+ public final static native long Enquire_getMatchingTermsEnd__SWIG_1(long jarg1, Enquire jarg1_, long jarg2, MSetIterator jarg2_);
217
+ public final static native void Enquire_registerMatchDecider__SWIG_0(long jarg1, Enquire jarg1_, String jarg2, long jarg3, MatchDecider jarg3_);
218
+ public final static native void Enquire_registerMatchDecider__SWIG_1(long jarg1, Enquire jarg1_, String jarg2);
219
+ public final static native String Enquire_toString(long jarg1, Enquire jarg1_);
220
+ public final static native void delete_Weight(long jarg1);
221
+ public final static native String Weight_name(long jarg1, Weight jarg1_);
222
+ public final static native String Weight_serialise(long jarg1, Weight jarg1_);
223
+ public final static native long Weight_unserialise(long jarg1, Weight jarg1_, String jarg2);
224
+ public final static native double Weight_getSumPart(long jarg1, Weight jarg1_, long jarg2, double jarg3);
225
+ public final static native double Weight_getMaxPart(long jarg1, Weight jarg1_);
226
+ public final static native double Weight_getSumExtra(long jarg1, Weight jarg1_, double jarg2);
227
+ public final static native double Weight_getMaxExtra(long jarg1, Weight jarg1_);
228
+ public final static native boolean Weight_getSumPartNeedsDocLength(long jarg1, Weight jarg1_);
229
+ public final static native long BoolWeight_cloneWeight(long jarg1, BoolWeight jarg1_);
230
+ public final static native long new_BoolWeight();
231
+ public final static native void delete_BoolWeight(long jarg1);
232
+ public final static native String BoolWeight_name(long jarg1, BoolWeight jarg1_);
233
+ public final static native String BoolWeight_serialise(long jarg1, BoolWeight jarg1_);
234
+ public final static native long BoolWeight_unserialise(long jarg1, BoolWeight jarg1_, String jarg2);
235
+ public final static native double BoolWeight_getSumPart(long jarg1, BoolWeight jarg1_, long jarg2, double jarg3);
236
+ public final static native double BoolWeight_getMaxPart(long jarg1, BoolWeight jarg1_);
237
+ public final static native double BoolWeight_getSumExtra(long jarg1, BoolWeight jarg1_, double jarg2);
238
+ public final static native double BoolWeight_getMaxExtra(long jarg1, BoolWeight jarg1_);
239
+ public final static native boolean BoolWeight_getSumPartNeedsDocLength(long jarg1, BoolWeight jarg1_);
240
+ public final static native long new_BM25Weight__SWIG_0(double jarg1, double jarg2, double jarg3, double jarg4, double jarg5);
241
+ public final static native long new_BM25Weight__SWIG_1();
242
+ public final static native long BM25Weight_cloneWeight(long jarg1, BM25Weight jarg1_);
243
+ public final static native void delete_BM25Weight(long jarg1);
244
+ public final static native String BM25Weight_name(long jarg1, BM25Weight jarg1_);
245
+ public final static native String BM25Weight_serialise(long jarg1, BM25Weight jarg1_);
246
+ public final static native long BM25Weight_unserialise(long jarg1, BM25Weight jarg1_, String jarg2);
247
+ public final static native double BM25Weight_getSumPart(long jarg1, BM25Weight jarg1_, long jarg2, double jarg3);
248
+ public final static native double BM25Weight_getMaxPart(long jarg1, BM25Weight jarg1_);
249
+ public final static native double BM25Weight_getSumExtra(long jarg1, BM25Weight jarg1_, double jarg2);
250
+ public final static native double BM25Weight_getMaxExtra(long jarg1, BM25Weight jarg1_);
251
+ public final static native boolean BM25Weight_getSumPartNeedsDocLength(long jarg1, BM25Weight jarg1_);
252
+ public final static native long new_TradWeight__SWIG_0(double jarg1);
253
+ public final static native long new_TradWeight__SWIG_1();
254
+ public final static native long TradWeight_cloneWeight(long jarg1, TradWeight jarg1_);
255
+ public final static native void delete_TradWeight(long jarg1);
256
+ public final static native String TradWeight_name(long jarg1, TradWeight jarg1_);
257
+ public final static native String TradWeight_serialise(long jarg1, TradWeight jarg1_);
258
+ public final static native long TradWeight_unserialise(long jarg1, TradWeight jarg1_, String jarg2);
259
+ public final static native double TradWeight_getSumPart(long jarg1, TradWeight jarg1_, long jarg2, double jarg3);
260
+ public final static native double TradWeight_getMaxPart(long jarg1, TradWeight jarg1_);
261
+ public final static native double TradWeight_getSumExtra(long jarg1, TradWeight jarg1_, double jarg2);
262
+ public final static native double TradWeight_getMaxExtra(long jarg1, TradWeight jarg1_);
263
+ public final static native boolean TradWeight_getSumPartNeedsDocLength(long jarg1, TradWeight jarg1_);
264
+ public final static native void Database_addDatabase(long jarg1, Database jarg1_, long jarg2, Database jarg2_);
265
+ public final static native long new_Database__SWIG_0();
266
+ public final static native long new_Database__SWIG_1(String jarg1);
267
+ public final static native void delete_Database(long jarg1);
268
+ public final static native long new_Database__SWIG_2(long jarg1, Database jarg1_);
269
+ public final static native void Database_reopen(long jarg1, Database jarg1_);
270
+ public final static native String Database_toString(long jarg1, Database jarg1_);
271
+ public final static native long Database_postListBegin(long jarg1, Database jarg1_, String jarg2);
272
+ public final static native long Database_postListEnd(long jarg1, Database jarg1_, String jarg2);
273
+ public final static native long Database_termListBegin(long jarg1, Database jarg1_, long jarg2);
274
+ public final static native long Database_termListEnd(long jarg1, Database jarg1_, long jarg2);
275
+ public final static native long Database_positionListBegin(long jarg1, Database jarg1_, long jarg2, String jarg3);
276
+ public final static native long Database_positionListEnd(long jarg1, Database jarg1_, long jarg2, String jarg3);
277
+ public final static native long Database_allTermsBegin__SWIG_0(long jarg1, Database jarg1_);
278
+ public final static native long Database_allTermsEnd__SWIG_0(long jarg1, Database jarg1_);
279
+ public final static native long Database_allTermsBegin__SWIG_1(long jarg1, Database jarg1_, String jarg2);
280
+ public final static native long Database_allTermsEnd__SWIG_1(long jarg1, Database jarg1_, String jarg2);
281
+ public final static native long Database_getDocCount(long jarg1, Database jarg1_);
282
+ public final static native long Database_getLastDocId(long jarg1, Database jarg1_);
283
+ public final static native double Database_getAvLength(long jarg1, Database jarg1_);
284
+ public final static native long Database_getTermFreq(long jarg1, Database jarg1_, String jarg2);
285
+ public final static native boolean Database_termExists(long jarg1, Database jarg1_, String jarg2);
286
+ public final static native long Database_getCollectionFreq(long jarg1, Database jarg1_, String jarg2);
287
+ public final static native double Database_getDocLength(long jarg1, Database jarg1_, long jarg2);
288
+ public final static native void Database_keepAlive(long jarg1, Database jarg1_);
289
+ public final static native long Database_getDocument(long jarg1, Database jarg1_, long jarg2);
290
+ public final static native String Database_getSpellingSuggestion__SWIG_0(long jarg1, Database jarg1_, String jarg2, long jarg3);
291
+ public final static native String Database_getSpellingSuggestion__SWIG_1(long jarg1, Database jarg1_, String jarg2);
292
+ public final static native long Database_spellingsBegin(long jarg1, Database jarg1_);
293
+ public final static native long Database_spellingsEnd(long jarg1, Database jarg1_);
294
+ public final static native long Database_synonymsBegin(long jarg1, Database jarg1_, String jarg2);
295
+ public final static native long Database_synonymsEnd(long jarg1, Database jarg1_, String jarg2);
296
+ public final static native long Database_synonymKeysBegin__SWIG_0(long jarg1, Database jarg1_, String jarg2);
297
+ public final static native long Database_synonymKeysBegin__SWIG_1(long jarg1, Database jarg1_);
298
+ public final static native long Database_synonymKeysEnd__SWIG_0(long jarg1, Database jarg1_, String jarg2);
299
+ public final static native long Database_synonymKeysEnd__SWIG_1(long jarg1, Database jarg1_);
300
+ public final static native String Database_getMetadata(long jarg1, Database jarg1_, String jarg2);
301
+ public final static native long Database_metadataKeysBegin__SWIG_0(long jarg1, Database jarg1_, String jarg2);
302
+ public final static native long Database_metadataKeysBegin__SWIG_1(long jarg1, Database jarg1_);
303
+ public final static native long Database_metadataKeysEnd__SWIG_0(long jarg1, Database jarg1_, String jarg2);
304
+ public final static native long Database_metadataKeysEnd__SWIG_1(long jarg1, Database jarg1_);
305
+ public final static native void delete_WritableDatabase(long jarg1);
306
+ public final static native long new_WritableDatabase__SWIG_0();
307
+ public final static native long new_WritableDatabase__SWIG_1(String jarg1, int jarg2);
308
+ public final static native long new_WritableDatabase__SWIG_2(long jarg1, WritableDatabase jarg1_);
309
+ public final static native void WritableDatabase_flush(long jarg1, WritableDatabase jarg1_);
310
+ public final static native void WritableDatabase_beginTransaction__SWIG_0(long jarg1, WritableDatabase jarg1_, boolean jarg2);
311
+ public final static native void WritableDatabase_beginTransaction__SWIG_1(long jarg1, WritableDatabase jarg1_);
312
+ public final static native void WritableDatabase_commitTransaction(long jarg1, WritableDatabase jarg1_);
313
+ public final static native void WritableDatabase_cancelTransaction(long jarg1, WritableDatabase jarg1_);
314
+ public final static native long WritableDatabase_addDocument(long jarg1, WritableDatabase jarg1_, long jarg2, Document jarg2_);
315
+ public final static native void WritableDatabase_deleteDocument__SWIG_0(long jarg1, WritableDatabase jarg1_, long jarg2);
316
+ public final static native void WritableDatabase_replaceDocument__SWIG_0(long jarg1, WritableDatabase jarg1_, long jarg2, long jarg3, Document jarg3_);
317
+ public final static native void WritableDatabase_deleteDocument__SWIG_1(long jarg1, WritableDatabase jarg1_, String jarg2);
318
+ public final static native long WritableDatabase_replaceDocument__SWIG_1(long jarg1, WritableDatabase jarg1_, String jarg2, long jarg3, Document jarg3_);
319
+ public final static native void WritableDatabase_addSpelling__SWIG_0(long jarg1, WritableDatabase jarg1_, String jarg2, long jarg3);
320
+ public final static native void WritableDatabase_addSpelling__SWIG_1(long jarg1, WritableDatabase jarg1_, String jarg2);
321
+ public final static native void WritableDatabase_removeSpelling__SWIG_0(long jarg1, WritableDatabase jarg1_, String jarg2, long jarg3);
322
+ public final static native void WritableDatabase_removeSpelling__SWIG_1(long jarg1, WritableDatabase jarg1_, String jarg2);
323
+ public final static native void WritableDatabase_addSynonym(long jarg1, WritableDatabase jarg1_, String jarg2, String jarg3);
324
+ public final static native void WritableDatabase_removeSynonym(long jarg1, WritableDatabase jarg1_, String jarg2, String jarg3);
325
+ public final static native void WritableDatabase_clearSynonyms(long jarg1, WritableDatabase jarg1_, String jarg2);
326
+ public final static native void WritableDatabase_setMetadata(long jarg1, WritableDatabase jarg1_, String jarg2, String jarg3);
327
+ public final static native String WritableDatabase_toString(long jarg1, WritableDatabase jarg1_);
328
+ public final static native int DB_CREATE_OR_OPEN_get();
329
+ public final static native int DB_CREATE_get();
330
+ public final static native int DB_CREATE_OR_OVERWRITE_get();
331
+ public final static native int DB_OPEN_get();
332
+ public final static native long Auto_openStub(String jarg1);
333
+ public final static native long Quartz_open__SWIG_0(String jarg1);
334
+ public final static native long Quartz_open__SWIG_1(String jarg1, int jarg2, int jarg3);
335
+ public final static native long Quartz_open__SWIG_2(String jarg1, int jarg2);
336
+ public final static native long Flint_open__SWIG_0(String jarg1);
337
+ public final static native long Flint_open__SWIG_1(String jarg1, int jarg2, int jarg3);
338
+ public final static native long Flint_open__SWIG_2(String jarg1, int jarg2);
339
+ public final static native long InMemory_open();
340
+ public final static native long Remote_open__SWIG_0(String jarg1, long jarg2, long jarg3, long jarg4);
341
+ public final static native long Remote_open__SWIG_1(String jarg1, long jarg2, long jarg3);
342
+ public final static native long Remote_open__SWIG_2(String jarg1, long jarg2);
343
+ public final static native long Remote_openWritable__SWIG_0(String jarg1, long jarg2, long jarg3, long jarg4);
344
+ public final static native long Remote_openWritable__SWIG_1(String jarg1, long jarg2, long jarg3);
345
+ public final static native long Remote_openWritable__SWIG_2(String jarg1, long jarg2);
346
+ public final static native long Remote_open__SWIG_3(String jarg1, String jarg2, long jarg3);
347
+ public final static native long Remote_open__SWIG_4(String jarg1, String jarg2);
348
+ public final static native long Remote_openWritable__SWIG_3(String jarg1, String jarg2, long jarg3);
349
+ public final static native long Remote_openWritable__SWIG_4(String jarg1, String jarg2);
350
+ public final static native int Query_OP_ELITE_SET_get();
351
+ public final static native long new_Query__SWIG_0(String jarg1, long jarg2, long jarg3);
352
+ public final static native long new_Query__SWIG_1(String jarg1, long jarg2);
353
+ public final static native long new_Query__SWIG_2(String jarg1);
354
+ public final static native long new_Query__SWIG_3(int jarg1, long jarg2, Query jarg2_, long jarg3, Query jarg3_);
355
+ public final static native long new_Query__SWIG_4(int jarg1, String jarg2, String jarg3);
356
+ public final static native long new_Query__SWIG_5(long jarg1, Query jarg1_);
357
+ public final static native long new_Query__SWIG_6(int jarg1, int jarg2, String jarg3, String jarg4);
358
+ public final static native long new_Query__SWIG_7(int jarg1, int jarg2, String jarg3);
359
+ public final static native long new_Query__SWIG_8(int jarg1, String[] jarg2, long jarg3);
360
+ public final static native long new_Query__SWIG_9(int jarg1, String[] jarg2);
361
+ public final static native long new_Query__SWIG_10(int jarg1, long[] jarg2, long jarg3);
362
+ public final static native long new_Query__SWIG_11(int jarg1, long[] jarg2);
363
+ public final static native long new_Query__SWIG_12(int jarg1, long jarg2, Query jarg2_);
364
+ public final static native long new_Query__SWIG_13(int jarg1, long jarg2, Query jarg2_, double jarg3);
365
+ public final static native long new_Query__SWIG_14();
366
+ public final static native void delete_Query(long jarg1);
367
+ public final static native long Query_getLength(long jarg1, Query jarg1_);
368
+ public final static native long Query_getTermsBegin(long jarg1, Query jarg1_);
369
+ public final static native long Query_getTermsEnd(long jarg1, Query jarg1_);
370
+ public final static native boolean Query_empty(long jarg1, Query jarg1_);
371
+ public final static native String Query_toString(long jarg1, Query jarg1_);
372
+ public final static native boolean Stopper_apply(long jarg1, Stopper jarg1_, String jarg2);
373
+ public final static native void delete_Stopper(long jarg1);
374
+ public final static native String Stopper_toString(long jarg1, Stopper jarg1_);
375
+ public final static native String Stopper_toStringSwigExplicitStopper(long jarg1, Stopper jarg1_);
376
+ public final static native long new_Stopper();
377
+ public final static native void Stopper_director_connect(Stopper obj, long cptr, boolean mem_own, boolean weak_global);
378
+ public final static native void Stopper_change_ownership(Stopper obj, long cptr, boolean take_or_release);
379
+ public final static native long new_SimpleStopper();
380
+ public final static native void SimpleStopper_add(long jarg1, SimpleStopper jarg1_, String jarg2);
381
+ public final static native boolean SimpleStopper_apply(long jarg1, SimpleStopper jarg1_, String jarg2);
382
+ public final static native void delete_SimpleStopper(long jarg1);
383
+ public final static native String SimpleStopper_toString(long jarg1, SimpleStopper jarg1_);
384
+ public final static native void delete_ValueRangeProcessor(long jarg1);
385
+ public final static native int ValueRangeProcessor_apply(long jarg1, ValueRangeProcessor jarg1_, long jarg2, long jarg3);
386
+ public final static native long new_ValueRangeProcessor();
387
+ public final static native void ValueRangeProcessor_director_connect(ValueRangeProcessor obj, long cptr, boolean mem_own, boolean weak_global);
388
+ public final static native void ValueRangeProcessor_change_ownership(ValueRangeProcessor obj, long cptr, boolean take_or_release);
389
+ public final static native long new_StringValueRangeProcessor(int jarg1);
390
+ public final static native int StringValueRangeProcessor_apply(long jarg1, StringValueRangeProcessor jarg1_, long jarg2, long jarg3);
391
+ public final static native void delete_StringValueRangeProcessor(long jarg1);
392
+ public final static native long new_DateValueRangeProcessor__SWIG_0(int jarg1, boolean jarg2, int jarg3);
393
+ public final static native long new_DateValueRangeProcessor__SWIG_1(int jarg1, boolean jarg2);
394
+ public final static native long new_DateValueRangeProcessor__SWIG_2(int jarg1);
395
+ public final static native int DateValueRangeProcessor_apply(long jarg1, DateValueRangeProcessor jarg1_, long jarg2, long jarg3);
396
+ public final static native void delete_DateValueRangeProcessor(long jarg1);
397
+ public final static native long new_NumberValueRangeProcessor__SWIG_0(int jarg1);
398
+ public final static native long new_NumberValueRangeProcessor__SWIG_1(int jarg1, String jarg2, boolean jarg3);
399
+ public final static native long new_NumberValueRangeProcessor__SWIG_2(int jarg1, String jarg2);
400
+ public final static native int NumberValueRangeProcessor_apply(long jarg1, NumberValueRangeProcessor jarg1_, long jarg2, long jarg3);
401
+ public final static native void delete_NumberValueRangeProcessor(long jarg1);
402
+ public final static native int QueryParser_FLAG_BOOLEAN_get();
403
+ public final static native int QueryParser_FLAG_PHRASE_get();
404
+ public final static native int QueryParser_FLAG_LOVEHATE_get();
405
+ public final static native int QueryParser_FLAG_BOOLEAN_ANY_CASE_get();
406
+ public final static native int QueryParser_FLAG_WILDCARD_get();
407
+ public final static native int QueryParser_FLAG_PURE_NOT_get();
408
+ public final static native int QueryParser_FLAG_PARTIAL_get();
409
+ public final static native int QueryParser_FLAG_SPELLING_CORRECTION_get();
410
+ public final static native int QueryParser_FLAG_SYNONYM_get();
411
+ public final static native int QueryParser_FLAG_AUTO_SYNONYMS_get();
412
+ public final static native int QueryParser_FLAG_AUTO_MULTIWORD_SYNONYMS_get();
413
+ public final static native int QueryParser_FLAG_DEFAULT_get();
414
+ public final static native long new_QueryParser();
415
+ public final static native void delete_QueryParser(long jarg1);
416
+ public final static native void QueryParser_setStemmer(long jarg1, QueryParser jarg1_, long jarg2, Stem jarg2_);
417
+ public final static native void QueryParser_setStemmingStrategy(long jarg1, QueryParser jarg1_, int jarg2);
418
+ public final static native void QueryParser_setStopper__SWIG_0(long jarg1, QueryParser jarg1_, long jarg2, Stopper jarg2_);
419
+ public final static native void QueryParser_setStopper__SWIG_1(long jarg1, QueryParser jarg1_);
420
+ public final static native void QueryParser_setDefaultOp(long jarg1, QueryParser jarg1_, int jarg2);
421
+ public final static native int QueryParser_getDefaultOp(long jarg1, QueryParser jarg1_);
422
+ public final static native void QueryParser_setDatabase(long jarg1, QueryParser jarg1_, long jarg2, Database jarg2_);
423
+ public final static native long QueryParser_parseQuery__SWIG_0(long jarg1, QueryParser jarg1_, String jarg2, long jarg3, String jarg4);
424
+ public final static native long QueryParser_parseQuery__SWIG_1(long jarg1, QueryParser jarg1_, String jarg2, long jarg3);
425
+ public final static native long QueryParser_parseQuery__SWIG_2(long jarg1, QueryParser jarg1_, String jarg2);
426
+ public final static native void QueryParser_addPrefix(long jarg1, QueryParser jarg1_, String jarg2, String jarg3);
427
+ public final static native void QueryParser_addBooleanPrefix(long jarg1, QueryParser jarg1_, String jarg2, String jarg3);
428
+ public final static native long QueryParser_stopListBegin(long jarg1, QueryParser jarg1_);
429
+ public final static native long QueryParser_stopListEnd(long jarg1, QueryParser jarg1_);
430
+ public final static native long QueryParser_unstemBegin(long jarg1, QueryParser jarg1_, String jarg2);
431
+ public final static native long QueryParser_unstemEnd(long jarg1, QueryParser jarg1_, String jarg2);
432
+ public final static native void QueryParser_addValuerangeprocessor(long jarg1, QueryParser jarg1_, long jarg2, ValueRangeProcessor jarg2_);
433
+ public final static native String QueryParser_getCorrectedQueryString(long jarg1, QueryParser jarg1_);
434
+ public final static native String QueryParser_toString(long jarg1, QueryParser jarg1_);
435
+ public final static native String sortableSerialise(double jarg1);
436
+ public final static native double sortableUnserialise(String jarg1);
437
+ public final static native long new_Stem(String jarg1);
438
+ public final static native void delete_Stem(long jarg1);
439
+ public final static native String Stem_apply(long jarg1, Stem jarg1_, String jarg2);
440
+ public final static native String Stem_toString(long jarg1, Stem jarg1_);
441
+ public final static native String Stem_getAvailableLanguages();
442
+ public final static native long new_TermGenerator();
443
+ public final static native void delete_TermGenerator(long jarg1);
444
+ public final static native void TermGenerator_setStemmer(long jarg1, TermGenerator jarg1_, long jarg2, Stem jarg2_);
445
+ public final static native void TermGenerator_setStopper__SWIG_0(long jarg1, TermGenerator jarg1_, long jarg2, Stopper jarg2_);
446
+ public final static native void TermGenerator_setStopper__SWIG_1(long jarg1, TermGenerator jarg1_);
447
+ public final static native void TermGenerator_setDocument(long jarg1, TermGenerator jarg1_, long jarg2, Document jarg2_);
448
+ public final static native long TermGenerator_getDocument(long jarg1, TermGenerator jarg1_);
449
+ public final static native void TermGenerator_setDatabase(long jarg1, TermGenerator jarg1_, long jarg2, WritableDatabase jarg2_);
450
+ public final static native int TermGenerator_FLAG_SPELLING_get();
451
+ public final static native int TermGenerator_setFlags__SWIG_0(long jarg1, TermGenerator jarg1_, int jarg2, int jarg3);
452
+ public final static native int TermGenerator_setFlags__SWIG_1(long jarg1, TermGenerator jarg1_, int jarg2);
453
+ public final static native void TermGenerator_indexText__SWIG_0(long jarg1, TermGenerator jarg1_, String jarg2, long jarg3, String jarg4);
454
+ public final static native void TermGenerator_indexText__SWIG_1(long jarg1, TermGenerator jarg1_, String jarg2, long jarg3);
455
+ public final static native void TermGenerator_indexText__SWIG_2(long jarg1, TermGenerator jarg1_, String jarg2);
456
+ public final static native void TermGenerator_indexTextWithoutPositions__SWIG_0(long jarg1, TermGenerator jarg1_, String jarg2, long jarg3, String jarg4);
457
+ public final static native void TermGenerator_indexTextWithoutPositions__SWIG_1(long jarg1, TermGenerator jarg1_, String jarg2, long jarg3);
458
+ public final static native void TermGenerator_indexTextWithoutPositions__SWIG_2(long jarg1, TermGenerator jarg1_, String jarg2);
459
+ public final static native void TermGenerator_increaseTermpos__SWIG_0(long jarg1, TermGenerator jarg1_, long jarg2);
460
+ public final static native void TermGenerator_increaseTermpos__SWIG_1(long jarg1, TermGenerator jarg1_);
461
+ public final static native long TermGenerator_getTermPos(long jarg1, TermGenerator jarg1_);
462
+ public final static native void TermGenerator_setTermpos(long jarg1, TermGenerator jarg1_, long jarg2);
463
+ public final static native String TermGenerator_toString(long jarg1, TermGenerator jarg1_);
464
+ public final static native String Sorter_apply(long jarg1, Sorter jarg1_, long jarg2, Document jarg2_);
465
+ public final static native void delete_Sorter(long jarg1);
466
+ public final static native long new_Sorter();
467
+ public final static native void Sorter_director_connect(Sorter obj, long cptr, boolean mem_own, boolean weak_global);
468
+ public final static native void Sorter_change_ownership(Sorter obj, long cptr, boolean take_or_release);
469
+ public final static native long new_MultiValueSorter();
470
+ public final static native String MultiValueSorter_apply(long jarg1, MultiValueSorter jarg1_, long jarg2, Document jarg2_);
471
+ public final static native void MultiValueSorter_add__SWIG_0(long jarg1, MultiValueSorter jarg1_, int jarg2, boolean jarg3);
472
+ public final static native void MultiValueSorter_add__SWIG_1(long jarg1, MultiValueSorter jarg1_, int jarg2);
473
+ public final static native void delete_MultiValueSorter(long jarg1);
474
+ public final static native long SWIGBoolWeightUpcast(long jarg1);
475
+ public final static native long SWIGBM25WeightUpcast(long jarg1);
476
+ public final static native long SWIGTradWeightUpcast(long jarg1);
477
+ public final static native long SWIGWritableDatabaseUpcast(long jarg1);
478
+ public final static native long SWIGSimpleStopperUpcast(long jarg1);
479
+ public final static native long SWIGStringValueRangeProcessorUpcast(long jarg1);
480
+ public final static native long SWIGDateValueRangeProcessorUpcast(long jarg1);
481
+ public final static native long SWIGNumberValueRangeProcessorUpcast(long jarg1);
482
+ public final static native long SWIGMultiValueSorterUpcast(long jarg1);
483
+
484
+ public static boolean SwigDirector_MatchDecider_accept(MatchDecider self, long doc) {
485
+ return self.accept(new Document(doc, false));
486
+ }
487
+ public static boolean SwigDirector_ExpandDecider_accept(ExpandDecider self, String term) {
488
+ return self.accept(term);
489
+ }
490
+ public static boolean SwigDirector_Stopper_apply(Stopper self, String term) {
491
+ return self.apply(term);
492
+ }
493
+ public static String SwigDirector_Stopper_toString(Stopper self) {
494
+ return self.toString();
495
+ }
496
+ public static int SwigDirector_ValueRangeProcessor_apply(ValueRangeProcessor self, long begin, long end) {
497
+ return self.apply(new SWIGTYPE_p_std__string(begin, false), new SWIGTYPE_p_std__string(end, false));
498
+ }
499
+ public static String SwigDirector_Sorter_apply(Sorter self, long doc) {
500
+ return self.apply(new Document(doc, false));
501
+ }
502
+
503
+ private final static native void swig_module_init();
504
+ static {
505
+ System.loadLibrary("xapian_jni");
506
+ swig_module_init();
507
+ }
508
+ }