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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FreqProxTermsWriterPerField.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 FREQPROXTERMSWRITERPERFIELD_H
8 #define FREQPROXTERMSWRITERPERFIELD_H
9 
11 
12 namespace Lucene
13 {
15  {
16  public:
19 
21 
22  public:
31 
32  public:
33  virtual int32_t getStreamCount();
34  virtual void finish();
35  virtual void skippingLongTerm();
36  virtual int32_t compareTo(LuceneObjectPtr other);
37  void reset();
38  virtual bool start(Collection<FieldablePtr> fields, int32_t count);
39  virtual void start(FieldablePtr field);
40  void writeProx(FreqProxTermsWriterPostingListPtr p, int32_t proxCode);
41  virtual void newTerm(RawPostingListPtr p);
42  virtual void addTerm(RawPostingListPtr p);
43  void abort();
44  };
45 }
46 
47 #endif

clucene.sourceforge.net