Lucene++ - a full-featured, c++ search engine
API Documentation


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
NormsWriterPerField.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2011 Alan Wright. All rights reserved.
3 // Distributable under the terms of either the Apache License (Version 2.0)
4 // or the GNU Lesser General Public License.
6 
7 #ifndef NORMSWRITERPERFIELD_H
8 #define NORMSWRITERPERFIELD_H
9 
11 
12 namespace Lucene
13 {
17  {
18  public:
20  virtual ~NormsWriterPerField();
21 
23 
24  public:
28 
29  // Holds all docID/norm pairs we've seen
31  ByteArray norms;
32  int32_t upto;
33 
35 
36  public:
37  void reset();
38  virtual void abort();
39 
41  virtual int32_t compareTo(LuceneObjectPtr other);
42 
43  virtual void finish();
44  };
45 }
46 
47 #endif

clucene.sourceforge.net