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 / CompletionWeight.h
Size: Mime:
#ifndef org_apache_lucene_search_suggest_document_CompletionWeight_H
#define org_apache_lucene_search_suggest_document_CompletionWeight_H

#include "org/apache/lucene/search/Weight.h"

namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        namespace automaton {
          class Automaton;
        }
      }
      namespace search {
        class BulkScorer;
        namespace suggest {
          namespace document {
            class CompletionQuery;
          }
        }
        class Explanation;
        class Scorer;
      }
      namespace index {
        class Term;
        class LeafReaderContext;
      }
    }
  }
}
namespace java {
  namespace lang {
    class Class;
  }
  namespace util {
    class Set;
  }
  namespace io {
    class IOException;
  }
}
template<class T> class JArray;

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

            class CompletionWeight : public ::org::apache::lucene::search::Weight {
             public:
              enum {
                mid_init$_039ae2d167d2ec08,
                mid_bulkScorer_4685f72d27d645cd,
                mid_explain_00326a01ae1a08db,
                mid_extractTerms_886840acb024c40a,
                mid_getAutomaton_70e7c068824ad99b,
                mid_isCacheable_6d46effbba8f03d8,
                mid_scorer_96e067fa841745b4,
                mid_context_10ee7ebcc8337321,
                mid_boost_2d3e9e78eeb8f24f,
                mid_setNextMatch_4c80ac66397b26a6,
                max_mid
              };

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

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

              CompletionWeight(const ::org::apache::lucene::search::suggest::document::CompletionQuery &, const ::org::apache::lucene::util::automaton::Automaton &);

              ::org::apache::lucene::search::BulkScorer bulkScorer(const ::org::apache::lucene::index::LeafReaderContext &) const;
              ::org::apache::lucene::search::Explanation explain(const ::org::apache::lucene::index::LeafReaderContext &, jint) const;
              void extractTerms(const ::java::util::Set &) const;
              ::org::apache::lucene::util::automaton::Automaton getAutomaton() const;
              jboolean isCacheable(const ::org::apache::lucene::index::LeafReaderContext &) const;
              ::org::apache::lucene::search::Scorer scorer(const ::org::apache::lucene::index::LeafReaderContext &) const;
            };
          }
        }
      }
    }
  }
}

#include <Python.h>

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

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

#endif