FirteX-高性能全文索引和检索平台

API Documentation


首页 | 名字空间列表 | 类继承关系 | 组合类型列表 | $(BL\录(B | 文件列表 | 名字空间成员 | 组合类型成员 | 文件成员

FieldFactory.h

浏览该文件的文档。
00001 //
00002 // Copyright(C) 2005--2006 Institute of Computing Tech, Chinese Academy of Sciences. 
00003 // All rights reserved.
00004 // This file is part of FirteX (www.firtex.org)
00005 //
00006 // Use of the FirteX is subject to the terms of the software license set forth in 
00007 // the LICENSE file included with this software, and also available at
00008 // http://www.firtex.org/license.html
00009 //
00010 // Author       : 郭瑞杰(GuoRuijie)
00011 // Email        : ruijieguo@software.ict.ac.cn
00012 // Created      : 2006/6/10
00013 //
00014 #ifndef _FIELDFACTORY_H
00015 #define _FIELDFACTORY_H
00016 #include "../utility/StdHeader.h"
00017 #include "WordFieldIndexer.h"
00018 #include "FieldMerger.h"
00019 #include "TermReader.h"
00020 #include "TermSequenceVector.h"
00021 #include "TermFreqVector.h"
00022 #include "TermPositionVector.h"
00023 #include "../document/Field.h"
00024 using namespace firtex::document;
00025 
00026 namespace firtex
00027 {
00028         namespace index
00029         {
00030                 class CFieldFactory
00031                 {
00032                 public:
00033                         CFieldFactory(void);
00034                         ~CFieldFactory(void);
00035                 public:
00036                         static CFieldIndexer*   createFieldIndexer(FieldType fieldType,CPosMemCache* pMemCache);
00037                         static CFieldMerger*    createFieldMerger(FieldType fieldType);
00038                         static CTermReader*             createFieldTermReader(FieldType fieldType);
00039 
00040                         static CTermSequenceVector*     createTermSequenceVector(FieldType fieldType);
00041                         static CTermFreqVector*         createTermFreqVector(FieldType fieldType);
00042                         static CTermPositionVector*     createTermPositionVector(FieldType fieldType);
00043                 };
00044         }
00045 }
00046 
00047 #endif

http://www.firtex.org http://www.sourceforge.net/projects/firtex