Logo Search packages:      
Sourcecode: xapian-bindings version File versions  Download package

XapianPINVOKE.cs

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

namespace Xapian {

using System;
using System.Runtime.InteropServices;

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 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);

    [DllImport("XapianSharp", EntryPoint="SWIGRegisterExceptionCallbacks_Xapian")]
    public static extern void SWIGRegisterExceptionCallbacks_Xapian(
                                ExceptionDelegate applicationDelegate,
                                ExceptionDelegate arithmeticDelegate,
                                ExceptionDelegate divideByZeroDelegate, 
                                ExceptionDelegate indexOutOfRangeDelegate, 
                                ExceptionDelegate invalidOperationDelegate,
                                ExceptionDelegate ioDelegate,
                                ExceptionDelegate nullReferenceDelegate,
                                ExceptionDelegate outOfMemoryDelegate, 
                                ExceptionDelegate overflowDelegate, 
                                ExceptionDelegate systemExceptionDelegate);

    [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 System.ApplicationException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingArithmeticException(string message) {
      SWIGPendingException.Set(new System.ArithmeticException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingDivideByZeroException(string message) {
      SWIGPendingException.Set(new System.DivideByZeroException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingIndexOutOfRangeException(string message) {
      SWIGPendingException.Set(new System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingInvalidOperationException(string message) {
      SWIGPendingException.Set(new System.InvalidOperationException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingIOException(string message) {
      SWIGPendingException.Set(new System.IO.IOException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingNullReferenceException(string message) {
      SWIGPendingException.Set(new System.NullReferenceException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingOutOfMemoryException(string message) {
      SWIGPendingException.Set(new System.OutOfMemoryException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingOverflowException(string message) {
      SWIGPendingException.Set(new System.OverflowException(message, SWIGPendingException.Retrieve()));
    }
    static void SetPendingSystemException(string message) {
      SWIGPendingException.Set(new System.SystemException(message, SWIGPendingException.Retrieve()));
    }

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

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

      SWIGRegisterExceptionCallbacksArgument_Xapian(
                                argumentDelegate,
                                argumentNullDelegate,
                                argumentOutOfRangeDelegate);
    }
  }

  protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper();

  public class SWIGPendingException {
    [ThreadStatic]
    private static Exception pendingException = null;
    private static int numExceptionsPending = 0;

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

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

    public static Exception Retrieve() {
      Exception e = null;
      if (numExceptionsPending > 0) {
        if (pendingException != null) {
          e = pendingException;
          pendingException = null;
          lock(typeof(XapianPINVOKE)) {
            numExceptionsPending--;
          }
        }
      }
      return e;
    }
  }


  protected class SWIGStringHelper {

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

    [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();


  [DllImport("XapianSharp", EntryPoint="CSharp_Version_String")]
  public static extern string Version_String();

  [DllImport("XapianSharp", EntryPoint="CSharp_Version_Major")]
  public static extern int Version_Major();

  [DllImport("XapianSharp", EntryPoint="CSharp_Version_Minor")]
  public static extern int Version_Minor();

  [DllImport("XapianSharp", EntryPoint="CSharp_Version_Revision")]
  public static extern int Version_Revision();

  [DllImport("XapianSharp", EntryPoint="CSharp_XapianVersionString")]
  public static extern string XapianVersionString();

  [DllImport("XapianSharp", EntryPoint="CSharp_XapianMajorVersion")]
  public static extern int XapianMajorVersion();

  [DllImport("XapianSharp", EntryPoint="CSharp_XapianMinorVersion")]
  public static extern int XapianMinorVersion();

  [DllImport("XapianSharp", EntryPoint="CSharp_XapianRevision")]
  public static extern int XapianRevision();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_PositionIterator__SWIG_0")]
  public static extern IntPtr new_PositionIterator__SWIG_0();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_PositionIterator__SWIG_1")]
  public static extern IntPtr new_PositionIterator__SWIG_1(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_PositionIterator")]
  public static extern void delete_PositionIterator(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_PositionIterator_GetTermPos")]
  public static extern uint PositionIterator_GetTermPos(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_PositionIterator_Next")]
  public static extern IntPtr PositionIterator_Next(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_PositionIterator_Equals")]
  public static extern bool PositionIterator_Equals(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_PositionIterator_SkipTo")]
  public static extern void PositionIterator_SkipTo(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_PositionIterator_GetDescription")]
  public static extern string PositionIterator_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_PostingIterator__SWIG_0")]
  public static extern IntPtr new_PostingIterator__SWIG_0();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_PostingIterator__SWIG_1")]
  public static extern IntPtr new_PostingIterator__SWIG_1(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_PostingIterator")]
  public static extern void delete_PostingIterator(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_PostingIterator_GetDocId")]
  public static extern uint PostingIterator_GetDocId(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_PostingIterator_Next")]
  public static extern IntPtr PostingIterator_Next(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_PostingIterator_Equals")]
  public static extern bool PostingIterator_Equals(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_PostingIterator_SkipTo")]
  public static extern void PostingIterator_SkipTo(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_PostingIterator_GetDocLength")]
  public static extern double PostingIterator_GetDocLength(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_PostingIterator_GetWdf")]
  public static extern uint PostingIterator_GetWdf(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_PostingIterator_PositionListBegin")]
  public static extern IntPtr PostingIterator_PositionListBegin(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_PostingIterator_PositionListEnd")]
  public static extern IntPtr PostingIterator_PositionListEnd(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_PostingIterator_GetDescription")]
  public static extern string PostingIterator_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_TermIterator__SWIG_0")]
  public static extern IntPtr new_TermIterator__SWIG_0();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_TermIterator__SWIG_1")]
  public static extern IntPtr new_TermIterator__SWIG_1(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_TermIterator")]
  public static extern void delete_TermIterator(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TermIterator_GetTerm")]
  public static extern string TermIterator_GetTerm(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TermIterator_Next")]
  public static extern IntPtr TermIterator_Next(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TermIterator_Equals")]
  public static extern bool TermIterator_Equals(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_TermIterator_SkipTo")]
  public static extern void TermIterator_SkipTo(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_TermIterator_GetWdf")]
  public static extern uint TermIterator_GetWdf(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TermIterator_GetTermFreq")]
  public static extern uint TermIterator_GetTermFreq(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TermIterator_PositionListBegin")]
  public static extern IntPtr TermIterator_PositionListBegin(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TermIterator_PositionListEnd")]
  public static extern IntPtr TermIterator_PositionListEnd(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TermIterator_GetDescription")]
  public static extern string TermIterator_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_ValueIterator__SWIG_0")]
  public static extern IntPtr new_ValueIterator__SWIG_0();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_ValueIterator__SWIG_1")]
  public static extern IntPtr new_ValueIterator__SWIG_1(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_ValueIterator")]
  public static extern void delete_ValueIterator(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ValueIterator_GetValue")]
  public static extern string ValueIterator_GetValue(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ValueIterator_Next")]
  public static extern IntPtr ValueIterator_Next(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ValueIterator_Equals")]
  public static extern bool ValueIterator_Equals(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_ValueIterator_GetValueNo")]
  public static extern uint ValueIterator_GetValueNo(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ValueIterator_GetDescription")]
  public static extern string ValueIterator_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Document__SWIG_0")]
  public static extern IntPtr new_Document__SWIG_0();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Document__SWIG_1")]
  public static extern IntPtr new_Document__SWIG_1(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_Document")]
  public static extern void delete_Document(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_GetValue")]
  public static extern string Document_GetValue(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_AddValue")]
  public static extern void Document_AddValue(HandleRef jarg1, uint jarg2, string jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_RemoveValue")]
  public static extern void Document_RemoveValue(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_ClearValues")]
  public static extern void Document_ClearValues(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_GetData")]
  public static extern string Document_GetData(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_SetData")]
  public static extern void Document_SetData(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_AddPosting__SWIG_0")]
  public static extern void Document_AddPosting__SWIG_0(HandleRef jarg1, string jarg2, uint jarg3, uint jarg4);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_AddPosting__SWIG_1")]
  public static extern void Document_AddPosting__SWIG_1(HandleRef jarg1, string jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_AddTerm__SWIG_0")]
  public static extern void Document_AddTerm__SWIG_0(HandleRef jarg1, string jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_AddTerm__SWIG_1")]
  public static extern void Document_AddTerm__SWIG_1(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_AddTermNopos__SWIG_0")]
  public static extern void Document_AddTermNopos__SWIG_0(HandleRef jarg1, string jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_AddTermNopos__SWIG_1")]
  public static extern void Document_AddTermNopos__SWIG_1(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_RemovePosting__SWIG_0")]
  public static extern void Document_RemovePosting__SWIG_0(HandleRef jarg1, string jarg2, uint jarg3, uint jarg4);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_RemovePosting__SWIG_1")]
  public static extern void Document_RemovePosting__SWIG_1(HandleRef jarg1, string jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_RemoveTerm")]
  public static extern void Document_RemoveTerm(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_ClearTerms")]
  public static extern void Document_ClearTerms(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_TermListCount")]
  public static extern uint Document_TermListCount(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_TermListBegin")]
  public static extern IntPtr Document_TermListBegin(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_TermListEnd")]
  public static extern IntPtr Document_TermListEnd(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_ValuesCount")]
  public static extern uint Document_ValuesCount(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_ValuesBegin")]
  public static extern IntPtr Document_ValuesBegin(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_ValuesEnd")]
  public static extern IntPtr Document_ValuesEnd(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Document_GetDescription")]
  public static extern string Document_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_MSet__SWIG_0")]
  public static extern IntPtr new_MSet__SWIG_0();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_MSet__SWIG_1")]
  public static extern IntPtr new_MSet__SWIG_1(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_MSet")]
  public static extern void delete_MSet(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_Fetch__SWIG_0")]
  public static extern void MSet_Fetch__SWIG_0(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_Fetch__SWIG_1")]
  public static extern void MSet_Fetch__SWIG_1(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_Fetch__SWIG_2")]
  public static extern void MSet_Fetch__SWIG_2(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_ConvertToPercent__SWIG_0")]
  public static extern int MSet_ConvertToPercent__SWIG_0(HandleRef jarg1, double jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_ConvertToPercent__SWIG_1")]
  public static extern int MSet_ConvertToPercent__SWIG_1(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetTermFreq")]
  public static extern uint MSet_GetTermFreq(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetTermWeight")]
  public static extern double MSet_GetTermWeight(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetFirstItem")]
  public static extern uint MSet_GetFirstItem(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetMatchesLowerBound")]
  public static extern uint MSet_GetMatchesLowerBound(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetMatchesEstimated")]
  public static extern uint MSet_GetMatchesEstimated(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetMatchesUpperBound")]
  public static extern uint MSet_GetMatchesUpperBound(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetMaxPossible")]
  public static extern double MSet_GetMaxPossible(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetMaxAttained")]
  public static extern double MSet_GetMaxAttained(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_Size")]
  public static extern uint MSet_Size(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_Empty")]
  public static extern bool MSet_Empty(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_IsEmpty")]
  public static extern bool MSet_IsEmpty(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_Begin")]
  public static extern IntPtr MSet_Begin(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_End")]
  public static extern IntPtr MSet_End(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_Back")]
  public static extern IntPtr MSet_Back(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetHit")]
  public static extern IntPtr MSet_GetHit(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetDocumentPercentage")]
  public static extern int MSet_GetDocumentPercentage(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetDocument")]
  public static extern IntPtr MSet_GetDocument(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetDocId")]
  public static extern uint MSet_GetDocId(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetDocumentId")]
  public static extern uint MSet_GetDocumentId(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSet_GetDescription")]
  public static extern string MSet_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_MSetIterator__SWIG_0")]
  public static extern IntPtr new_MSetIterator__SWIG_0();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_MSetIterator__SWIG_1")]
  public static extern IntPtr new_MSetIterator__SWIG_1(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_MSetIterator")]
  public static extern void delete_MSetIterator(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSetIterator_GetDocId")]
  public static extern uint MSetIterator_GetDocId(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSetIterator_Next")]
  public static extern IntPtr MSetIterator_Next(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSetIterator_Prev")]
  public static extern IntPtr MSetIterator_Prev(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSetIterator_Equals")]
  public static extern bool MSetIterator_Equals(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSetIterator_GetDocument")]
  public static extern IntPtr MSetIterator_GetDocument(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSetIterator_GetRank")]
  public static extern uint MSetIterator_GetRank(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSetIterator_GetWeight")]
  public static extern double MSetIterator_GetWeight(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSetIterator_GetCollapseCount")]
  public static extern uint MSetIterator_GetCollapseCount(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSetIterator_GetPercent")]
  public static extern int MSetIterator_GetPercent(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MSetIterator_GetDescription")]
  public static extern string MSetIterator_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_ESet__SWIG_0")]
  public static extern IntPtr new_ESet__SWIG_0();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_ESet__SWIG_1")]
  public static extern IntPtr new_ESet__SWIG_1(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_ESet")]
  public static extern void delete_ESet(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESet_GetEbound")]
  public static extern uint ESet_GetEbound(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESet_Size")]
  public static extern uint ESet_Size(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESet_Empty")]
  public static extern bool ESet_Empty(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESet_IsEmpty")]
  public static extern bool ESet_IsEmpty(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESet_Begin")]
  public static extern IntPtr ESet_Begin(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESet_End")]
  public static extern IntPtr ESet_End(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESet_Back")]
  public static extern IntPtr ESet_Back(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESet_GetDescription")]
  public static extern string ESet_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_ESetIterator__SWIG_0")]
  public static extern IntPtr new_ESetIterator__SWIG_0();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_ESetIterator__SWIG_1")]
  public static extern IntPtr new_ESetIterator__SWIG_1(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_ESetIterator")]
  public static extern void delete_ESetIterator(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESetIterator_GetTermName")]
  public static extern string ESetIterator_GetTermName(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESetIterator_Next")]
  public static extern IntPtr ESetIterator_Next(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESetIterator_Prev")]
  public static extern IntPtr ESetIterator_Prev(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESetIterator_Equals")]
  public static extern bool ESetIterator_Equals(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESetIterator_GetWeight")]
  public static extern double ESetIterator_GetWeight(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_ESetIterator_GetDescription")]
  public static extern string ESetIterator_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_RSet__SWIG_0")]
  public static extern IntPtr new_RSet__SWIG_0(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_RSet__SWIG_1")]
  public static extern IntPtr new_RSet__SWIG_1();

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_RSet")]
  public static extern void delete_RSet(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_RSet_Size")]
  public static extern uint RSet_Size(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_RSet_Empty")]
  public static extern bool RSet_Empty(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_RSet_IsEmpty")]
  public static extern bool RSet_IsEmpty(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_RSet_AddDocument__SWIG_0")]
  public static extern void RSet_AddDocument__SWIG_0(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_RSet_AddDocument__SWIG_1")]
  public static extern void RSet_AddDocument__SWIG_1(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_RSet_RemoveDocument__SWIG_0")]
  public static extern void RSet_RemoveDocument__SWIG_0(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_RSet_RemoveDocument__SWIG_1")]
  public static extern void RSet_RemoveDocument__SWIG_1(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_RSet_Contains__SWIG_0")]
  public static extern bool RSet_Contains__SWIG_0(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_RSet_Contains__SWIG_1")]
  public static extern bool RSet_Contains__SWIG_1(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_RSet_GetDescription")]
  public static extern string RSet_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_MatchDecider_Apply")]
  public static extern int MatchDecider_Apply(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_MatchDecider")]
  public static extern void delete_MatchDecider(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_MatchDecider")]
  public static extern IntPtr new_MatchDecider();

  [DllImport("XapianSharp", EntryPoint="CSharp_MatchDecider_director_connect")]
  public static extern void MatchDecider_director_connect(HandleRef jarg1, MatchDecider.SwigDelegateMatchDecider_0 delegate0);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Enquire")]
  public static extern IntPtr new_Enquire(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_Enquire")]
  public static extern void delete_Enquire(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetQuery__SWIG_0")]
  public static extern void Enquire_SetQuery__SWIG_0(HandleRef jarg1, HandleRef jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetQuery__SWIG_1")]
  public static extern void Enquire_SetQuery__SWIG_1(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetQuery")]
  public static extern IntPtr Enquire_GetQuery(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetWeightingScheme")]
  public static extern void Enquire_SetWeightingScheme(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetCollapseKey")]
  public static extern void Enquire_SetCollapseKey(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetDocidOrder")]
  public static extern void Enquire_SetDocidOrder(HandleRef jarg1, int jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetSortForward")]
  public static extern void Enquire_SetSortForward(HandleRef jarg1, bool jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetCutoff__SWIG_0")]
  public static extern void Enquire_SetCutoff__SWIG_0(HandleRef jarg1, int jarg2, double jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetCutoff__SWIG_1")]
  public static extern void Enquire_SetCutoff__SWIG_1(HandleRef jarg1, int jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetSorting__SWIG_0")]
  public static extern void Enquire_SetSorting__SWIG_0(HandleRef jarg1, uint jarg2, int jarg3, bool jarg4);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetSorting__SWIG_1")]
  public static extern void Enquire_SetSorting__SWIG_1(HandleRef jarg1, uint jarg2, int jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetSortByRelevance")]
  public static extern void Enquire_SetSortByRelevance(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetSortByValue__SWIG_0")]
  public static extern void Enquire_SetSortByValue__SWIG_0(HandleRef jarg1, uint jarg2, bool jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetSortByValue__SWIG_1")]
  public static extern void Enquire_SetSortByValue__SWIG_1(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetSortByValueThenRelevance__SWIG_0")]
  public static extern void Enquire_SetSortByValueThenRelevance__SWIG_0(HandleRef jarg1, uint jarg2, bool jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetSortByValueThenRelevance__SWIG_1")]
  public static extern void Enquire_SetSortByValueThenRelevance__SWIG_1(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetSortByRelevanceThenValue__SWIG_0")]
  public static extern void Enquire_SetSortByRelevanceThenValue__SWIG_0(HandleRef jarg1, uint jarg2, bool jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetSortByRelevanceThenValue__SWIG_1")]
  public static extern void Enquire_SetSortByRelevanceThenValue__SWIG_1(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_SetBias")]
  public static extern void Enquire_SetBias(HandleRef jarg1, double jarg2, HandleRef jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetMSet__SWIG_0")]
  public static extern IntPtr Enquire_GetMSet__SWIG_0(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, HandleRef jarg5, HandleRef jarg6);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetMSet__SWIG_1")]
  public static extern IntPtr Enquire_GetMSet__SWIG_1(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, HandleRef jarg5);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetMSet__SWIG_2")]
  public static extern IntPtr Enquire_GetMSet__SWIG_2(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetMSet__SWIG_3")]
  public static extern IntPtr Enquire_GetMSet__SWIG_3(HandleRef jarg1, uint jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetMSet__SWIG_4")]
  public static extern IntPtr Enquire_GetMSet__SWIG_4(HandleRef jarg1, uint jarg2, uint jarg3, HandleRef jarg4, HandleRef jarg5);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetMSet__SWIG_5")]
  public static extern IntPtr Enquire_GetMSet__SWIG_5(HandleRef jarg1, uint jarg2, uint jarg3, HandleRef jarg4);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetESet__SWIG_0")]
  public static extern IntPtr Enquire_GetESet__SWIG_0(HandleRef jarg1, uint jarg2, HandleRef jarg3, int jarg4, double jarg5, HandleRef jarg6);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetESet__SWIG_1")]
  public static extern IntPtr Enquire_GetESet__SWIG_1(HandleRef jarg1, uint jarg2, HandleRef jarg3, int jarg4, double jarg5);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetESet__SWIG_2")]
  public static extern IntPtr Enquire_GetESet__SWIG_2(HandleRef jarg1, uint jarg2, HandleRef jarg3, int jarg4);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetESet__SWIG_3")]
  public static extern IntPtr Enquire_GetESet__SWIG_3(HandleRef jarg1, uint jarg2, HandleRef jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetMatchingTermsBegin__SWIG_0")]
  public static extern IntPtr Enquire_GetMatchingTermsBegin__SWIG_0(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetMatchingTermsEnd__SWIG_0")]
  public static extern IntPtr Enquire_GetMatchingTermsEnd__SWIG_0(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetMatchingTermsBegin__SWIG_1")]
  public static extern IntPtr Enquire_GetMatchingTermsBegin__SWIG_1(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetMatchingTermsEnd__SWIG_1")]
  public static extern IntPtr Enquire_GetMatchingTermsEnd__SWIG_1(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_RegisterMatchDecider__SWIG_0")]
  public static extern void Enquire_RegisterMatchDecider__SWIG_0(HandleRef jarg1, string jarg2, HandleRef jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_RegisterMatchDecider__SWIG_1")]
  public static extern void Enquire_RegisterMatchDecider__SWIG_1(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Enquire_GetDescription")]
  public static extern string Enquire_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_Weight")]
  public static extern void delete_Weight(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Weight_Name")]
  public static extern string Weight_Name(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Weight_Serialise")]
  public static extern string Weight_Serialise(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Weight_Unserialise")]
  public static extern IntPtr Weight_Unserialise(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Weight_GetSumPart")]
  public static extern double Weight_GetSumPart(HandleRef jarg1, uint jarg2, double jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Weight_GetMaxPart")]
  public static extern double Weight_GetMaxPart(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Weight_GetSumExtra")]
  public static extern double Weight_GetSumExtra(HandleRef jarg1, double jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Weight_GetMaxExtra")]
  public static extern double Weight_GetMaxExtra(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Weight_GetSumPartNeedsDocLength")]
  public static extern bool Weight_GetSumPartNeedsDocLength(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_BoolWeight_Clone")]
  public static extern IntPtr BoolWeight_Clone(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_BoolWeight")]
  public static extern IntPtr new_BoolWeight();

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_BoolWeight")]
  public static extern void delete_BoolWeight(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_BoolWeight_Name")]
  public static extern string BoolWeight_Name(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_BoolWeight_Serialise")]
  public static extern string BoolWeight_Serialise(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_BoolWeight_Unserialise")]
  public static extern IntPtr BoolWeight_Unserialise(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_BoolWeight_GetSumPart")]
  public static extern double BoolWeight_GetSumPart(HandleRef jarg1, uint jarg2, double jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_BoolWeight_GetMaxPart")]
  public static extern double BoolWeight_GetMaxPart(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_BoolWeight_GetSumExtra")]
  public static extern double BoolWeight_GetSumExtra(HandleRef jarg1, double jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_BoolWeight_GetMaxExtra")]
  public static extern double BoolWeight_GetMaxExtra(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_BoolWeight_GetSumPartNeedsDocLength")]
  public static extern bool BoolWeight_GetSumPartNeedsDocLength(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_BM25Weight__SWIG_0")]
  public static extern IntPtr new_BM25Weight__SWIG_0(double jarg1, double jarg2, double jarg3, double jarg4, double jarg5);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_BM25Weight__SWIG_1")]
  public static extern IntPtr new_BM25Weight__SWIG_1();

  [DllImport("XapianSharp", EntryPoint="CSharp_BM25Weight_Clone")]
  public static extern IntPtr BM25Weight_Clone(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_BM25Weight")]
  public static extern void delete_BM25Weight(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_BM25Weight_Name")]
  public static extern string BM25Weight_Name(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_BM25Weight_Serialise")]
  public static extern string BM25Weight_Serialise(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_BM25Weight_Unserialise")]
  public static extern IntPtr BM25Weight_Unserialise(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_BM25Weight_GetSumPart")]
  public static extern double BM25Weight_GetSumPart(HandleRef jarg1, uint jarg2, double jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_BM25Weight_GetMaxPart")]
  public static extern double BM25Weight_GetMaxPart(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_BM25Weight_GetSumExtra")]
  public static extern double BM25Weight_GetSumExtra(HandleRef jarg1, double jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_BM25Weight_GetMaxExtra")]
  public static extern double BM25Weight_GetMaxExtra(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_BM25Weight_GetSumPartNeedsDocLength")]
  public static extern bool BM25Weight_GetSumPartNeedsDocLength(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_TradWeight__SWIG_0")]
  public static extern IntPtr new_TradWeight__SWIG_0(double jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_TradWeight__SWIG_1")]
  public static extern IntPtr new_TradWeight__SWIG_1();

  [DllImport("XapianSharp", EntryPoint="CSharp_TradWeight_Clone")]
  public static extern IntPtr TradWeight_Clone(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_TradWeight")]
  public static extern void delete_TradWeight(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TradWeight_Name")]
  public static extern string TradWeight_Name(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TradWeight_Serialise")]
  public static extern string TradWeight_Serialise(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TradWeight_Unserialise")]
  public static extern IntPtr TradWeight_Unserialise(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_TradWeight_GetSumPart")]
  public static extern double TradWeight_GetSumPart(HandleRef jarg1, uint jarg2, double jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_TradWeight_GetMaxPart")]
  public static extern double TradWeight_GetMaxPart(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TradWeight_GetSumExtra")]
  public static extern double TradWeight_GetSumExtra(HandleRef jarg1, double jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_TradWeight_GetMaxExtra")]
  public static extern double TradWeight_GetMaxExtra(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_TradWeight_GetSumPartNeedsDocLength")]
  public static extern bool TradWeight_GetSumPartNeedsDocLength(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_AddDatabase")]
  public static extern void Database_AddDatabase(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Database__SWIG_0")]
  public static extern IntPtr new_Database__SWIG_0();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Database__SWIG_1")]
  public static extern IntPtr new_Database__SWIG_1(string jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_Database")]
  public static extern void delete_Database(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Database__SWIG_2")]
  public static extern IntPtr new_Database__SWIG_2(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_Reopen")]
  public static extern void Database_Reopen(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_GetDescription")]
  public static extern string Database_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_PostListBegin")]
  public static extern IntPtr Database_PostListBegin(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_PostListEnd")]
  public static extern IntPtr Database_PostListEnd(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_TermListBegin")]
  public static extern IntPtr Database_TermListBegin(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_TermListEnd")]
  public static extern IntPtr Database_TermListEnd(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_PositionListBegin")]
  public static extern IntPtr Database_PositionListBegin(HandleRef jarg1, uint jarg2, string jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_PositionListEnd")]
  public static extern IntPtr Database_PositionListEnd(HandleRef jarg1, uint jarg2, string jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_AllTermsBegin")]
  public static extern IntPtr Database_AllTermsBegin(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_AllTermsEnd")]
  public static extern IntPtr Database_AllTermsEnd(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_GetDocCount")]
  public static extern uint Database_GetDocCount(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_GetLastDocId")]
  public static extern uint Database_GetLastDocId(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_GetAvLength")]
  public static extern double Database_GetAvLength(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_GetTermFreq")]
  public static extern uint Database_GetTermFreq(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_TermExists")]
  public static extern bool Database_TermExists(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_GetCollectionFreq")]
  public static extern uint Database_GetCollectionFreq(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_GetDocLength")]
  public static extern double Database_GetDocLength(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_KeepAlive")]
  public static extern void Database_KeepAlive(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Database_GetDocument")]
  public static extern IntPtr Database_GetDocument(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_WritableDatabase")]
  public static extern void delete_WritableDatabase(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_WritableDatabase__SWIG_0")]
  public static extern IntPtr new_WritableDatabase__SWIG_0();

  [DllImport("XapianSharp", EntryPoint="CSharp_new_WritableDatabase__SWIG_1")]
  public static extern IntPtr new_WritableDatabase__SWIG_1(string jarg1, int jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_WritableDatabase__SWIG_2")]
  public static extern IntPtr new_WritableDatabase__SWIG_2(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabase_Flush")]
  public static extern void WritableDatabase_Flush(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabase_BeginTransaction__SWIG_0")]
  public static extern void WritableDatabase_BeginTransaction__SWIG_0(HandleRef jarg1, bool jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabase_BeginTransaction__SWIG_1")]
  public static extern void WritableDatabase_BeginTransaction__SWIG_1(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabase_CommitTransaction")]
  public static extern void WritableDatabase_CommitTransaction(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabase_CancelTransaction")]
  public static extern void WritableDatabase_CancelTransaction(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabase_AddDocument")]
  public static extern uint WritableDatabase_AddDocument(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabase_DeleteDocument__SWIG_0")]
  public static extern void WritableDatabase_DeleteDocument__SWIG_0(HandleRef jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabase_ReplaceDocument__SWIG_0")]
  public static extern void WritableDatabase_ReplaceDocument__SWIG_0(HandleRef jarg1, uint jarg2, HandleRef jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabase_DeleteDocument__SWIG_1")]
  public static extern void WritableDatabase_DeleteDocument__SWIG_1(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabase_ReplaceDocument__SWIG_1")]
  public static extern uint WritableDatabase_ReplaceDocument__SWIG_1(HandleRef jarg1, string jarg2, HandleRef jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabase_GetDescription")]
  public static extern string WritableDatabase_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_DB_CREATE_OR_OPEN_get")]
  public static extern int DB_CREATE_OR_OPEN_get();

  [DllImport("XapianSharp", EntryPoint="CSharp_DB_CREATE_get")]
  public static extern int DB_CREATE_get();

  [DllImport("XapianSharp", EntryPoint="CSharp_DB_CREATE_OR_OVERWRITE_get")]
  public static extern int DB_CREATE_OR_OVERWRITE_get();

  [DllImport("XapianSharp", EntryPoint="CSharp_DB_OPEN_get")]
  public static extern int DB_OPEN_get();

  [DllImport("XapianSharp", EntryPoint="CSharp_Auto_Open__SWIG_0")]
  public static extern IntPtr Auto_Open__SWIG_0(string jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Auto_Open__SWIG_1")]
  public static extern IntPtr Auto_Open__SWIG_1(string jarg1, int jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Auto_OpenStub")]
  public static extern IntPtr Auto_OpenStub(string jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Quartz_Open__SWIG_0")]
  public static extern IntPtr Quartz_Open__SWIG_0(string jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Quartz_Open__SWIG_1")]
  public static extern IntPtr Quartz_Open__SWIG_1(string jarg1, int jarg2, int jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Quartz_Open__SWIG_2")]
  public static extern IntPtr Quartz_Open__SWIG_2(string jarg1, int jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Flint_Open__SWIG_0")]
  public static extern IntPtr Flint_Open__SWIG_0(string jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Flint_Open__SWIG_1")]
  public static extern IntPtr Flint_Open__SWIG_1(string jarg1, int jarg2, int jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Flint_Open__SWIG_2")]
  public static extern IntPtr Flint_Open__SWIG_2(string jarg1, int jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_InMemory_Open")]
  public static extern IntPtr InMemory_Open();

  [DllImport("XapianSharp", EntryPoint="CSharp_Muscat36_OpenDa__SWIG_0")]
  public static extern IntPtr Muscat36_OpenDa__SWIG_0(string jarg1, string jarg2, bool jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Muscat36_OpenDa__SWIG_1")]
  public static extern IntPtr Muscat36_OpenDa__SWIG_1(string jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Muscat36_OpenDa__SWIG_2")]
  public static extern IntPtr Muscat36_OpenDa__SWIG_2(string jarg1, string jarg2, string jarg3, bool jarg4);

  [DllImport("XapianSharp", EntryPoint="CSharp_Muscat36_OpenDa__SWIG_3")]
  public static extern IntPtr Muscat36_OpenDa__SWIG_3(string jarg1, string jarg2, string jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Muscat36_OpenDb__SWIG_0")]
  public static extern IntPtr Muscat36_OpenDb__SWIG_0(string jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Muscat36_OpenDb__SWIG_1")]
  public static extern IntPtr Muscat36_OpenDb__SWIG_1(string jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Muscat36_OpenDb__SWIG_2")]
  public static extern IntPtr Muscat36_OpenDb__SWIG_2(string jarg1, string jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Muscat36_OpenDb__SWIG_3")]
  public static extern IntPtr Muscat36_OpenDb__SWIG_3(string jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Remote_Open__SWIG_0")]
  public static extern IntPtr Remote_Open__SWIG_0(string jarg1, uint jarg2, uint jarg3, uint jarg4);

  [DllImport("XapianSharp", EntryPoint="CSharp_Remote_Open__SWIG_1")]
  public static extern IntPtr Remote_Open__SWIG_1(string jarg1, uint jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Remote_Open__SWIG_2")]
  public static extern IntPtr Remote_Open__SWIG_2(string jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Remote_OpenWritable__SWIG_0")]
  public static extern IntPtr Remote_OpenWritable__SWIG_0(string jarg1, uint jarg2, uint jarg3, uint jarg4);

  [DllImport("XapianSharp", EntryPoint="CSharp_Remote_OpenWritable__SWIG_1")]
  public static extern IntPtr Remote_OpenWritable__SWIG_1(string jarg1, uint jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Remote_OpenWritable__SWIG_2")]
  public static extern IntPtr Remote_OpenWritable__SWIG_2(string jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Remote_Open__SWIG_3")]
  public static extern IntPtr Remote_Open__SWIG_3(string jarg1, string jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Remote_Open__SWIG_4")]
  public static extern IntPtr Remote_Open__SWIG_4(string jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Remote_OpenWritable__SWIG_3")]
  public static extern IntPtr Remote_OpenWritable__SWIG_3(string jarg1, string jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_Remote_OpenWritable__SWIG_4")]
  public static extern IntPtr Remote_OpenWritable__SWIG_4(string jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_0")]
  public static extern IntPtr new_Query__SWIG_0(string jarg1, uint jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_1")]
  public static extern IntPtr new_Query__SWIG_1(string jarg1, uint jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_2")]
  public static extern IntPtr new_Query__SWIG_2(string jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_3")]
  public static extern IntPtr new_Query__SWIG_3(int jarg1, HandleRef jarg2, HandleRef jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_4")]
  public static extern IntPtr new_Query__SWIG_4(int jarg1, string jarg2, string jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_5")]
  public static extern IntPtr new_Query__SWIG_5(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_6")]
  public static extern IntPtr new_Query__SWIG_6(int jarg1, HandleRef jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_7")]
  public static extern IntPtr new_Query__SWIG_7(int jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_8")]
  public static extern IntPtr new_Query__SWIG_8(int jarg1, HandleRef jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_9")]
  public static extern IntPtr new_Query__SWIG_9(int jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_10")]
  public static extern IntPtr new_Query__SWIG_10(int jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Query__SWIG_11")]
  public static extern IntPtr new_Query__SWIG_11();

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_Query")]
  public static extern void delete_Query(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Query_GetLength")]
  public static extern uint Query_GetLength(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Query_GetTermsBegin")]
  public static extern IntPtr Query_GetTermsBegin(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Query_GetTermsEnd")]
  public static extern IntPtr Query_GetTermsEnd(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Query_Empty")]
  public static extern bool Query_Empty(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Query_IsEmpty")]
  public static extern bool Query_IsEmpty(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Query_GetDescription")]
  public static extern string Query_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Stopper_Apply")]
  public static extern bool Stopper_Apply(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_Stopper")]
  public static extern void delete_Stopper(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Stopper_GetDescription")]
  public static extern string Stopper_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Stopper_GetDescriptionSwigExplicitStopper")]
  public static extern string Stopper_GetDescriptionSwigExplicitStopper(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Stopper")]
  public static extern IntPtr new_Stopper();

  [DllImport("XapianSharp", EntryPoint="CSharp_Stopper_director_connect")]
  public static extern void Stopper_director_connect(HandleRef jarg1, Stopper.SwigDelegateStopper_0 delegate0, Stopper.SwigDelegateStopper_1 delegate1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_SimpleStopper")]
  public static extern IntPtr new_SimpleStopper();

  [DllImport("XapianSharp", EntryPoint="CSharp_SimpleStopper_Add")]
  public static extern void SimpleStopper_Add(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_SimpleStopper_Apply")]
  public static extern bool SimpleStopper_Apply(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_SimpleStopper")]
  public static extern void delete_SimpleStopper(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_SimpleStopper_GetDescription")]
  public static extern string SimpleStopper_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_QueryParser")]
  public static extern IntPtr new_QueryParser();

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_QueryParser")]
  public static extern void delete_QueryParser(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_SetStemmer")]
  public static extern void QueryParser_SetStemmer(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_SetStemmingStrategy")]
  public static extern void QueryParser_SetStemmingStrategy(HandleRef jarg1, int jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_SetStopper__SWIG_0")]
  public static extern void QueryParser_SetStopper__SWIG_0(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_SetStopper__SWIG_1")]
  public static extern void QueryParser_SetStopper__SWIG_1(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_SetDefaultOp")]
  public static extern void QueryParser_SetDefaultOp(HandleRef jarg1, int jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_GetDefaultOp")]
  public static extern int QueryParser_GetDefaultOp(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_SetDatabase")]
  public static extern void QueryParser_SetDatabase(HandleRef jarg1, HandleRef jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_ParseQuery__SWIG_0")]
  public static extern IntPtr QueryParser_ParseQuery__SWIG_0(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_ParseQuery__SWIG_1")]
  public static extern IntPtr QueryParser_ParseQuery__SWIG_1(HandleRef jarg1, string jarg2, uint jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_AddPrefix")]
  public static extern void QueryParser_AddPrefix(HandleRef jarg1, string jarg2, string jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_AddBooleanPrefix")]
  public static extern void QueryParser_AddBooleanPrefix(HandleRef jarg1, string jarg2, string jarg3);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_StopListBegin")]
  public static extern IntPtr QueryParser_StopListBegin(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_StopListEnd")]
  public static extern IntPtr QueryParser_StopListEnd(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_UnstemBegin")]
  public static extern IntPtr QueryParser_UnstemBegin(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_UnstemEnd")]
  public static extern IntPtr QueryParser_UnstemEnd(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_QueryParser_GetDescription")]
  public static extern string QueryParser_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_new_Stem")]
  public static extern IntPtr new_Stem(string jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_delete_Stem")]
  public static extern void delete_Stem(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Stem_Apply")]
  public static extern string Stem_Apply(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Stem_StemWord")]
  public static extern string Stem_StemWord(HandleRef jarg1, string jarg2);

  [DllImport("XapianSharp", EntryPoint="CSharp_Stem_GetDescription")]
  public static extern string Stem_GetDescription(HandleRef jarg1);

  [DllImport("XapianSharp", EntryPoint="CSharp_Stem_GetAvailableLanguages")]
  public static extern string Stem_GetAvailableLanguages();

  [DllImport("XapianSharp", EntryPoint="CSharp_BoolWeightUpcast")]
  public static extern IntPtr BoolWeightUpcast(IntPtr objectRef);

  [DllImport("XapianSharp", EntryPoint="CSharp_BM25WeightUpcast")]
  public static extern IntPtr BM25WeightUpcast(IntPtr objectRef);

  [DllImport("XapianSharp", EntryPoint="CSharp_TradWeightUpcast")]
  public static extern IntPtr TradWeightUpcast(IntPtr objectRef);

  [DllImport("XapianSharp", EntryPoint="CSharp_WritableDatabaseUpcast")]
  public static extern IntPtr WritableDatabaseUpcast(IntPtr objectRef);

  [DllImport("XapianSharp", EntryPoint="CSharp_SimpleStopperUpcast")]
  public static extern IntPtr SimpleStopperUpcast(IntPtr objectRef);
}

}

Generated by  Doxygen 1.6.0   Back to index