CLucene - a full-featured, c++ search engine
API Documentation
00001 /*------------------------------------------------------------------------------ 00002 * Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team 00003 * 00004 * Distributable under the terms of either the Apache License (Version 2.0) or 00005 * the GNU Lesser General Public License, as specified in the COPYING file. 00006 ------------------------------------------------------------------------------*/ 00007 #ifndef _lucene_search_FieldDoc_ 00008 #define _lucene_search_FieldDoc_ 00009 00010 #include "SearchHeader.h" 00011 00012 CL_NS_DEF(search) 00013 00014 00030 class FieldDoc: LUCENE_BASE { 00031 public: 00032 //FieldDoc did inherit from ScoreDoc, but now we make the scoredoc a member 00033 struct ScoreDoc scoreDoc; 00034 00042 CL_NS(util)::Comparable** fields; 00043 00045 FieldDoc (int32_t doc, float_t score); 00047 FieldDoc (int32_t doc, float_t score, CL_NS(util)::Comparable** fields); 00048 ~FieldDoc(); 00049 }; 00050 00051 CL_NS_END 00052 #endif