Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lucene / include / org / apache / lucene / search / suggest / document / FuzzyCompletionQuery.h
Size: Mime:
#ifndef org_apache_lucene_search_suggest_document_FuzzyCompletionQuery_H
#define org_apache_lucene_search_suggest_document_FuzzyCompletionQuery_H

#include "org/apache/lucene/search/suggest/document/PrefixCompletionQuery.h"

namespace java {
  namespace lang {
    class String;
    class Class;
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace search {
        class IndexSearcher;
        class Weight;
        namespace suggest {
          class BitsProducer;
        }
      }
      namespace analysis {
        class Analyzer;
      }
      namespace index {
        class Term;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace search {
        namespace suggest {
          namespace document {

            class FuzzyCompletionQuery : public ::org::apache::lucene::search::suggest::document::PrefixCompletionQuery {
             public:
              enum {
                mid_init$_071fc63db82643cd,
                mid_init$_28cbe323e3abdd6c,
                mid_init$_77cdcad95882eff7,
                mid_createWeight_68609b1af132dcdc,
                mid_getMaxDeterminizedStates_9135e6328d9d7dfd,
                mid_getMaxEdits_9135e6328d9d7dfd,
                mid_getMinFuzzyLength_9135e6328d9d7dfd,
                mid_getNonFuzzyPrefix_9135e6328d9d7dfd,
                mid_isTranspositions_c20c2fcd6b89d9a9,
                mid_isUnicodeAware_c20c2fcd6b89d9a9,
                mid_toString_b6b89aa915f3be5f,
                max_mid
              };

              static ::java::lang::Class *class$;
              static jmethodID *mids$;
              static bool live$;
              static jclass initializeClass(bool);

              explicit FuzzyCompletionQuery(jobject obj) : ::org::apache::lucene::search::suggest::document::PrefixCompletionQuery(obj) {
                if (obj != NULL && mids$ == NULL)
                  env->getClass(initializeClass);
              }
              FuzzyCompletionQuery(const FuzzyCompletionQuery& obj) : ::org::apache::lucene::search::suggest::document::PrefixCompletionQuery(obj) {}

              static jint DEFAULT_MAX_EDITS;
              static jint DEFAULT_MIN_FUZZY_LENGTH;
              static jint DEFAULT_NON_FUZZY_PREFIX;
              static jboolean DEFAULT_TRANSPOSITIONS;
              static jboolean DEFAULT_UNICODE_AWARE;

              FuzzyCompletionQuery(const ::org::apache::lucene::analysis::Analyzer &, const ::org::apache::lucene::index::Term &);
              FuzzyCompletionQuery(const ::org::apache::lucene::analysis::Analyzer &, const ::org::apache::lucene::index::Term &, const ::org::apache::lucene::search::suggest::BitsProducer &);
              FuzzyCompletionQuery(const ::org::apache::lucene::analysis::Analyzer &, const ::org::apache::lucene::index::Term &, const ::org::apache::lucene::search::suggest::BitsProducer &, jint, jboolean, jint, jint, jboolean, jint);

              ::org::apache::lucene::search::Weight createWeight(const ::org::apache::lucene::search::IndexSearcher &, jboolean, jfloat) const;
              jint getMaxDeterminizedStates() const;
              jint getMaxEdits() const;
              jint getMinFuzzyLength() const;
              jint getNonFuzzyPrefix() const;
              jboolean isTranspositions() const;
              jboolean isUnicodeAware() const;
              ::java::lang::String toString(const ::java::lang::String &) const;
            };
          }
        }
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace search {
        namespace suggest {
          namespace document {
            extern PyType_Def PY_TYPE_DEF(FuzzyCompletionQuery);
            extern PyTypeObject *PY_TYPE(FuzzyCompletionQuery);

            class t_FuzzyCompletionQuery {
            public:
              PyObject_HEAD
              FuzzyCompletionQuery object;
              static PyObject *wrap_Object(const FuzzyCompletionQuery&);
              static PyObject *wrap_jobject(const jobject&);
              static void install(PyObject *module);
              static void initialize(PyObject *module);
            };
          }
        }
      }
    }
  }
}

#endif