Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_sandbox_queries_FuzzyLikeThisQuery_H
#define org_apache_lucene_sandbox_queries_FuzzyLikeThisQuery_H
#include "org/apache/lucene/search/Query.h"
namespace java {
namespace lang {
class String;
class Class;
class Object;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
class Analyzer;
}
namespace index {
class IndexReader;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace sandbox {
namespace queries {
class FuzzyLikeThisQuery : public ::org::apache::lucene::search::Query {
public:
enum {
mid_init$_dc1ae35d34dda7ce,
mid_addTerms_8c7488a4864bb0f6,
mid_equals_ac708f0101821708,
mid_hashCode_9135e6328d9d7dfd,
mid_isIgnoreTF_c20c2fcd6b89d9a9,
mid_rewrite_ec4c0ff28b6bc68b,
mid_setIgnoreTF_8a3e0c1a306942cb,
mid_toString_b6b89aa915f3be5f,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit FuzzyLikeThisQuery(jobject obj) : ::org::apache::lucene::search::Query(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
FuzzyLikeThisQuery(const FuzzyLikeThisQuery& obj) : ::org::apache::lucene::search::Query(obj) {}
FuzzyLikeThisQuery(jint, const ::org::apache::lucene::analysis::Analyzer &);
void addTerms(const ::java::lang::String &, const ::java::lang::String &, jfloat, jint) const;
jboolean equals(const ::java::lang::Object &) const;
jint hashCode() const;
jboolean isIgnoreTF() const;
::org::apache::lucene::search::Query rewrite(const ::org::apache::lucene::index::IndexReader &) const;
void setIgnoreTF(jboolean) const;
::java::lang::String toString(const ::java::lang::String &) const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace sandbox {
namespace queries {
extern PyType_Def PY_TYPE_DEF(FuzzyLikeThisQuery);
extern PyTypeObject *PY_TYPE(FuzzyLikeThisQuery);
class t_FuzzyLikeThisQuery {
public:
PyObject_HEAD
FuzzyLikeThisQuery object;
static PyObject *wrap_Object(const FuzzyLikeThisQuery&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif