Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_queryparser_complexPhrase_ComplexPhraseQueryParser_H
#define org_apache_lucene_queryparser_complexPhrase_ComplexPhraseQueryParser_H
#include "org/apache/lucene/queryparser/classic/QueryParser.h"
namespace java {
namespace lang {
class String;
class Class;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
class Analyzer;
}
namespace queryparser {
namespace classic {
class ParseException;
}
}
namespace search {
class Query;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace queryparser {
namespace complexPhrase {
class ComplexPhraseQueryParser : public ::org::apache::lucene::queryparser::classic::QueryParser {
public:
enum {
mid_init$_a71c87438d29413a,
mid_parse_c620474044767daf,
mid_setInOrder_8a3e0c1a306942cb,
mid_getFieldQuery_53405249fd5e3abb,
mid_getFuzzyQuery_0511e3a559f37183,
mid_getWildcardQuery_f3d939833b489361,
mid_getRangeQuery_c97e2e5f1b64848e,
mid_newTermQuery_866d175ddfaa467a,
mid_newRangeQuery_c97e2e5f1b64848e,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit ComplexPhraseQueryParser(jobject obj) : ::org::apache::lucene::queryparser::classic::QueryParser(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
ComplexPhraseQueryParser(const ComplexPhraseQueryParser& obj) : ::org::apache::lucene::queryparser::classic::QueryParser(obj) {}
ComplexPhraseQueryParser(const ::java::lang::String &, const ::org::apache::lucene::analysis::Analyzer &);
::org::apache::lucene::search::Query parse(const ::java::lang::String &) const;
void setInOrder(jboolean) const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace queryparser {
namespace complexPhrase {
extern PyType_Def PY_TYPE_DEF(ComplexPhraseQueryParser);
extern PyTypeObject *PY_TYPE(ComplexPhraseQueryParser);
class t_ComplexPhraseQueryParser {
public:
PyObject_HEAD
ComplexPhraseQueryParser object;
static PyObject *wrap_Object(const ComplexPhraseQueryParser&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif