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 
2 // Copyright (c) 2009-2014 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 public:
18  NormsWriterPerField(const DocInverterPerFieldPtr& docInverterPerField, const NormsWriterPerThreadPtr& perThread, const FieldInfoPtr& fieldInfo);
19  virtual ~NormsWriterPerField();
20 
22 
23 public:
27 
28  // Holds all docID/norm pairs we've seen
30  ByteArray norms;
31  int32_t upto;
32 
34 
35 public:
36  void reset();
37  virtual void abort();
38 
40  virtual int32_t compareTo(const LuceneObjectPtr& other);
41 
42  virtual void finish();
43 };
44 
45 }
46 
47 #endif

clucene.sourceforge.net