//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (https://www.swig.org).
// Version 4.3.0
//
// Do not make changes to this file unless you know what you are doing - modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------

namespace Xapian {

class XapianPINVOKE {

  protected class SWIGExceptionHelper {

    public delegate void ExceptionDelegate(string message);
    public delegate void ExceptionArgumentDelegate(string message, string paramName);

    static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException);
    static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException);
    static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException);
    static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException);
    static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException);
    static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException);
    static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException);
    static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException);
    static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException);
    static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException);
    static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException);

    static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException);
    static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException);
    static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException);

    [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="SWIGRegisterExceptionCallbacks_Xapian")]
    public static extern void SWIGRegisterExceptionCallbacks_Xapian(
                                ExceptionDelegate applicationDelegate,
                                ExceptionDelegate arithmeticDelegate,
                                ExceptionDelegate divideByZeroDelegate, 
                                ExceptionDelegate indexOutOfRangeDelegate, 
                                ExceptionDelegate invalidCastDelegate,
                                ExceptionDelegate invalidOperationDelegate,
                                ExceptionDelegate ioDelegate,
                                ExceptionDelegate nullReferenceDelegate,
                                ExceptionDelegate outOfMemoryDelegate, 
                                ExceptionDelegate overflowDelegate, 
                                ExceptionDelegate systemExceptionDelegate);

    [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_Xapian")]
    public static extern void SWIGRegisterExceptionCallbacksArgument_Xapian(
                                ExceptionArgumentDelegate argumentDelegate,
                                ExceptionArgumentDelegate argumentNullDelegate,
                                ExceptionArgumentDelegate argumentOutOfRangeDelegate);

    static void SetPendingApplicationException(string message) {
      SWIGPendingException.Set(new global::System.ApplicationException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingArithmeticException(string message) {
      SWIGPendingException.Set(new global::System.ArithmeticException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingDivideByZeroException(string message) {
      SWIGPendingException.Set(new global::System.DivideByZeroException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingIndexOutOfRangeException(string message) {
      SWIGPendingException.Set(new global::System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingInvalidCastException(string message) {
      SWIGPendingException.Set(new global::System.InvalidCastException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingInvalidOperationException(string message) {
      SWIGPendingException.Set(new global::System.InvalidOperationException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingIOException(string message) {
      SWIGPendingException.Set(new global::System.IO.IOException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingNullReferenceException(string message) {
      SWIGPendingException.Set(new global::System.NullReferenceException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingOutOfMemoryException(string message) {
      SWIGPendingException.Set(new global::System.OutOfMemoryException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingOverflowException(string message) {
      SWIGPendingException.Set(new global::System.OverflowException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingSystemException(string message) {
      SWIGPendingException.Set(new global::System.SystemException(message, SWIGPendingException.Retrieve()));
    }

    static void SetPendingArgumentException(string message, string paramName) {
      SWIGPendingException.Set(new global::System.ArgumentException(message, paramName, SWIGPendingException.Retrieve()));
    }
    static void SetPendingArgumentNullException(string message, string paramName) {
      global::System.Exception e = SWIGPendingException.Retrieve();
      if (e != null) message = message + " Inner Exception: " + e.Message;
      SWIGPendingException.Set(new global::System.ArgumentNullException(paramName, message));
    }
    static void SetPendingArgumentOutOfRangeException(string message, string paramName) {
      global::System.Exception e = SWIGPendingException.Retrieve();
      if (e != null) message = message + " Inner Exception: " + e.Message;
      SWIGPendingException.Set(new global::System.ArgumentOutOfRangeException(paramName, message));
    }

    static SWIGExceptionHelper() {
      SWIGRegisterExceptionCallbacks_Xapian(
                                applicationDelegate,
                                arithmeticDelegate,
                                divideByZeroDelegate,
                                indexOutOfRangeDelegate,
                                invalidCastDelegate,
                                invalidOperationDelegate,
                                ioDelegate,
                                nullReferenceDelegate,
                                outOfMemoryDelegate,
                                overflowDelegate,
                                systemDelegate);

      SWIGRegisterExceptionCallbacksArgument_Xapian(
                                argumentDelegate,
                                argumentNullDelegate,
                                argumentOutOfRangeDelegate);
    }
  }

  protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper();

  public class SWIGPendingException {
    [global::System.ThreadStatic]
    private static global::System.Exception pendingException = null;
    private static int numExceptionsPending = 0;
    private static global::System.Object exceptionsLock = null;

    public static bool Pending {
      get {
        bool pending = false;
        if (numExceptionsPending > 0)
          if (pendingException != null)
            pending = true;
        return pending;
      } 
    }

    public static void Set(global::System.Exception e) {
      if (pendingException != null)
        throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e);
      pendingException = e;
      lock(exceptionsLock) {
        numExceptionsPending++;
      }
    }

    public static global::System.Exception Retrieve() {
      global::System.Exception e = null;
      if (numExceptionsPending > 0) {
        if (pendingException != null) {
          e = pendingException;
          pendingException = null;
          lock(exceptionsLock) {
            numExceptionsPending--;
          }
        }
      }
      return e;
    }

    static SWIGPendingException() {
      exceptionsLock = new global::System.Object();
    }
  }


  protected class SWIGStringHelper {

    public delegate string SWIGStringDelegate(string message);
    static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString);

    [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="SWIGRegisterStringCallback_Xapian")]
    public static extern void SWIGRegisterStringCallback_Xapian(SWIGStringDelegate stringDelegate);

    static string CreateString(string cString) {
      return cString;
    }

    static SWIGStringHelper() {
      SWIGRegisterStringCallback_Xapian(stringDelegate);
    }
  }

  static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper();


  static XapianPINVOKE() {
  }


  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Version_String")]
  public static extern string Version_String();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Version_Major")]
  public static extern int Version_Major();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Version_Minor")]
  public static extern int Version_Minor();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Version_Revision")]
  public static extern int Version_Revision();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BAD_VALUENO_get")]
  public static extern uint BAD_VALUENO_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_CREATE_get")]
  public static extern int DB_CREATE_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_CREATE_OR_OPEN_get")]
  public static extern int DB_CREATE_OR_OPEN_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_CREATE_OR_OVERWRITE_get")]
  public static extern int DB_CREATE_OR_OVERWRITE_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_OPEN_get")]
  public static extern int DB_OPEN_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_NO_SYNC_get")]
  public static extern int DB_NO_SYNC_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_FULL_SYNC_get")]
  public static extern int DB_FULL_SYNC_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_DANGEROUS_get")]
  public static extern int DB_DANGEROUS_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_NO_TERMLIST_get")]
  public static extern int DB_NO_TERMLIST_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_BACKEND_CHERT_get")]
  public static extern int DB_BACKEND_CHERT_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_BACKEND_GLASS_get")]
  public static extern int DB_BACKEND_GLASS_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_BACKEND_INMEMORY_get")]
  public static extern int DB_BACKEND_INMEMORY_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_BACKEND_STUB_get")]
  public static extern int DB_BACKEND_STUB_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DB_RETRY_LOCK_get")]
  public static extern int DB_RETRY_LOCK_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DBCHECK_SHORT_TREE_get")]
  public static extern int DBCHECK_SHORT_TREE_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DBCHECK_FULL_TREE_get")]
  public static extern int DBCHECK_FULL_TREE_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DBCHECK_SHOW_FREELIST_get")]
  public static extern int DBCHECK_SHOW_FREELIST_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DBCHECK_SHOW_STATS_get")]
  public static extern int DBCHECK_SHOW_STATS_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DBCHECK_FIX_get")]
  public static extern int DBCHECK_FIX_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DBCOMPACT_MULTIPASS_get")]
  public static extern int DBCOMPACT_MULTIPASS_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DBCOMPACT_NO_RENUMBER_get")]
  public static extern int DBCOMPACT_NO_RENUMBER_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DBCOMPACT_SINGLE_FILE_get")]
  public static extern int DBCOMPACT_SINGLE_FILE_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DOC_ASSUME_VALID_get")]
  public static extern int DOC_ASSUME_VALID_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_PositionIterator")]
  public static extern global::System.IntPtr new_PositionIterator();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_PositionIterator")]
  public static extern void delete_PositionIterator(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PositionIterator_SkipTo")]
  public static extern void PositionIterator_SkipTo(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PositionIterator_GetDescription")]
  public static extern string PositionIterator_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PositionIterator_Equals")]
  public static extern bool PositionIterator_Equals(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PositionIterator_GetTermPos")]
  public static extern uint PositionIterator_GetTermPos(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PositionIterator_Next")]
  public static extern global::System.IntPtr PositionIterator_Next(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_PostingIterator")]
  public static extern global::System.IntPtr new_PostingIterator();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_PostingIterator")]
  public static extern void delete_PostingIterator(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingIterator_GetWdf")]
  public static extern uint PostingIterator_GetWdf(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingIterator_GetDocLength")]
  public static extern uint PostingIterator_GetDocLength(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingIterator_GetUniqueTerms")]
  public static extern uint PostingIterator_GetUniqueTerms(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingIterator_PositionListBegin")]
  public static extern global::System.IntPtr PostingIterator_PositionListBegin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingIterator_PositionListEnd")]
  public static extern global::System.IntPtr PostingIterator_PositionListEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingIterator_SkipTo")]
  public static extern void PostingIterator_SkipTo(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingIterator_GetDescription")]
  public static extern string PostingIterator_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingIterator_Equals")]
  public static extern bool PostingIterator_Equals(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingIterator_GetDocId")]
  public static extern uint PostingIterator_GetDocId(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingIterator_Next")]
  public static extern global::System.IntPtr PostingIterator_Next(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_TermIterator")]
  public static extern global::System.IntPtr new_TermIterator();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_TermIterator")]
  public static extern void delete_TermIterator(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermIterator_GetWdf")]
  public static extern uint TermIterator_GetWdf(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermIterator_GetTermFreq")]
  public static extern uint TermIterator_GetTermFreq(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermIterator_PositionlistCount")]
  public static extern uint TermIterator_PositionlistCount(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermIterator_PositionListBegin")]
  public static extern global::System.IntPtr TermIterator_PositionListBegin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermIterator_PositionListEnd")]
  public static extern global::System.IntPtr TermIterator_PositionListEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermIterator_SkipTo")]
  public static extern void TermIterator_SkipTo(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermIterator_GetDescription")]
  public static extern string TermIterator_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermIterator_Equals")]
  public static extern bool TermIterator_Equals(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermIterator_GetTerm")]
  public static extern string TermIterator_GetTerm(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermIterator_Next")]
  public static extern global::System.IntPtr TermIterator_Next(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ValueIterator")]
  public static extern global::System.IntPtr new_ValueIterator();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ValueIterator")]
  public static extern void delete_ValueIterator(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueIterator_GetDocId")]
  public static extern uint ValueIterator_GetDocId(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueIterator_GetValueNo")]
  public static extern uint ValueIterator_GetValueNo(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueIterator_SkipTo")]
  public static extern void ValueIterator_SkipTo(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueIterator_Check")]
  public static extern bool ValueIterator_Check(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueIterator_GetDescription")]
  public static extern string ValueIterator_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueIterator_Equals")]
  public static extern bool ValueIterator_Equals(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueIterator_GetValue")]
  public static extern string ValueIterator_GetValue(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueIterator_Next")]
  public static extern global::System.IntPtr ValueIterator_Next(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Document")]
  public static extern global::System.IntPtr new_Document();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_Document")]
  public static extern void delete_Document(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_GetValue")]
  public static extern string Document_GetValue(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_AddValue")]
  public static extern void Document_AddValue(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_RemoveValue")]
  public static extern void Document_RemoveValue(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_ClearValues")]
  public static extern void Document_ClearValues(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_GetData")]
  public static extern string Document_GetData(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_SetData")]
  public static extern void Document_SetData(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_AddPosting__SWIG_0")]
  public static extern void Document_AddPosting__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_AddPosting__SWIG_1")]
  public static extern void Document_AddPosting__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_AddTerm__SWIG_0")]
  public static extern void Document_AddTerm__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_AddTerm__SWIG_1")]
  public static extern void Document_AddTerm__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_AddBooleanTerm")]
  public static extern void Document_AddBooleanTerm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_RemovePosting__SWIG_0")]
  public static extern void Document_RemovePosting__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_RemovePosting__SWIG_1")]
  public static extern void Document_RemovePosting__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_RemovePostings__SWIG_0")]
  public static extern uint Document_RemovePostings__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, uint jarg4, uint jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_RemovePostings__SWIG_1")]
  public static extern uint Document_RemovePostings__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_RemoveTerm")]
  public static extern void Document_RemoveTerm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_ClearTerms")]
  public static extern void Document_ClearTerms(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_TermListCount")]
  public static extern uint Document_TermListCount(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_TermListBegin")]
  public static extern global::System.IntPtr Document_TermListBegin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_TermListEnd")]
  public static extern global::System.IntPtr Document_TermListEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_ValuesCount")]
  public static extern uint Document_ValuesCount(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_ValuesBegin")]
  public static extern global::System.IntPtr Document_ValuesBegin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_ValuesEnd")]
  public static extern global::System.IntPtr Document_ValuesEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_GetDocId")]
  public static extern uint Document_GetDocId(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_Serialise")]
  public static extern string Document_Serialise(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_Unserialise")]
  public static extern global::System.IntPtr Document_Unserialise(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Document_GetDescription")]
  public static extern string Document_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Registry")]
  public static extern global::System.IntPtr new_Registry();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_Registry")]
  public static extern void delete_Registry(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Registry_RegisterWeightingScheme")]
  public static extern void Registry_RegisterWeightingScheme(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Registry_GetWeightingScheme")]
  public static extern global::System.IntPtr Registry_GetWeightingScheme(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Registry_RegisterPostingSource")]
  public static extern void Registry_RegisterPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Registry_GetPostingSource")]
  public static extern global::System.IntPtr Registry_GetPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Registry_RegisterMatchSpy")]
  public static extern void Registry_RegisterMatchSpy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Registry_GetMatchSpy")]
  public static extern global::System.IntPtr Registry_GetMatchSpy(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Registry_RegisterLatLongMetric")]
  public static extern void Registry_RegisterLatLongMetric(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Registry_GetLatLongMetric")]
  public static extern global::System.IntPtr Registry_GetLatLongMetric(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_WILDCARD_LIMIT_ERROR_get")]
  public static extern int Query_WILDCARD_LIMIT_ERROR_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_WILDCARD_LIMIT_FIRST_get")]
  public static extern int Query_WILDCARD_LIMIT_FIRST_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_WILDCARD_LIMIT_MOST_FREQUENT_get")]
  public static extern int Query_WILDCARD_LIMIT_MOST_FREQUENT_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_0")]
  public static extern global::System.IntPtr new_Query__SWIG_0();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_Query")]
  public static extern void delete_Query(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_1")]
  public static extern global::System.IntPtr new_Query__SWIG_1(string jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_2")]
  public static extern global::System.IntPtr new_Query__SWIG_2(string jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_3")]
  public static extern global::System.IntPtr new_Query__SWIG_3(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_4")]
  public static extern global::System.IntPtr new_Query__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_5")]
  public static extern global::System.IntPtr new_Query__SWIG_5(double jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_6")]
  public static extern global::System.IntPtr new_Query__SWIG_6(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_7")]
  public static extern global::System.IntPtr new_Query__SWIG_7(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_8")]
  public static extern global::System.IntPtr new_Query__SWIG_8(int jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_9")]
  public static extern global::System.IntPtr new_Query__SWIG_9(int jarg1, uint jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_10")]
  public static extern global::System.IntPtr new_Query__SWIG_10(int jarg1, uint jarg2, string jarg3, string jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_11")]
  public static extern global::System.IntPtr new_Query__SWIG_11(int jarg1, string jarg2, uint jarg3, int jarg4, int jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_12")]
  public static extern global::System.IntPtr new_Query__SWIG_12(int jarg1, string jarg2, uint jarg3, int jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_13")]
  public static extern global::System.IntPtr new_Query__SWIG_13(int jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_14")]
  public static extern global::System.IntPtr new_Query__SWIG_14(int jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_GetTermsBegin")]
  public static extern global::System.IntPtr Query_GetTermsBegin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_GetTermsEnd")]
  public static extern global::System.IntPtr Query_GetTermsEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_GetUniqueTermsBegin")]
  public static extern global::System.IntPtr Query_GetUniqueTermsBegin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_GetUniqueTermsEnd")]
  public static extern global::System.IntPtr Query_GetUniqueTermsEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_GetLength")]
  public static extern uint Query_GetLength(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_Empty")]
  public static extern bool Query_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_Serialise")]
  public static extern string Query_Serialise(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_Unserialise__SWIG_0")]
  public static extern global::System.IntPtr Query_Unserialise__SWIG_0(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_Unserialise__SWIG_1")]
  public static extern global::System.IntPtr Query_Unserialise__SWIG_1(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_GetType")]
  public static extern int Query_GetType(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_GetNumSubqueries")]
  public static extern uint Query_GetNumSubqueries(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_GetSubquery")]
  public static extern global::System.IntPtr Query_GetSubquery(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Query_GetDescription")]
  public static extern string Query_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Query__SWIG_15")]
  public static extern global::System.IntPtr new_Query__SWIG_15(int jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_StemImplementation")]
  public static extern global::System.IntPtr new_StemImplementation();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_StemImplementation")]
  public static extern void delete_StemImplementation(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_StemImplementation_Apply")]
  public static extern string StemImplementation_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_StemImplementation_GetDescription")]
  public static extern string StemImplementation_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_StemImplementation_director_connect")]
  public static extern void StemImplementation_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, StemImplementation.SwigDelegateStemImplementation_0 delegate0, StemImplementation.SwigDelegateStemImplementation_1 delegate1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Stem__SWIG_0")]
  public static extern global::System.IntPtr new_Stem__SWIG_0(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Stem__SWIG_1")]
  public static extern global::System.IntPtr new_Stem__SWIG_1(string jarg1, bool jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Stem__SWIG_2")]
  public static extern global::System.IntPtr new_Stem__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_Stem")]
  public static extern void delete_Stem(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Stem_Apply")]
  public static extern string Stem_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Stem_IsNone")]
  public static extern bool Stem_IsNone(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Stem_GetDescription")]
  public static extern string Stem_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Stem_GetAvailableLanguages")]
  public static extern string Stem_GetAvailableLanguages();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_TermGenerator")]
  public static extern global::System.IntPtr new_TermGenerator();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_TermGenerator")]
  public static extern void delete_TermGenerator(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_SetStemmer")]
  public static extern void TermGenerator_SetStemmer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_SetStopper__SWIG_0")]
  public static extern void TermGenerator_SetStopper__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_SetStopper__SWIG_1")]
  public static extern void TermGenerator_SetStopper__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_SetDocument")]
  public static extern void TermGenerator_SetDocument(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_GetDocument")]
  public static extern global::System.IntPtr TermGenerator_GetDocument(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_SetDatabase")]
  public static extern void TermGenerator_SetDatabase(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_FLAG_SPELLING_get")]
  public static extern int TermGenerator_FLAG_SPELLING_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_FLAG_NGRAMS_get")]
  public static extern int TermGenerator_FLAG_NGRAMS_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_FLAG_CJK_NGRAM_get")]
  public static extern int TermGenerator_FLAG_CJK_NGRAM_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_SetFlags__SWIG_0")]
  public static extern int TermGenerator_SetFlags__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_SetFlags__SWIG_1")]
  public static extern int TermGenerator_SetFlags__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_SetStemmingStrategy")]
  public static extern void TermGenerator_SetStemmingStrategy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_SetStopperStrategy")]
  public static extern void TermGenerator_SetStopperStrategy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_SetMaxWordLength")]
  public static extern void TermGenerator_SetMaxWordLength(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_IndexText__SWIG_0")]
  public static extern void TermGenerator_IndexText__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, string jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_IndexText__SWIG_1")]
  public static extern void TermGenerator_IndexText__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_IndexText__SWIG_2")]
  public static extern void TermGenerator_IndexText__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_IndexTextWithoutPositions__SWIG_0")]
  public static extern void TermGenerator_IndexTextWithoutPositions__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, string jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_IndexTextWithoutPositions__SWIG_1")]
  public static extern void TermGenerator_IndexTextWithoutPositions__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_IndexTextWithoutPositions__SWIG_2")]
  public static extern void TermGenerator_IndexTextWithoutPositions__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_IncreaseTermpos__SWIG_0")]
  public static extern void TermGenerator_IncreaseTermpos__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_IncreaseTermpos__SWIG_1")]
  public static extern void TermGenerator_IncreaseTermpos__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_GetTermPos")]
  public static extern uint TermGenerator_GetTermPos(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_SetTermpos")]
  public static extern void TermGenerator_SetTermpos(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TermGenerator_GetDescription")]
  public static extern string TermGenerator_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_MSet")]
  public static extern global::System.IntPtr new_MSet();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_MSet")]
  public static extern void delete_MSet(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_ConvertToPercent__SWIG_0")]
  public static extern int MSet_ConvertToPercent__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_ConvertToPercent__SWIG_1")]
  public static extern int MSet_ConvertToPercent__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetTermFreq")]
  public static extern uint MSet_GetTermFreq(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetTermWeight")]
  public static extern double MSet_GetTermWeight(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetFirstItem")]
  public static extern uint MSet_GetFirstItem(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetMatchesLowerBound")]
  public static extern uint MSet_GetMatchesLowerBound(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetMatchesEstimated")]
  public static extern uint MSet_GetMatchesEstimated(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetMatchesUpperBound")]
  public static extern uint MSet_GetMatchesUpperBound(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetUncollapsedMatchesLowerBound")]
  public static extern uint MSet_GetUncollapsedMatchesLowerBound(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetUncollapsedMatchesEstimated")]
  public static extern uint MSet_GetUncollapsedMatchesEstimated(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetUncollapsedMatchesUpperBound")]
  public static extern uint MSet_GetUncollapsedMatchesUpperBound(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetMaxAttained")]
  public static extern double MSet_GetMaxAttained(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetMaxPossible")]
  public static extern double MSet_GetMaxPossible(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_SNIPPET_BACKGROUND_MODEL_get")]
  public static extern int MSet_SNIPPET_BACKGROUND_MODEL_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_SNIPPET_EXHAUSTIVE_get")]
  public static extern int MSet_SNIPPET_EXHAUSTIVE_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_SNIPPET_EMPTY_WITHOUT_MATCH_get")]
  public static extern int MSet_SNIPPET_EMPTY_WITHOUT_MATCH_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_SNIPPET_NGRAMS_get")]
  public static extern int MSet_SNIPPET_NGRAMS_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_SNIPPET_CJK_NGRAM_get")]
  public static extern int MSet_SNIPPET_CJK_NGRAM_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Snippet__SWIG_0")]
  public static extern string MSet_Snippet__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, uint jarg5, string jarg6, string jarg7, string jarg8);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Snippet__SWIG_1")]
  public static extern string MSet_Snippet__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, uint jarg5, string jarg6, string jarg7);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Snippet__SWIG_2")]
  public static extern string MSet_Snippet__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, uint jarg5, string jarg6);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Snippet__SWIG_3")]
  public static extern string MSet_Snippet__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, uint jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Snippet__SWIG_4")]
  public static extern string MSet_Snippet__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Snippet__SWIG_5")]
  public static extern string MSet_Snippet__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Snippet__SWIG_6")]
  public static extern string MSet_Snippet__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Fetch__SWIG_0")]
  public static extern void MSet_Fetch__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Fetch__SWIG_1")]
  public static extern void MSet_Fetch__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Fetch__SWIG_2")]
  public static extern void MSet_Fetch__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Size")]
  public static extern uint MSet_Size(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Empty")]
  public static extern bool MSet_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Begin")]
  public static extern global::System.IntPtr MSet_Begin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_End")]
  public static extern global::System.IntPtr MSet_End(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_Back")]
  public static extern global::System.IntPtr MSet_Back(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetDescription")]
  public static extern string MSet_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetDocId")]
  public static extern uint MSet_GetDocId(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetDocument")]
  public static extern global::System.IntPtr MSet_GetDocument(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetHit")]
  public static extern global::System.IntPtr MSet_GetHit(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSet_GetDocumentPercentage")]
  public static extern int MSet_GetDocumentPercentage(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_mset_set")]
  public static extern void MSetIterator_mset_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_mset_get")]
  public static extern global::System.IntPtr MSetIterator_mset_get(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_off_from_end_set")]
  public static extern void MSetIterator_off_from_end_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_off_from_end_get")]
  public static extern uint MSetIterator_off_from_end_get(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_MSetIterator")]
  public static extern global::System.IntPtr new_MSetIterator();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_GetRank")]
  public static extern uint MSetIterator_GetRank(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_GetDocument")]
  public static extern global::System.IntPtr MSetIterator_GetDocument(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_GetWeight")]
  public static extern double MSetIterator_GetWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_GetCollapseKey")]
  public static extern string MSetIterator_GetCollapseKey(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_GetCollapseCount")]
  public static extern uint MSetIterator_GetCollapseCount(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_GetSortKey")]
  public static extern string MSetIterator_GetSortKey(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_GetPercent")]
  public static extern int MSetIterator_GetPercent(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_GetDescription")]
  public static extern string MSetIterator_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_Equals")]
  public static extern bool MSetIterator_Equals(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_GetDocId")]
  public static extern uint MSetIterator_GetDocId(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_Next")]
  public static extern global::System.IntPtr MSetIterator_Next(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MSetIterator_Prev")]
  public static extern global::System.IntPtr MSetIterator_Prev(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_MSetIterator")]
  public static extern void delete_MSetIterator(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ESet")]
  public static extern global::System.IntPtr new_ESet();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ESet")]
  public static extern void delete_ESet(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESet_Size")]
  public static extern uint ESet_Size(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESet_Empty")]
  public static extern bool ESet_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESet_GetEbound")]
  public static extern uint ESet_GetEbound(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESet_Begin")]
  public static extern global::System.IntPtr ESet_Begin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESet_End")]
  public static extern global::System.IntPtr ESet_End(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESet_Back")]
  public static extern global::System.IntPtr ESet_Back(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESet_GetDescription")]
  public static extern string ESet_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESetIterator_eset_set")]
  public static extern void ESetIterator_eset_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESetIterator_eset_get")]
  public static extern global::System.IntPtr ESetIterator_eset_get(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESetIterator_off_from_end_set")]
  public static extern void ESetIterator_off_from_end_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESetIterator_off_from_end_get")]
  public static extern uint ESetIterator_off_from_end_get(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ESetIterator")]
  public static extern global::System.IntPtr new_ESetIterator();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESetIterator_GetWeight")]
  public static extern double ESetIterator_GetWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESetIterator_GetDescription")]
  public static extern string ESetIterator_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESetIterator_Equals")]
  public static extern bool ESetIterator_Equals(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESetIterator_GetTerm")]
  public static extern string ESetIterator_GetTerm(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESetIterator_Next")]
  public static extern global::System.IntPtr ESetIterator_Next(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ESetIterator_Prev")]
  public static extern global::System.IntPtr ESetIterator_Prev(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ESetIterator")]
  public static extern void delete_ESetIterator(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_RSet")]
  public static extern global::System.IntPtr new_RSet();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_RSet")]
  public static extern void delete_RSet(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RSet_Size")]
  public static extern uint RSet_Size(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RSet_Empty")]
  public static extern bool RSet_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RSet_AddDocument__SWIG_0")]
  public static extern void RSet_AddDocument__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RSet_AddDocument__SWIG_1")]
  public static extern void RSet_AddDocument__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RSet_RemoveDocument__SWIG_0")]
  public static extern void RSet_RemoveDocument__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RSet_RemoveDocument__SWIG_1")]
  public static extern void RSet_RemoveDocument__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RSet_Contains__SWIG_0")]
  public static extern bool RSet_Contains__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RSet_Contains__SWIG_1")]
  public static extern bool RSet_Contains__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RSet_GetDescription")]
  public static extern string RSet_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_MatchDecider")]
  public static extern global::System.IntPtr new_MatchDecider();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MatchDecider_Apply")]
  public static extern bool MatchDecider_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_MatchDecider")]
  public static extern void delete_MatchDecider(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MatchDecider_director_connect")]
  public static extern void MatchDecider_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, MatchDecider.SwigDelegateMatchDecider_0 delegate0);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Enquire")]
  public static extern global::System.IntPtr new_Enquire(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_Enquire")]
  public static extern void delete_Enquire(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetQuery__SWIG_0")]
  public static extern void Enquire_SetQuery__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetQuery__SWIG_1")]
  public static extern void Enquire_SetQuery__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetQuery")]
  public static extern global::System.IntPtr Enquire_GetQuery(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_AddMatchspy")]
  public static extern void Enquire_AddMatchspy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_ClearMatchspies")]
  public static extern void Enquire_ClearMatchspies(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetWeightingScheme")]
  public static extern void Enquire_SetWeightingScheme(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetExpansionScheme__SWIG_0")]
  public static extern void Enquire_SetExpansionScheme__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetExpansionScheme__SWIG_1")]
  public static extern void Enquire_SetExpansionScheme__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetCollapseKey__SWIG_0")]
  public static extern void Enquire_SetCollapseKey__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetCollapseKey__SWIG_1")]
  public static extern void Enquire_SetCollapseKey__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetDocidOrder")]
  public static extern void Enquire_SetDocidOrder(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetCutoff__SWIG_0")]
  public static extern void Enquire_SetCutoff__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetCutoff__SWIG_1")]
  public static extern void Enquire_SetCutoff__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetSortByRelevance")]
  public static extern void Enquire_SetSortByRelevance(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetSortByValue")]
  public static extern void Enquire_SetSortByValue(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, bool jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetSortByKey")]
  public static extern void Enquire_SetSortByKey(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetSortByValueThenRelevance")]
  public static extern void Enquire_SetSortByValueThenRelevance(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, bool jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetSortByKeyThenRelevance")]
  public static extern void Enquire_SetSortByKeyThenRelevance(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetSortByRelevanceThenValue")]
  public static extern void Enquire_SetSortByRelevanceThenValue(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, bool jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetSortByRelevanceThenKey")]
  public static extern void Enquire_SetSortByRelevanceThenKey(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_SetTimeLimit")]
  public static extern void Enquire_SetTimeLimit(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetMSet__SWIG_0")]
  public static extern global::System.IntPtr Enquire_GetMSet__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetMSet__SWIG_1")]
  public static extern global::System.IntPtr Enquire_GetMSet__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, global::System.Runtime.InteropServices.HandleRef jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetMSet__SWIG_2")]
  public static extern global::System.IntPtr Enquire_GetMSet__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetMSet__SWIG_3")]
  public static extern global::System.IntPtr Enquire_GetMSet__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetMSet__SWIG_4")]
  public static extern global::System.IntPtr Enquire_GetMSet__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetMSet__SWIG_5")]
  public static extern global::System.IntPtr Enquire_GetMSet__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_INCLUDE_QUERY_TERMS_get")]
  public static extern int Enquire_INCLUDE_QUERY_TERMS_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_USE_EXACT_TERMFREQ_get")]
  public static extern int Enquire_USE_EXACT_TERMFREQ_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetESet__SWIG_0")]
  public static extern global::System.IntPtr Enquire_GetESet__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, double jarg6);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetESet__SWIG_1")]
  public static extern global::System.IntPtr Enquire_GetESet__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetESet__SWIG_2")]
  public static extern global::System.IntPtr Enquire_GetESet__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetESet__SWIG_3")]
  public static extern global::System.IntPtr Enquire_GetESet__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetESet__SWIG_4")]
  public static extern global::System.IntPtr Enquire_GetESet__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetESet__SWIG_5")]
  public static extern global::System.IntPtr Enquire_GetESet__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, double jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, double jarg7);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetESet__SWIG_6")]
  public static extern global::System.IntPtr Enquire_GetESet__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, double jarg5, global::System.Runtime.InteropServices.HandleRef jarg6);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetESet__SWIG_7")]
  public static extern global::System.IntPtr Enquire_GetESet__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, double jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetMatchingTermsBegin__SWIG_0")]
  public static extern global::System.IntPtr Enquire_GetMatchingTermsBegin__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetMatchingTermsEnd__SWIG_0")]
  public static extern global::System.IntPtr Enquire_GetMatchingTermsEnd__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetMatchingTermsBegin__SWIG_1")]
  public static extern global::System.IntPtr Enquire_GetMatchingTermsBegin__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetMatchingTermsEnd__SWIG_1")]
  public static extern global::System.IntPtr Enquire_GetMatchingTermsEnd__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Enquire_GetDescription")]
  public static extern string Enquire_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ExpandDecider")]
  public static extern global::System.IntPtr new_ExpandDecider();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ExpandDecider_Apply")]
  public static extern bool ExpandDecider_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ExpandDecider")]
  public static extern void delete_ExpandDecider(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ExpandDecider_Release")]
  public static extern global::System.IntPtr ExpandDecider_Release(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ExpandDecider_director_connect")]
  public static extern void ExpandDecider_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, ExpandDecider.SwigDelegateExpandDecider_0 delegate0);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ExpandDeciderAnd")]
  public static extern global::System.IntPtr new_ExpandDeciderAnd(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ExpandDeciderAnd_Apply")]
  public static extern bool ExpandDeciderAnd_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ExpandDeciderAnd")]
  public static extern void delete_ExpandDeciderAnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ExpandDeciderFilterPrefix")]
  public static extern global::System.IntPtr new_ExpandDeciderFilterPrefix(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ExpandDeciderFilterPrefix_Apply")]
  public static extern bool ExpandDeciderFilterPrefix_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ExpandDeciderFilterPrefix")]
  public static extern void delete_ExpandDeciderFilterPrefix(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_KeyMaker")]
  public static extern global::System.IntPtr new_KeyMaker();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_KeyMaker_Apply")]
  public static extern string KeyMaker_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_KeyMaker")]
  public static extern void delete_KeyMaker(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_KeyMaker_Release")]
  public static extern global::System.IntPtr KeyMaker_Release(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_KeyMaker_director_connect")]
  public static extern void KeyMaker_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, KeyMaker.SwigDelegateKeyMaker_0 delegate0);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_MultiValueKeyMaker")]
  public static extern global::System.IntPtr new_MultiValueKeyMaker();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MultiValueKeyMaker_Apply")]
  public static extern string MultiValueKeyMaker_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MultiValueKeyMaker_AddValue__SWIG_0")]
  public static extern void MultiValueKeyMaker_AddValue__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, bool jarg3, string jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MultiValueKeyMaker_AddValue__SWIG_1")]
  public static extern void MultiValueKeyMaker_AddValue__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, bool jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MultiValueKeyMaker_AddValue__SWIG_2")]
  public static extern void MultiValueKeyMaker_AddValue__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_MultiValueKeyMaker")]
  public static extern void delete_MultiValueKeyMaker(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RP_SUFFIX_get")]
  public static extern int RP_SUFFIX_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RP_REPEATED_get")]
  public static extern int RP_REPEATED_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RP_DATE_PREFER_MDY_get")]
  public static extern int RP_DATE_PREFER_MDY_get();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Stopper")]
  public static extern global::System.IntPtr new_Stopper();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Stopper_Apply")]
  public static extern bool Stopper_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_Stopper")]
  public static extern void delete_Stopper(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Stopper_GetDescription")]
  public static extern string Stopper_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Stopper_GetDescriptionSwigExplicitStopper")]
  public static extern string Stopper_GetDescriptionSwigExplicitStopper(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Stopper_Release")]
  public static extern global::System.IntPtr Stopper_Release(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Stopper_director_connect")]
  public static extern void Stopper_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, Stopper.SwigDelegateStopper_0 delegate0, Stopper.SwigDelegateStopper_1 delegate1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_SimpleStopper__SWIG_0")]
  public static extern global::System.IntPtr new_SimpleStopper__SWIG_0();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_SimpleStopper_Add")]
  public static extern void SimpleStopper_Add(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_SimpleStopper_Apply")]
  public static extern bool SimpleStopper_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_SimpleStopper_GetDescription")]
  public static extern string SimpleStopper_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_SimpleStopper__SWIG_1")]
  public static extern global::System.IntPtr new_SimpleStopper__SWIG_1(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_SimpleStopper")]
  public static extern void delete_SimpleStopper(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_RangeProcessor__SWIG_0")]
  public static extern global::System.IntPtr new_RangeProcessor__SWIG_0();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_RangeProcessor__SWIG_1")]
  public static extern global::System.IntPtr new_RangeProcessor__SWIG_1(uint jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_RangeProcessor__SWIG_2")]
  public static extern global::System.IntPtr new_RangeProcessor__SWIG_2(uint jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_RangeProcessor__SWIG_3")]
  public static extern global::System.IntPtr new_RangeProcessor__SWIG_3(uint jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_RangeProcessor")]
  public static extern void delete_RangeProcessor(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RangeProcessor_CheckRange")]
  public static extern global::System.IntPtr RangeProcessor_CheckRange(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RangeProcessor_Apply")]
  public static extern global::System.IntPtr RangeProcessor_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RangeProcessor_ApplySwigExplicitRangeProcessor")]
  public static extern global::System.IntPtr RangeProcessor_ApplySwigExplicitRangeProcessor(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RangeProcessor_Release")]
  public static extern global::System.IntPtr RangeProcessor_Release(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_RangeProcessor_director_connect")]
  public static extern void RangeProcessor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, RangeProcessor.SwigDelegateRangeProcessor_0 delegate0);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateRangeProcessor__SWIG_0")]
  public static extern global::System.IntPtr new_DateRangeProcessor__SWIG_0(uint jarg1, uint jarg2, int jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateRangeProcessor__SWIG_1")]
  public static extern global::System.IntPtr new_DateRangeProcessor__SWIG_1(uint jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateRangeProcessor__SWIG_2")]
  public static extern global::System.IntPtr new_DateRangeProcessor__SWIG_2(uint jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateRangeProcessor__SWIG_3")]
  public static extern global::System.IntPtr new_DateRangeProcessor__SWIG_3(uint jarg1, string jarg2, uint jarg3, int jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateRangeProcessor__SWIG_4")]
  public static extern global::System.IntPtr new_DateRangeProcessor__SWIG_4(uint jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateRangeProcessor__SWIG_5")]
  public static extern global::System.IntPtr new_DateRangeProcessor__SWIG_5(uint jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DateRangeProcessor_Apply")]
  public static extern global::System.IntPtr DateRangeProcessor_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_DateRangeProcessor")]
  public static extern void delete_DateRangeProcessor(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_NumberRangeProcessor__SWIG_0")]
  public static extern global::System.IntPtr new_NumberRangeProcessor__SWIG_0(uint jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_NumberRangeProcessor__SWIG_1")]
  public static extern global::System.IntPtr new_NumberRangeProcessor__SWIG_1(uint jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_NumberRangeProcessor__SWIG_2")]
  public static extern global::System.IntPtr new_NumberRangeProcessor__SWIG_2(uint jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_NumberRangeProcessor_Apply")]
  public static extern global::System.IntPtr NumberRangeProcessor_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_NumberRangeProcessor")]
  public static extern void delete_NumberRangeProcessor(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ValueRangeProcessor")]
  public static extern global::System.IntPtr new_ValueRangeProcessor();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ValueRangeProcessor")]
  public static extern void delete_ValueRangeProcessor(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueRangeProcessor_Apply")]
  public static extern uint ValueRangeProcessor_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueRangeProcessor_Release")]
  public static extern global::System.IntPtr ValueRangeProcessor_Release(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueRangeProcessor_director_connect")]
  public static extern void ValueRangeProcessor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, ValueRangeProcessor.SwigDelegateValueRangeProcessor_0 delegate0);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_StringValueRangeProcessor__SWIG_0")]
  public static extern global::System.IntPtr new_StringValueRangeProcessor__SWIG_0(uint jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_StringValueRangeProcessor__SWIG_1")]
  public static extern global::System.IntPtr new_StringValueRangeProcessor__SWIG_1(uint jarg1, string jarg2, bool jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_StringValueRangeProcessor__SWIG_2")]
  public static extern global::System.IntPtr new_StringValueRangeProcessor__SWIG_2(uint jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_StringValueRangeProcessor_Apply")]
  public static extern uint StringValueRangeProcessor_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_StringValueRangeProcessor")]
  public static extern void delete_StringValueRangeProcessor(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateValueRangeProcessor__SWIG_0")]
  public static extern global::System.IntPtr new_DateValueRangeProcessor__SWIG_0(uint jarg1, bool jarg2, int jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateValueRangeProcessor__SWIG_1")]
  public static extern global::System.IntPtr new_DateValueRangeProcessor__SWIG_1(uint jarg1, bool jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateValueRangeProcessor__SWIG_2")]
  public static extern global::System.IntPtr new_DateValueRangeProcessor__SWIG_2(uint jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateValueRangeProcessor__SWIG_3")]
  public static extern global::System.IntPtr new_DateValueRangeProcessor__SWIG_3(uint jarg1, string jarg2, bool jarg3, bool jarg4, int jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateValueRangeProcessor__SWIG_4")]
  public static extern global::System.IntPtr new_DateValueRangeProcessor__SWIG_4(uint jarg1, string jarg2, bool jarg3, bool jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateValueRangeProcessor__SWIG_5")]
  public static extern global::System.IntPtr new_DateValueRangeProcessor__SWIG_5(uint jarg1, string jarg2, bool jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DateValueRangeProcessor__SWIG_6")]
  public static extern global::System.IntPtr new_DateValueRangeProcessor__SWIG_6(uint jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DateValueRangeProcessor_Apply")]
  public static extern uint DateValueRangeProcessor_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_DateValueRangeProcessor")]
  public static extern void delete_DateValueRangeProcessor(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_NumberValueRangeProcessor__SWIG_0")]
  public static extern global::System.IntPtr new_NumberValueRangeProcessor__SWIG_0(uint jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_NumberValueRangeProcessor__SWIG_1")]
  public static extern global::System.IntPtr new_NumberValueRangeProcessor__SWIG_1(uint jarg1, string jarg2, bool jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_NumberValueRangeProcessor__SWIG_2")]
  public static extern global::System.IntPtr new_NumberValueRangeProcessor__SWIG_2(uint jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_NumberValueRangeProcessor_Apply")]
  public static extern uint NumberValueRangeProcessor_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_NumberValueRangeProcessor")]
  public static extern void delete_NumberValueRangeProcessor(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_FieldProcessor")]
  public static extern global::System.IntPtr new_FieldProcessor();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_FieldProcessor")]
  public static extern void delete_FieldProcessor(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FieldProcessor_Apply")]
  public static extern global::System.IntPtr FieldProcessor_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FieldProcessor_Release")]
  public static extern global::System.IntPtr FieldProcessor_Release(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FieldProcessor_director_connect")]
  public static extern void FieldProcessor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, FieldProcessor.SwigDelegateFieldProcessor_0 delegate0);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_QueryParser")]
  public static extern global::System.IntPtr new_QueryParser();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_QueryParser")]
  public static extern void delete_QueryParser(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_SetStemmer")]
  public static extern void QueryParser_SetStemmer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_SetStemmingStrategy")]
  public static extern void QueryParser_SetStemmingStrategy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_SetStopper__SWIG_0")]
  public static extern void QueryParser_SetStopper__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_SetStopper__SWIG_1")]
  public static extern void QueryParser_SetStopper__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_SetDefaultOp")]
  public static extern void QueryParser_SetDefaultOp(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_GetDefaultOp")]
  public static extern int QueryParser_GetDefaultOp(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_SetDatabase")]
  public static extern void QueryParser_SetDatabase(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_SetMaxExpansion__SWIG_0")]
  public static extern void QueryParser_SetMaxExpansion__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, int jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_SetMaxExpansion__SWIG_1")]
  public static extern void QueryParser_SetMaxExpansion__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, int jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_SetMaxExpansion__SWIG_2")]
  public static extern void QueryParser_SetMaxExpansion__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_SetMaxWildcardExpansion")]
  public static extern void QueryParser_SetMaxWildcardExpansion(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_ParseQuery__SWIG_0")]
  public static extern global::System.IntPtr QueryParser_ParseQuery__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, string jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_ParseQuery__SWIG_1")]
  public static extern global::System.IntPtr QueryParser_ParseQuery__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_ParseQuery__SWIG_2")]
  public static extern global::System.IntPtr QueryParser_ParseQuery__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_AddPrefix__SWIG_0")]
  public static extern void QueryParser_AddPrefix__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_AddPrefix__SWIG_1")]
  public static extern void QueryParser_AddPrefix__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_AddBooleanPrefix__SWIG_0")]
  public static extern void QueryParser_AddBooleanPrefix__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_AddBooleanPrefix__SWIG_1")]
  public static extern void QueryParser_AddBooleanPrefix__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_AddBooleanPrefix__SWIG_2")]
  public static extern void QueryParser_AddBooleanPrefix__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, bool jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_AddBooleanPrefix__SWIG_3")]
  public static extern void QueryParser_AddBooleanPrefix__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_AddBooleanPrefix__SWIG_4")]
  public static extern void QueryParser_AddBooleanPrefix__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_AddBooleanPrefix__SWIG_5")]
  public static extern void QueryParser_AddBooleanPrefix__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_StopListBegin")]
  public static extern global::System.IntPtr QueryParser_StopListBegin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_StopListEnd")]
  public static extern global::System.IntPtr QueryParser_StopListEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_UnstemBegin")]
  public static extern global::System.IntPtr QueryParser_UnstemBegin(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_UnstemEnd")]
  public static extern global::System.IntPtr QueryParser_UnstemEnd(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_AddRangeprocessor__SWIG_0")]
  public static extern void QueryParser_AddRangeprocessor__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_AddRangeprocessor__SWIG_1")]
  public static extern void QueryParser_AddRangeprocessor__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_AddValuerangeprocessor")]
  public static extern void QueryParser_AddValuerangeprocessor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_GetCorrectedQueryString")]
  public static extern string QueryParser_GetCorrectedQueryString(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_QueryParser_GetDescription")]
  public static extern string QueryParser_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_SortableSerialise")]
  public static extern string SortableSerialise(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_SortableUnserialise")]
  public static extern double SortableUnserialise(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ValueSetMatchDecider")]
  public static extern global::System.IntPtr new_ValueSetMatchDecider(uint jarg1, bool jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueSetMatchDecider_AddValue")]
  public static extern void ValueSetMatchDecider_AddValue(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueSetMatchDecider_RemoveValue")]
  public static extern void ValueSetMatchDecider_RemoveValue(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueSetMatchDecider_Apply")]
  public static extern bool ValueSetMatchDecider_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ValueSetMatchDecider")]
  public static extern void delete_ValueSetMatchDecider(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_Weight")]
  public static extern void delete_Weight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Weight_Name")]
  public static extern string Weight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Weight_GetSumPart")]
  public static extern double Weight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Weight_GetMaxPart")]
  public static extern double Weight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Weight_GetSumExtra")]
  public static extern double Weight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Weight_GetMaxExtra")]
  public static extern double Weight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_BoolWeight")]
  public static extern global::System.IntPtr new_BoolWeight();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BoolWeight_Name")]
  public static extern string BoolWeight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BoolWeight_GetSumPart")]
  public static extern double BoolWeight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BoolWeight_GetMaxPart")]
  public static extern double BoolWeight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BoolWeight_GetSumExtra")]
  public static extern double BoolWeight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BoolWeight_GetMaxExtra")]
  public static extern double BoolWeight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_BoolWeight")]
  public static extern void delete_BoolWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_TfIdfWeight__SWIG_0")]
  public static extern global::System.IntPtr new_TfIdfWeight__SWIG_0(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_TfIdfWeight__SWIG_1")]
  public static extern global::System.IntPtr new_TfIdfWeight__SWIG_1();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TfIdfWeight_Name")]
  public static extern string TfIdfWeight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TfIdfWeight_GetSumPart")]
  public static extern double TfIdfWeight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TfIdfWeight_GetMaxPart")]
  public static extern double TfIdfWeight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TfIdfWeight_GetSumExtra")]
  public static extern double TfIdfWeight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TfIdfWeight_GetMaxExtra")]
  public static extern double TfIdfWeight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_TfIdfWeight")]
  public static extern void delete_TfIdfWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_BM25Weight__SWIG_0")]
  public static extern global::System.IntPtr new_BM25Weight__SWIG_0(double jarg1, double jarg2, double jarg3, double jarg4, double jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_BM25Weight__SWIG_1")]
  public static extern global::System.IntPtr new_BM25Weight__SWIG_1();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25Weight_Name")]
  public static extern string BM25Weight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25Weight_GetSumPart")]
  public static extern double BM25Weight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25Weight_GetMaxPart")]
  public static extern double BM25Weight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25Weight_GetSumExtra")]
  public static extern double BM25Weight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25Weight_GetMaxExtra")]
  public static extern double BM25Weight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_BM25Weight")]
  public static extern void delete_BM25Weight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_BM25PlusWeight__SWIG_0")]
  public static extern global::System.IntPtr new_BM25PlusWeight__SWIG_0(double jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_BM25PlusWeight__SWIG_1")]
  public static extern global::System.IntPtr new_BM25PlusWeight__SWIG_1();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25PlusWeight_Name")]
  public static extern string BM25PlusWeight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25PlusWeight_GetSumPart")]
  public static extern double BM25PlusWeight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25PlusWeight_GetMaxPart")]
  public static extern double BM25PlusWeight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25PlusWeight_GetSumExtra")]
  public static extern double BM25PlusWeight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25PlusWeight_GetMaxExtra")]
  public static extern double BM25PlusWeight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_BM25PlusWeight")]
  public static extern void delete_BM25PlusWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_TradWeight__SWIG_0")]
  public static extern global::System.IntPtr new_TradWeight__SWIG_0(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_TradWeight__SWIG_1")]
  public static extern global::System.IntPtr new_TradWeight__SWIG_1();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TradWeight_Name")]
  public static extern string TradWeight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TradWeight_GetSumPart")]
  public static extern double TradWeight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TradWeight_GetMaxPart")]
  public static extern double TradWeight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TradWeight_GetSumExtra")]
  public static extern double TradWeight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TradWeight_GetMaxExtra")]
  public static extern double TradWeight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_TradWeight")]
  public static extern void delete_TradWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_InL2Weight__SWIG_0")]
  public static extern global::System.IntPtr new_InL2Weight__SWIG_0(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_InL2Weight__SWIG_1")]
  public static extern global::System.IntPtr new_InL2Weight__SWIG_1();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_InL2Weight_Name")]
  public static extern string InL2Weight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_InL2Weight_GetSumPart")]
  public static extern double InL2Weight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_InL2Weight_GetMaxPart")]
  public static extern double InL2Weight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_InL2Weight_GetSumExtra")]
  public static extern double InL2Weight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_InL2Weight_GetMaxExtra")]
  public static extern double InL2Weight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_InL2Weight")]
  public static extern void delete_InL2Weight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_IfB2Weight__SWIG_0")]
  public static extern global::System.IntPtr new_IfB2Weight__SWIG_0(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_IfB2Weight__SWIG_1")]
  public static extern global::System.IntPtr new_IfB2Weight__SWIG_1();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IfB2Weight_Name")]
  public static extern string IfB2Weight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IfB2Weight_GetSumPart")]
  public static extern double IfB2Weight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IfB2Weight_GetMaxPart")]
  public static extern double IfB2Weight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IfB2Weight_GetSumExtra")]
  public static extern double IfB2Weight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IfB2Weight_GetMaxExtra")]
  public static extern double IfB2Weight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_IfB2Weight")]
  public static extern void delete_IfB2Weight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_IneB2Weight__SWIG_0")]
  public static extern global::System.IntPtr new_IneB2Weight__SWIG_0(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_IneB2Weight__SWIG_1")]
  public static extern global::System.IntPtr new_IneB2Weight__SWIG_1();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IneB2Weight_Name")]
  public static extern string IneB2Weight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IneB2Weight_GetSumPart")]
  public static extern double IneB2Weight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IneB2Weight_GetMaxPart")]
  public static extern double IneB2Weight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IneB2Weight_GetSumExtra")]
  public static extern double IneB2Weight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IneB2Weight_GetMaxExtra")]
  public static extern double IneB2Weight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_IneB2Weight")]
  public static extern void delete_IneB2Weight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_BB2Weight__SWIG_0")]
  public static extern global::System.IntPtr new_BB2Weight__SWIG_0(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_BB2Weight__SWIG_1")]
  public static extern global::System.IntPtr new_BB2Weight__SWIG_1();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BB2Weight_Name")]
  public static extern string BB2Weight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BB2Weight_GetSumPart")]
  public static extern double BB2Weight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BB2Weight_GetMaxPart")]
  public static extern double BB2Weight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BB2Weight_GetSumExtra")]
  public static extern double BB2Weight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BB2Weight_GetMaxExtra")]
  public static extern double BB2Weight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_BB2Weight")]
  public static extern void delete_BB2Weight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DLHWeight")]
  public static extern global::System.IntPtr new_DLHWeight();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DLHWeight_Name")]
  public static extern string DLHWeight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DLHWeight_GetSumPart")]
  public static extern double DLHWeight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DLHWeight_GetMaxPart")]
  public static extern double DLHWeight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DLHWeight_GetSumExtra")]
  public static extern double DLHWeight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DLHWeight_GetMaxExtra")]
  public static extern double DLHWeight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_DLHWeight")]
  public static extern void delete_DLHWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_PL2Weight__SWIG_0")]
  public static extern global::System.IntPtr new_PL2Weight__SWIG_0(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_PL2Weight__SWIG_1")]
  public static extern global::System.IntPtr new_PL2Weight__SWIG_1();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2Weight_Name")]
  public static extern string PL2Weight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2Weight_GetSumPart")]
  public static extern double PL2Weight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2Weight_GetMaxPart")]
  public static extern double PL2Weight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2Weight_GetSumExtra")]
  public static extern double PL2Weight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2Weight_GetMaxExtra")]
  public static extern double PL2Weight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_PL2Weight")]
  public static extern void delete_PL2Weight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_PL2PlusWeight__SWIG_0")]
  public static extern global::System.IntPtr new_PL2PlusWeight__SWIG_0(double jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_PL2PlusWeight__SWIG_1")]
  public static extern global::System.IntPtr new_PL2PlusWeight__SWIG_1();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2PlusWeight_Name")]
  public static extern string PL2PlusWeight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2PlusWeight_GetSumPart")]
  public static extern double PL2PlusWeight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2PlusWeight_GetMaxPart")]
  public static extern double PL2PlusWeight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2PlusWeight_GetSumExtra")]
  public static extern double PL2PlusWeight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2PlusWeight_GetMaxExtra")]
  public static extern double PL2PlusWeight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_PL2PlusWeight")]
  public static extern void delete_PL2PlusWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DPHWeight")]
  public static extern global::System.IntPtr new_DPHWeight();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DPHWeight_Name")]
  public static extern string DPHWeight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DPHWeight_GetSumPart")]
  public static extern double DPHWeight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DPHWeight_GetMaxPart")]
  public static extern double DPHWeight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DPHWeight_GetSumExtra")]
  public static extern double DPHWeight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DPHWeight_GetMaxExtra")]
  public static extern double DPHWeight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_DPHWeight")]
  public static extern void delete_DPHWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LMWeight__SWIG_0")]
  public static extern global::System.IntPtr new_LMWeight__SWIG_0(double jarg1, int jarg2, double jarg3, double jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LMWeight__SWIG_1")]
  public static extern global::System.IntPtr new_LMWeight__SWIG_1(double jarg1, int jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LMWeight__SWIG_2")]
  public static extern global::System.IntPtr new_LMWeight__SWIG_2(double jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LMWeight__SWIG_3")]
  public static extern global::System.IntPtr new_LMWeight__SWIG_3(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LMWeight__SWIG_4")]
  public static extern global::System.IntPtr new_LMWeight__SWIG_4();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LMWeight_Name")]
  public static extern string LMWeight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LMWeight_GetSumPart")]
  public static extern double LMWeight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LMWeight_GetMaxPart")]
  public static extern double LMWeight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LMWeight_GetSumExtra")]
  public static extern double LMWeight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LMWeight_GetMaxExtra")]
  public static extern double LMWeight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_LMWeight")]
  public static extern void delete_LMWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_CoordWeight_Init")]
  public static extern void CoordWeight_Init(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_CoordWeight")]
  public static extern global::System.IntPtr new_CoordWeight();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_CoordWeight_Name")]
  public static extern string CoordWeight_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_CoordWeight_GetSumPart")]
  public static extern double CoordWeight_GetSumPart(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_CoordWeight_GetMaxPart")]
  public static extern double CoordWeight_GetMaxPart(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_CoordWeight_GetSumExtra")]
  public static extern double CoordWeight_GetSumExtra(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_CoordWeight_GetMaxExtra")]
  public static extern double CoordWeight_GetMaxExtra(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_CoordWeight")]
  public static extern void delete_CoordWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Compactor")]
  public static extern global::System.IntPtr new_Compactor();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_Compactor")]
  public static extern void delete_Compactor(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_SetBlockSize")]
  public static extern void Compactor_SetBlockSize(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_SetRenumber")]
  public static extern void Compactor_SetRenumber(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_SetMultipass")]
  public static extern void Compactor_SetMultipass(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_SetCompactionLevel")]
  public static extern void Compactor_SetCompactionLevel(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_SetDestdir")]
  public static extern void Compactor_SetDestdir(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_AddSource")]
  public static extern void Compactor_AddSource(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_Compact")]
  public static extern void Compactor_Compact(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_SetStatus")]
  public static extern void Compactor_SetStatus(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_SetStatusSwigExplicitCompactor")]
  public static extern void Compactor_SetStatusSwigExplicitCompactor(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_ResolveDuplicateMetadata")]
  public static extern string Compactor_ResolveDuplicateMetadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_ResolveDuplicateMetadataSwigExplicitCompactor")]
  public static extern string Compactor_ResolveDuplicateMetadataSwigExplicitCompactor(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Compactor_director_connect")]
  public static extern void Compactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, Compactor.SwigDelegateCompactor_0 delegate0, Compactor.SwigDelegateCompactor_1 delegate1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_PostingSource")]
  public static extern global::System.IntPtr new_PostingSource();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_PostingSource")]
  public static extern void delete_PostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_GetTermfreqMin")]
  public static extern uint PostingSource_GetTermfreqMin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_GetTermfreqEst")]
  public static extern uint PostingSource_GetTermfreqEst(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_GetTermfreqMax")]
  public static extern uint PostingSource_GetTermfreqMax(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_SetMaxweight")]
  public static extern void PostingSource_SetMaxweight(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_GetMaxweight")]
  public static extern double PostingSource_GetMaxweight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_GetWeight")]
  public static extern double PostingSource_GetWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_GetWeightSwigExplicitPostingSource")]
  public static extern double PostingSource_GetWeightSwigExplicitPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_GetDocId")]
  public static extern uint PostingSource_GetDocId(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_Next")]
  public static extern void PostingSource_Next(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_SkipTo")]
  public static extern void PostingSource_SkipTo(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_SkipToSwigExplicitPostingSource")]
  public static extern void PostingSource_SkipToSwigExplicitPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_Check")]
  public static extern bool PostingSource_Check(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_CheckSwigExplicitPostingSource")]
  public static extern bool PostingSource_CheckSwigExplicitPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_AtEnd")]
  public static extern bool PostingSource_AtEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_Name")]
  public static extern string PostingSource_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_NameSwigExplicitPostingSource")]
  public static extern string PostingSource_NameSwigExplicitPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_Init")]
  public static extern void PostingSource_Init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_GetDescription")]
  public static extern string PostingSource_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_GetDescriptionSwigExplicitPostingSource")]
  public static extern string PostingSource_GetDescriptionSwigExplicitPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_Release")]
  public static extern global::System.IntPtr PostingSource_Release(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PostingSource_director_connect")]
  public static extern void PostingSource_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, PostingSource.SwigDelegatePostingSource_0 delegate0, PostingSource.SwigDelegatePostingSource_1 delegate1, PostingSource.SwigDelegatePostingSource_2 delegate2, PostingSource.SwigDelegatePostingSource_3 delegate3, PostingSource.SwigDelegatePostingSource_4 delegate4, PostingSource.SwigDelegatePostingSource_5 delegate5, PostingSource.SwigDelegatePostingSource_6 delegate6, PostingSource.SwigDelegatePostingSource_7 delegate7, PostingSource.SwigDelegatePostingSource_8 delegate8, PostingSource.SwigDelegatePostingSource_9 delegate9, PostingSource.SwigDelegatePostingSource_10 delegate10, PostingSource.SwigDelegatePostingSource_11 delegate11);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ValuePostingSource")]
  public static extern global::System.IntPtr new_ValuePostingSource(uint jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetTermfreqMin")]
  public static extern uint ValuePostingSource_GetTermfreqMin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetTermfreqMinSwigExplicitValuePostingSource")]
  public static extern uint ValuePostingSource_GetTermfreqMinSwigExplicitValuePostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetTermfreqEst")]
  public static extern uint ValuePostingSource_GetTermfreqEst(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetTermfreqEstSwigExplicitValuePostingSource")]
  public static extern uint ValuePostingSource_GetTermfreqEstSwigExplicitValuePostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetTermfreqMax")]
  public static extern uint ValuePostingSource_GetTermfreqMax(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetTermfreqMaxSwigExplicitValuePostingSource")]
  public static extern uint ValuePostingSource_GetTermfreqMaxSwigExplicitValuePostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_Next")]
  public static extern void ValuePostingSource_Next(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_NextSwigExplicitValuePostingSource")]
  public static extern void ValuePostingSource_NextSwigExplicitValuePostingSource(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_SkipTo")]
  public static extern void ValuePostingSource_SkipTo(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_SkipToSwigExplicitValuePostingSource")]
  public static extern void ValuePostingSource_SkipToSwigExplicitValuePostingSource(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_Check")]
  public static extern bool ValuePostingSource_Check(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_CheckSwigExplicitValuePostingSource")]
  public static extern bool ValuePostingSource_CheckSwigExplicitValuePostingSource(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_AtEnd")]
  public static extern bool ValuePostingSource_AtEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_AtEndSwigExplicitValuePostingSource")]
  public static extern bool ValuePostingSource_AtEndSwigExplicitValuePostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetDocId")]
  public static extern uint ValuePostingSource_GetDocId(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetDocIdSwigExplicitValuePostingSource")]
  public static extern uint ValuePostingSource_GetDocIdSwigExplicitValuePostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_Init")]
  public static extern void ValuePostingSource_Init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_InitSwigExplicitValuePostingSource")]
  public static extern void ValuePostingSource_InitSwigExplicitValuePostingSource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetDatabase")]
  public static extern global::System.IntPtr ValuePostingSource_GetDatabase(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetSlot")]
  public static extern uint ValuePostingSource_GetSlot(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetValue")]
  public static extern string ValuePostingSource_GetValue(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_Done")]
  public static extern void ValuePostingSource_Done(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_GetStarted")]
  public static extern bool ValuePostingSource_GetStarted(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_SetTermfreqMin")]
  public static extern void ValuePostingSource_SetTermfreqMin(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_SetTermfreqEst")]
  public static extern void ValuePostingSource_SetTermfreqEst(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_SetTermfreqMax")]
  public static extern void ValuePostingSource_SetTermfreqMax(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ValuePostingSource")]
  public static extern void delete_ValuePostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_director_connect")]
  public static extern void ValuePostingSource_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, ValuePostingSource.SwigDelegateValuePostingSource_0 delegate0, ValuePostingSource.SwigDelegateValuePostingSource_1 delegate1, ValuePostingSource.SwigDelegateValuePostingSource_2 delegate2, ValuePostingSource.SwigDelegateValuePostingSource_3 delegate3, ValuePostingSource.SwigDelegateValuePostingSource_4 delegate4, ValuePostingSource.SwigDelegateValuePostingSource_5 delegate5, ValuePostingSource.SwigDelegateValuePostingSource_6 delegate6, ValuePostingSource.SwigDelegateValuePostingSource_7 delegate7, ValuePostingSource.SwigDelegateValuePostingSource_8 delegate8, ValuePostingSource.SwigDelegateValuePostingSource_9 delegate9, ValuePostingSource.SwigDelegateValuePostingSource_10 delegate10, ValuePostingSource.SwigDelegateValuePostingSource_11 delegate11);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ValueWeightPostingSource")]
  public static extern global::System.IntPtr new_ValueWeightPostingSource(uint jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueWeightPostingSource_GetWeight")]
  public static extern double ValueWeightPostingSource_GetWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueWeightPostingSource_GetWeightSwigExplicitValueWeightPostingSource")]
  public static extern double ValueWeightPostingSource_GetWeightSwigExplicitValueWeightPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueWeightPostingSource_Name")]
  public static extern string ValueWeightPostingSource_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueWeightPostingSource_NameSwigExplicitValueWeightPostingSource")]
  public static extern string ValueWeightPostingSource_NameSwigExplicitValueWeightPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueWeightPostingSource_Init")]
  public static extern void ValueWeightPostingSource_Init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueWeightPostingSource_InitSwigExplicitValueWeightPostingSource")]
  public static extern void ValueWeightPostingSource_InitSwigExplicitValueWeightPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueWeightPostingSource_GetDescription")]
  public static extern string ValueWeightPostingSource_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueWeightPostingSource_GetDescriptionSwigExplicitValueWeightPostingSource")]
  public static extern string ValueWeightPostingSource_GetDescriptionSwigExplicitValueWeightPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ValueWeightPostingSource")]
  public static extern void delete_ValueWeightPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueWeightPostingSource_director_connect")]
  public static extern void ValueWeightPostingSource_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_0 delegate0, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_1 delegate1, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_2 delegate2, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_3 delegate3, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_4 delegate4, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_5 delegate5, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_6 delegate6, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_7 delegate7, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_8 delegate8, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_9 delegate9, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_10 delegate10, ValueWeightPostingSource.SwigDelegateValueWeightPostingSource_11 delegate11);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DecreasingValueWeightPostingSource__SWIG_0")]
  public static extern global::System.IntPtr new_DecreasingValueWeightPostingSource__SWIG_0(uint jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DecreasingValueWeightPostingSource__SWIG_1")]
  public static extern global::System.IntPtr new_DecreasingValueWeightPostingSource__SWIG_1(uint jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_DecreasingValueWeightPostingSource__SWIG_2")]
  public static extern global::System.IntPtr new_DecreasingValueWeightPostingSource__SWIG_2(uint jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DecreasingValueWeightPostingSource_GetWeight")]
  public static extern double DecreasingValueWeightPostingSource_GetWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DecreasingValueWeightPostingSource_Name")]
  public static extern string DecreasingValueWeightPostingSource_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DecreasingValueWeightPostingSource_Init")]
  public static extern void DecreasingValueWeightPostingSource_Init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DecreasingValueWeightPostingSource_Next")]
  public static extern void DecreasingValueWeightPostingSource_Next(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DecreasingValueWeightPostingSource_SkipTo")]
  public static extern void DecreasingValueWeightPostingSource_SkipTo(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DecreasingValueWeightPostingSource_Check")]
  public static extern bool DecreasingValueWeightPostingSource_Check(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DecreasingValueWeightPostingSource_GetDescription")]
  public static extern string DecreasingValueWeightPostingSource_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_DecreasingValueWeightPostingSource")]
  public static extern void delete_DecreasingValueWeightPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ValueMapPostingSource")]
  public static extern global::System.IntPtr new_ValueMapPostingSource(uint jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueMapPostingSource_AddMapping")]
  public static extern void ValueMapPostingSource_AddMapping(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueMapPostingSource_ClearMappings")]
  public static extern void ValueMapPostingSource_ClearMappings(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueMapPostingSource_SetDefaultWeight")]
  public static extern void ValueMapPostingSource_SetDefaultWeight(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueMapPostingSource_GetWeight")]
  public static extern double ValueMapPostingSource_GetWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueMapPostingSource_Name")]
  public static extern string ValueMapPostingSource_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueMapPostingSource_Init")]
  public static extern void ValueMapPostingSource_Init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueMapPostingSource_GetDescription")]
  public static extern string ValueMapPostingSource_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ValueMapPostingSource")]
  public static extern void delete_ValueMapPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_FixedWeightPostingSource")]
  public static extern global::System.IntPtr new_FixedWeightPostingSource(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_GetTermfreqMin")]
  public static extern uint FixedWeightPostingSource_GetTermfreqMin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_GetTermfreqEst")]
  public static extern uint FixedWeightPostingSource_GetTermfreqEst(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_GetTermfreqMax")]
  public static extern uint FixedWeightPostingSource_GetTermfreqMax(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_GetWeight")]
  public static extern double FixedWeightPostingSource_GetWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_Next")]
  public static extern void FixedWeightPostingSource_Next(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_SkipTo")]
  public static extern void FixedWeightPostingSource_SkipTo(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_Check")]
  public static extern bool FixedWeightPostingSource_Check(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_AtEnd")]
  public static extern bool FixedWeightPostingSource_AtEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_GetDocId")]
  public static extern uint FixedWeightPostingSource_GetDocId(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_Name")]
  public static extern string FixedWeightPostingSource_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_Init")]
  public static extern void FixedWeightPostingSource_Init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_GetDescription")]
  public static extern string FixedWeightPostingSource_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_FixedWeightPostingSource")]
  public static extern void delete_FixedWeightPostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_MatchSpy")]
  public static extern global::System.IntPtr new_MatchSpy();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_MatchSpy")]
  public static extern void delete_MatchSpy(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MatchSpy_Apply")]
  public static extern void MatchSpy_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MatchSpy_Name")]
  public static extern string MatchSpy_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MatchSpy_NameSwigExplicitMatchSpy")]
  public static extern string MatchSpy_NameSwigExplicitMatchSpy(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MatchSpy_MergeResults")]
  public static extern void MatchSpy_MergeResults(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MatchSpy_MergeResultsSwigExplicitMatchSpy")]
  public static extern void MatchSpy_MergeResultsSwigExplicitMatchSpy(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MatchSpy_GetDescription")]
  public static extern string MatchSpy_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MatchSpy_GetDescriptionSwigExplicitMatchSpy")]
  public static extern string MatchSpy_GetDescriptionSwigExplicitMatchSpy(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MatchSpy_Release")]
  public static extern global::System.IntPtr MatchSpy_Release(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MatchSpy_director_connect")]
  public static extern void MatchSpy_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, MatchSpy.SwigDelegateMatchSpy_0 delegate0, MatchSpy.SwigDelegateMatchSpy_1 delegate1, MatchSpy.SwigDelegateMatchSpy_2 delegate2, MatchSpy.SwigDelegateMatchSpy_3 delegate3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ValueCountMatchSpy__SWIG_0")]
  public static extern global::System.IntPtr new_ValueCountMatchSpy__SWIG_0();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_ValueCountMatchSpy__SWIG_1")]
  public static extern global::System.IntPtr new_ValueCountMatchSpy__SWIG_1(uint jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueCountMatchSpy_GetTotal")]
  public static extern uint ValueCountMatchSpy_GetTotal(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueCountMatchSpy_ValuesBegin")]
  public static extern global::System.IntPtr ValueCountMatchSpy_ValuesBegin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueCountMatchSpy_ValuesEnd")]
  public static extern global::System.IntPtr ValueCountMatchSpy_ValuesEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueCountMatchSpy_TopValuesBegin")]
  public static extern global::System.IntPtr ValueCountMatchSpy_TopValuesBegin(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueCountMatchSpy_TopValuesEnd")]
  public static extern global::System.IntPtr ValueCountMatchSpy_TopValuesEnd(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueCountMatchSpy_Apply")]
  public static extern void ValueCountMatchSpy_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueCountMatchSpy_Name")]
  public static extern string ValueCountMatchSpy_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueCountMatchSpy_MergeResults")]
  public static extern void ValueCountMatchSpy_MergeResults(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueCountMatchSpy_GetDescription")]
  public static extern string ValueCountMatchSpy_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_ValueCountMatchSpy")]
  public static extern void delete_ValueCountMatchSpy(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MilesToMetres")]
  public static extern double MilesToMetres(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MetresToMiles")]
  public static extern double MetresToMiles(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoord_latitude_set")]
  public static extern void LatLongCoord_latitude_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoord_latitude_get")]
  public static extern double LatLongCoord_latitude_get(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoord_longitude_set")]
  public static extern void LatLongCoord_longitude_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoord_longitude_get")]
  public static extern double LatLongCoord_longitude_get(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongCoord__SWIG_0")]
  public static extern global::System.IntPtr new_LatLongCoord__SWIG_0();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongCoord__SWIG_1")]
  public static extern global::System.IntPtr new_LatLongCoord__SWIG_1(double jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoord_Unserialise")]
  public static extern void LatLongCoord_Unserialise(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoord_Serialise")]
  public static extern string LatLongCoord_Serialise(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoord_GetDescription")]
  public static extern string LatLongCoord_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_LatLongCoord")]
  public static extern void delete_LatLongCoord(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongCoordsIterator")]
  public static extern global::System.IntPtr new_LatLongCoordsIterator();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoordsIterator_Equals")]
  public static extern bool LatLongCoordsIterator_Equals(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoordsIterator_GetCoord")]
  public static extern global::System.IntPtr LatLongCoordsIterator_GetCoord(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoordsIterator_Next")]
  public static extern global::System.IntPtr LatLongCoordsIterator_Next(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_LatLongCoordsIterator")]
  public static extern void delete_LatLongCoordsIterator(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoords_Begin")]
  public static extern global::System.IntPtr LatLongCoords_Begin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoords_End")]
  public static extern global::System.IntPtr LatLongCoords_End(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoords_Size")]
  public static extern uint LatLongCoords_Size(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoords_Empty")]
  public static extern bool LatLongCoords_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoords_Append")]
  public static extern void LatLongCoords_Append(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongCoords__SWIG_0")]
  public static extern global::System.IntPtr new_LatLongCoords__SWIG_0();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongCoords__SWIG_1")]
  public static extern global::System.IntPtr new_LatLongCoords__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoords_Unserialise")]
  public static extern void LatLongCoords_Unserialise(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoords_Serialise")]
  public static extern string LatLongCoords_Serialise(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongCoords_GetDescription")]
  public static extern string LatLongCoords_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_LatLongCoords")]
  public static extern void delete_LatLongCoords(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_LatLongMetric")]
  public static extern void delete_LatLongMetric(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongMetric_PointwiseDistance")]
  public static extern double LatLongMetric_PointwiseDistance(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongMetric_Apply__SWIG_0")]
  public static extern double LatLongMetric_Apply__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongMetric_Apply__SWIG_1")]
  public static extern double LatLongMetric_Apply__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongMetric_Apply__SWIG_2")]
  public static extern double LatLongMetric_Apply__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongMetric_Name")]
  public static extern string LatLongMetric_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongMetric")]
  public static extern global::System.IntPtr new_LatLongMetric();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongMetric_director_connect")]
  public static extern void LatLongMetric_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, LatLongMetric.SwigDelegateLatLongMetric_0 delegate0, LatLongMetric.SwigDelegateLatLongMetric_1 delegate1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_GreatCircleMetric__SWIG_0")]
  public static extern global::System.IntPtr new_GreatCircleMetric__SWIG_0();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_GreatCircleMetric__SWIG_1")]
  public static extern global::System.IntPtr new_GreatCircleMetric__SWIG_1(double jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_GreatCircleMetric_PointwiseDistance")]
  public static extern double GreatCircleMetric_PointwiseDistance(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_GreatCircleMetric_Name")]
  public static extern string GreatCircleMetric_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_GreatCircleMetric")]
  public static extern void delete_GreatCircleMetric(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistancePostingSource__SWIG_0")]
  public static extern global::System.IntPtr new_LatLongDistancePostingSource__SWIG_0(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4, double jarg5, double jarg6);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistancePostingSource__SWIG_1")]
  public static extern global::System.IntPtr new_LatLongDistancePostingSource__SWIG_1(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4, double jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistancePostingSource__SWIG_2")]
  public static extern global::System.IntPtr new_LatLongDistancePostingSource__SWIG_2(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistancePostingSource__SWIG_3")]
  public static extern global::System.IntPtr new_LatLongDistancePostingSource__SWIG_3(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistancePostingSource__SWIG_4")]
  public static extern global::System.IntPtr new_LatLongDistancePostingSource__SWIG_4(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4, double jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistancePostingSource__SWIG_5")]
  public static extern global::System.IntPtr new_LatLongDistancePostingSource__SWIG_5(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistancePostingSource__SWIG_6")]
  public static extern global::System.IntPtr new_LatLongDistancePostingSource__SWIG_6(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistancePostingSource__SWIG_7")]
  public static extern global::System.IntPtr new_LatLongDistancePostingSource__SWIG_7(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_LatLongDistancePostingSource")]
  public static extern void delete_LatLongDistancePostingSource(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongDistancePostingSource_Next")]
  public static extern void LatLongDistancePostingSource_Next(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongDistancePostingSource_SkipTo")]
  public static extern void LatLongDistancePostingSource_SkipTo(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongDistancePostingSource_Check")]
  public static extern bool LatLongDistancePostingSource_Check(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, double jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongDistancePostingSource_GetWeight")]
  public static extern double LatLongDistancePostingSource_GetWeight(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongDistancePostingSource_Name")]
  public static extern string LatLongDistancePostingSource_Name(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongDistancePostingSource_Init")]
  public static extern void LatLongDistancePostingSource_Init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongDistancePostingSource_GetDescription")]
  public static extern string LatLongDistancePostingSource_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistanceKeyMaker__SWIG_0")]
  public static extern global::System.IntPtr new_LatLongDistanceKeyMaker__SWIG_0(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistanceKeyMaker__SWIG_1")]
  public static extern global::System.IntPtr new_LatLongDistanceKeyMaker__SWIG_1(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistanceKeyMaker__SWIG_2")]
  public static extern global::System.IntPtr new_LatLongDistanceKeyMaker__SWIG_2(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistanceKeyMaker__SWIG_3")]
  public static extern global::System.IntPtr new_LatLongDistanceKeyMaker__SWIG_3(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistanceKeyMaker__SWIG_4")]
  public static extern global::System.IntPtr new_LatLongDistanceKeyMaker__SWIG_4(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_LatLongDistanceKeyMaker__SWIG_5")]
  public static extern global::System.IntPtr new_LatLongDistanceKeyMaker__SWIG_5(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_LatLongDistanceKeyMaker")]
  public static extern void delete_LatLongDistanceKeyMaker(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongDistanceKeyMaker_Apply")]
  public static extern string LatLongDistanceKeyMaker_Apply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_AddDatabase")]
  public static extern void Database_AddDatabase(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Size")]
  public static extern uint Database_Size(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Database__SWIG_0")]
  public static extern global::System.IntPtr new_Database__SWIG_0();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Database__SWIG_1")]
  public static extern global::System.IntPtr new_Database__SWIG_1(string jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Database__SWIG_2")]
  public static extern global::System.IntPtr new_Database__SWIG_2(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Database__SWIG_3")]
  public static extern global::System.IntPtr new_Database__SWIG_3(int jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_Database__SWIG_4")]
  public static extern global::System.IntPtr new_Database__SWIG_4(int jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_Database")]
  public static extern void delete_Database(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Reopen")]
  public static extern bool Database_Reopen(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Close")]
  public static extern void Database_Close(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetDescription")]
  public static extern string Database_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_PostListBegin")]
  public static extern global::System.IntPtr Database_PostListBegin(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_PostListEnd")]
  public static extern global::System.IntPtr Database_PostListEnd(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_TermListBegin")]
  public static extern global::System.IntPtr Database_TermListBegin(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_TermListEnd")]
  public static extern global::System.IntPtr Database_TermListEnd(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_HasPositions")]
  public static extern bool Database_HasPositions(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_PositionListBegin")]
  public static extern global::System.IntPtr Database_PositionListBegin(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_PositionListEnd")]
  public static extern global::System.IntPtr Database_PositionListEnd(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_AllTermsBegin__SWIG_0")]
  public static extern global::System.IntPtr Database_AllTermsBegin__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_AllTermsBegin__SWIG_1")]
  public static extern global::System.IntPtr Database_AllTermsBegin__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_AllTermsEnd__SWIG_0")]
  public static extern global::System.IntPtr Database_AllTermsEnd__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_AllTermsEnd__SWIG_1")]
  public static extern global::System.IntPtr Database_AllTermsEnd__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetDocCount")]
  public static extern uint Database_GetDocCount(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetLastDocId")]
  public static extern uint Database_GetLastDocId(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetAvLength")]
  public static extern double Database_GetAvLength(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetAverageLength")]
  public static extern double Database_GetAverageLength(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetTotalLength")]
  public static extern uint Database_GetTotalLength(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetTermFreq")]
  public static extern uint Database_GetTermFreq(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_TermExists")]
  public static extern bool Database_TermExists(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetCollectionFreq")]
  public static extern uint Database_GetCollectionFreq(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetValueFreq")]
  public static extern uint Database_GetValueFreq(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetValueLowerBound")]
  public static extern string Database_GetValueLowerBound(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetValueUpperBound")]
  public static extern string Database_GetValueUpperBound(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetDoclengthLowerBound")]
  public static extern uint Database_GetDoclengthLowerBound(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetDoclengthUpperBound")]
  public static extern uint Database_GetDoclengthUpperBound(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetWdfUpperBound")]
  public static extern uint Database_GetWdfUpperBound(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_ValuestreamBegin")]
  public static extern global::System.IntPtr Database_ValuestreamBegin(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_ValuestreamEnd")]
  public static extern global::System.IntPtr Database_ValuestreamEnd(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetDocLength")]
  public static extern uint Database_GetDocLength(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetUniqueTerms")]
  public static extern uint Database_GetUniqueTerms(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_KeepAlive")]
  public static extern void Database_KeepAlive(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetDocument__SWIG_0")]
  public static extern global::System.IntPtr Database_GetDocument__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetDocument__SWIG_1")]
  public static extern global::System.IntPtr Database_GetDocument__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetSpellingSuggestion__SWIG_0")]
  public static extern string Database_GetSpellingSuggestion__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetSpellingSuggestion__SWIG_1")]
  public static extern string Database_GetSpellingSuggestion__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_SpellingsBegin")]
  public static extern global::System.IntPtr Database_SpellingsBegin(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_SpellingsEnd")]
  public static extern global::System.IntPtr Database_SpellingsEnd(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_SynonymsBegin")]
  public static extern global::System.IntPtr Database_SynonymsBegin(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_SynonymsEnd")]
  public static extern global::System.IntPtr Database_SynonymsEnd(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_SynonymKeysBegin__SWIG_0")]
  public static extern global::System.IntPtr Database_SynonymKeysBegin__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_SynonymKeysBegin__SWIG_1")]
  public static extern global::System.IntPtr Database_SynonymKeysBegin__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_SynonymKeysEnd__SWIG_0")]
  public static extern global::System.IntPtr Database_SynonymKeysEnd__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_SynonymKeysEnd__SWIG_1")]
  public static extern global::System.IntPtr Database_SynonymKeysEnd__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetMetadata")]
  public static extern string Database_GetMetadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_MetadataKeysBegin__SWIG_0")]
  public static extern global::System.IntPtr Database_MetadataKeysBegin__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_MetadataKeysBegin__SWIG_1")]
  public static extern global::System.IntPtr Database_MetadataKeysBegin__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_MetadataKeysEnd__SWIG_0")]
  public static extern global::System.IntPtr Database_MetadataKeysEnd__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_MetadataKeysEnd__SWIG_1")]
  public static extern global::System.IntPtr Database_MetadataKeysEnd__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetUuid")]
  public static extern string Database_GetUuid(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Locked")]
  public static extern bool Database_Locked(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_GetRevision")]
  public static extern uint Database_GetRevision(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Check__SWIG_0")]
  public static extern uint Database_Check__SWIG_0(string jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Check__SWIG_1")]
  public static extern uint Database_Check__SWIG_1(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Check__SWIG_2")]
  public static extern uint Database_Check__SWIG_2(int jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Check__SWIG_3")]
  public static extern uint Database_Check__SWIG_3(int jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Compact__SWIG_0")]
  public static extern void Database_Compact__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, int jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Compact__SWIG_1")]
  public static extern void Database_Compact__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Compact__SWIG_2")]
  public static extern void Database_Compact__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Compact__SWIG_3")]
  public static extern void Database_Compact__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, uint jarg3, int jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Compact__SWIG_4")]
  public static extern void Database_Compact__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Compact__SWIG_5")]
  public static extern void Database_Compact__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Compact__SWIG_6")]
  public static extern void Database_Compact__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Database_Compact__SWIG_7")]
  public static extern void Database_Compact__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, uint jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_delete_WritableDatabase")]
  public static extern void delete_WritableDatabase(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_WritableDatabase__SWIG_0")]
  public static extern global::System.IntPtr new_WritableDatabase__SWIG_0();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_WritableDatabase__SWIG_1")]
  public static extern global::System.IntPtr new_WritableDatabase__SWIG_1(string jarg1, int jarg2, int jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_WritableDatabase__SWIG_2")]
  public static extern global::System.IntPtr new_WritableDatabase__SWIG_2(string jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_new_WritableDatabase__SWIG_3")]
  public static extern global::System.IntPtr new_WritableDatabase__SWIG_3(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_AddDatabase")]
  public static extern void WritableDatabase_AddDatabase(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_Commit")]
  public static extern void WritableDatabase_Commit(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_Flush")]
  public static extern void WritableDatabase_Flush(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_BeginTransaction__SWIG_0")]
  public static extern void WritableDatabase_BeginTransaction__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_BeginTransaction__SWIG_1")]
  public static extern void WritableDatabase_BeginTransaction__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_CommitTransaction")]
  public static extern void WritableDatabase_CommitTransaction(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_CancelTransaction")]
  public static extern void WritableDatabase_CancelTransaction(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_AddDocument")]
  public static extern uint WritableDatabase_AddDocument(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_DeleteDocument__SWIG_0")]
  public static extern void WritableDatabase_DeleteDocument__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_DeleteDocument__SWIG_1")]
  public static extern void WritableDatabase_DeleteDocument__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_ReplaceDocument__SWIG_0")]
  public static extern void WritableDatabase_ReplaceDocument__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_ReplaceDocument__SWIG_1")]
  public static extern uint WritableDatabase_ReplaceDocument__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_AddSpelling__SWIG_0")]
  public static extern void WritableDatabase_AddSpelling__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_AddSpelling__SWIG_1")]
  public static extern void WritableDatabase_AddSpelling__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_RemoveSpelling__SWIG_0")]
  public static extern void WritableDatabase_RemoveSpelling__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_RemoveSpelling__SWIG_1")]
  public static extern void WritableDatabase_RemoveSpelling__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_AddSynonym")]
  public static extern void WritableDatabase_AddSynonym(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_RemoveSynonym")]
  public static extern void WritableDatabase_RemoveSynonym(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_ClearSynonyms")]
  public static extern void WritableDatabase_ClearSynonyms(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_SetMetadata")]
  public static extern void WritableDatabase_SetMetadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_GetDescription")]
  public static extern string WritableDatabase_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Auto_OpenStub")]
  public static extern global::System.IntPtr Auto_OpenStub(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Chert_Open__SWIG_0")]
  public static extern global::System.IntPtr Chert_Open__SWIG_0(string jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Chert_Open__SWIG_1")]
  public static extern global::System.IntPtr Chert_Open__SWIG_1(string jarg1, int jarg2, int jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Chert_Open__SWIG_2")]
  public static extern global::System.IntPtr Chert_Open__SWIG_2(string jarg1, int jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_InMemory_Open")]
  public static extern global::System.IntPtr InMemory_Open();

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Remote_Open__SWIG_0")]
  public static extern global::System.IntPtr Remote_Open__SWIG_0(string jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Remote_Open__SWIG_1")]
  public static extern global::System.IntPtr Remote_Open__SWIG_1(string jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Remote_Open__SWIG_2")]
  public static extern global::System.IntPtr Remote_Open__SWIG_2(string jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Remote_OpenWritable__SWIG_0")]
  public static extern global::System.IntPtr Remote_OpenWritable__SWIG_0(string jarg1, uint jarg2, uint jarg3, uint jarg4);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Remote_OpenWritable__SWIG_1")]
  public static extern global::System.IntPtr Remote_OpenWritable__SWIG_1(string jarg1, uint jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Remote_OpenWritable__SWIG_2")]
  public static extern global::System.IntPtr Remote_OpenWritable__SWIG_2(string jarg1, uint jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Remote_Open__SWIG_3")]
  public static extern global::System.IntPtr Remote_Open__SWIG_3(string jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Remote_Open__SWIG_4")]
  public static extern global::System.IntPtr Remote_Open__SWIG_4(string jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Remote_OpenWritable__SWIG_3")]
  public static extern global::System.IntPtr Remote_OpenWritable__SWIG_3(string jarg1, string jarg2, uint jarg3);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_Remote_OpenWritable__SWIG_4")]
  public static extern global::System.IntPtr Remote_OpenWritable__SWIG_4(string jarg1, string jarg2);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ExpandDeciderAnd_SWIGUpcast")]
  public static extern global::System.IntPtr ExpandDeciderAnd_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ExpandDeciderFilterPrefix_SWIGUpcast")]
  public static extern global::System.IntPtr ExpandDeciderFilterPrefix_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_MultiValueKeyMaker_SWIGUpcast")]
  public static extern global::System.IntPtr MultiValueKeyMaker_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_SimpleStopper_SWIGUpcast")]
  public static extern global::System.IntPtr SimpleStopper_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DateRangeProcessor_SWIGUpcast")]
  public static extern global::System.IntPtr DateRangeProcessor_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_NumberRangeProcessor_SWIGUpcast")]
  public static extern global::System.IntPtr NumberRangeProcessor_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_StringValueRangeProcessor_SWIGUpcast")]
  public static extern global::System.IntPtr StringValueRangeProcessor_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DateValueRangeProcessor_SWIGUpcast")]
  public static extern global::System.IntPtr DateValueRangeProcessor_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_NumberValueRangeProcessor_SWIGUpcast")]
  public static extern global::System.IntPtr NumberValueRangeProcessor_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueSetMatchDecider_SWIGUpcast")]
  public static extern global::System.IntPtr ValueSetMatchDecider_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BoolWeight_SWIGUpcast")]
  public static extern global::System.IntPtr BoolWeight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TfIdfWeight_SWIGUpcast")]
  public static extern global::System.IntPtr TfIdfWeight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25Weight_SWIGUpcast")]
  public static extern global::System.IntPtr BM25Weight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BM25PlusWeight_SWIGUpcast")]
  public static extern global::System.IntPtr BM25PlusWeight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_TradWeight_SWIGUpcast")]
  public static extern global::System.IntPtr TradWeight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_InL2Weight_SWIGUpcast")]
  public static extern global::System.IntPtr InL2Weight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IfB2Weight_SWIGUpcast")]
  public static extern global::System.IntPtr IfB2Weight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_IneB2Weight_SWIGUpcast")]
  public static extern global::System.IntPtr IneB2Weight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_BB2Weight_SWIGUpcast")]
  public static extern global::System.IntPtr BB2Weight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DLHWeight_SWIGUpcast")]
  public static extern global::System.IntPtr DLHWeight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2Weight_SWIGUpcast")]
  public static extern global::System.IntPtr PL2Weight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_PL2PlusWeight_SWIGUpcast")]
  public static extern global::System.IntPtr PL2PlusWeight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DPHWeight_SWIGUpcast")]
  public static extern global::System.IntPtr DPHWeight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LMWeight_SWIGUpcast")]
  public static extern global::System.IntPtr LMWeight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_CoordWeight_SWIGUpcast")]
  public static extern global::System.IntPtr CoordWeight_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValuePostingSource_SWIGUpcast")]
  public static extern global::System.IntPtr ValuePostingSource_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueWeightPostingSource_SWIGUpcast")]
  public static extern global::System.IntPtr ValueWeightPostingSource_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_DecreasingValueWeightPostingSource_SWIGUpcast")]
  public static extern global::System.IntPtr DecreasingValueWeightPostingSource_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueMapPostingSource_SWIGUpcast")]
  public static extern global::System.IntPtr ValueMapPostingSource_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_FixedWeightPostingSource_SWIGUpcast")]
  public static extern global::System.IntPtr FixedWeightPostingSource_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_ValueCountMatchSpy_SWIGUpcast")]
  public static extern global::System.IntPtr ValueCountMatchSpy_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_GreatCircleMetric_SWIGUpcast")]
  public static extern global::System.IntPtr GreatCircleMetric_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongDistancePostingSource_SWIGUpcast")]
  public static extern global::System.IntPtr LatLongDistancePostingSource_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_LatLongDistanceKeyMaker_SWIGUpcast")]
  public static extern global::System.IntPtr LatLongDistanceKeyMaker_SWIGUpcast(global::System.IntPtr jarg1);

  [global::System.Runtime.InteropServices.DllImport("_XapianSharp", EntryPoint="CSharp_Xapian_WritableDatabase_SWIGUpcast")]
  public static extern global::System.IntPtr WritableDatabase_SWIGUpcast(global::System.IntPtr jarg1);
}

}
