亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? field.h

?? clucene是c++版的全文檢索引擎,完全移植于lucene,采用 stl 編寫.
?? H
字號:
/*------------------------------------------------------------------------------
* Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
* 
* Distributable under the terms of either the Apache License (Version 2.0) or 
* the GNU Lesser General Public License, as specified in the COPYING file.
------------------------------------------------------------------------------*/
#ifndef _lucene_document_Field_
#define _lucene_document_Field_

#if defined(_LUCENE_PRAGMA_ONCE)
# pragma once
#endif

#include "CLucene/util/Reader.h"
#include "CLucene/debug/pool.h"

CL_NS_DEF(document)
  LUCENE_MP_DEFINE(Field)
  /**
  A field is a section of a Document.  Each field has two parts, a name and a
  value.  Values may be free text, provided as a String or as a Reader, or they
  may be atomic keywords, which are not further processed.  Such keywords may
  be used to represent dates, urls, etc.  Fields are optionally stored in the
  index, so that they may be returned with hits on the document.
  */
	class Field :LUCENE_POOLEDBASE(Field){
	private:
		const TCHAR* _name;
		TCHAR* _stringValue;
		CL_NS(util)::Reader* _readerValue;
		bool _isStored;
		bool _isIndexed;
		bool _isTokenized;
      bool storeTermVector;
      float_t boost;
	public:
		Field(const TCHAR* name, const TCHAR* value, bool store, bool index, bool token, const bool storeTermVector=false);
		Field(const TCHAR* name, CL_NS(util)::Reader* reader, bool store, bool index, bool token, const bool storeTermVector=false);
		Field(const TCHAR* name, CL_NS(util)::Reader* reader, const bool storeTermVector=false);

        ~Field();
        
		/** Constructs a String-valued Field that is not tokenized, but is indexed
      and stored.  Useful for non-text fields, e.g. date or url.  
      */
		static Field* Keyword(const TCHAR* name, const TCHAR* value);

		// Constructs a String-valued Field that is not tokenized nor indexed,
		//	but is stored in the index, for return with hits.
		static Field* UnIndexed(const TCHAR* name, const TCHAR* value);

		//  Constructs a String-valued Field that is tokenized and indexed,
		//	and is stored in the index, for return with hits.  Useful for short text
		//	fields, like "title" or "subject". 
		static Field* Text(const TCHAR* name, const TCHAR* value, const bool storeTermVector=false);

		//  Constructs a String-valued Field that is tokenized and indexed,
		//	but that is not stored in the index.
		static Field* UnStored(const TCHAR* name, const TCHAR* value, const bool storeTermVector=false);

		//  Constructs a Reader-valued Field that is tokenized and indexed, but is
		//	not stored in the index verbatim.  Useful for longer text fields, like
		//	"body".
		static Field* Text(const TCHAR* name, CL_NS(util)::Reader* value, const bool storeTermVector=false);

		//  The name of the field (e.g., "date", "subject", "title", "body", etc.)
		//	as an interned string. 
		const TCHAR* name(); ///<returns reference

		// The value of the field as a String, or null.  If null, the Reader value
		//	is used.  Exactly one of stringValue() and readerValue() must be set. 
		TCHAR* stringValue(); ///<returns reference

		//  The value of the field as a Reader, or null.  If null, the String value
		//	is used.  Exactly one of stringValue() and readerValue() must be set. 
		CL_NS(util)::Reader* readerValue();

		//  True iff the value of the field is to be stored in the index for return
		//	with search hits.  It is an error for this to be true if a field is
		//	Reader-valued. 
		bool isStored();

		//  True iff the value of the field is to be indexed, so that it may be
		//	searched on. 
		bool isIndexed();

		// True iff the value of the field should be tokenized as text prior to
		//	indexing.  Un-tokenized fields are indexed as a single word and may not be
		//	Reader-valued.
		bool isTokenized();

      /** True iff the term or terms used to index this field are stored as a term
      *  vector, available from {@link IndexReader#getTermFreqVector(int32_t,String)}.
      *  These methods do not provide access to the original content of the field,
      *  only to terms used to index it. If the original content must be
      *  preserved, use the <code>stored</code> attribute instead.
      *
      * @see IndexReader#getTermFreqVector(int32_t, String)
      */
      bool isTermVectorStored();

		  /** Returns the boost factor for hits on any field of this document.
		   *
		   * <p>The default value is 1.0.
		   *
		   * <p>Note: this value is not stored directly with the document in the index.
		   * Documents returned from {@link IndexReader#document(int32_t)} and {@link
		   * Hits#doc(int32_t)} may thus not have the same value present as when this field
		   * was indexed.
		   *
		   * @see #setBoost(float_t)
		   */
      float_t getBoost();
      
	   /** Sets the boost factor hits on this field.  This value will be
	   * multiplied into the score of all hits on this this field of this
	   * document.
	   *
	   * <p>The boost is multiplied by {@link Document#getBoost()} of the document
	   * containing this field.  If a document has multiple fields with the same
	   * name, all such values are multiplied together.  This product is then
	   * multipled by the value {@link Similarity#lengthNorm(String,int32_t)}, and
	   * rounded by {@link Similarity#encodeNorm(float_t)} before it is stored in the
	   * index.  One should attempt to ensure that this product does not overflow
	   * the range of that encoding.
	   *
	   * @see Document#setBoost(float_t)
	   * @see Similarity#lengthNorm(String, int32_t)
	   * @see Similarity#encodeNorm(float_t)
	   */
      void setBoost(float_t value);

		// Prints a Field for human consumption.
		TCHAR* toString();

	};
CL_NS_END
#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久99久久久久| jvid福利写真一区二区三区| 夜夜揉揉日日人人青青一国产精品| 一区二区三区四区视频精品免费 | 欧美性大战xxxxx久久久| 欧美人伦禁忌dvd放荡欲情| 久久综合九色综合欧美亚洲| 欧美精品一区二区蜜臀亚洲| 亚洲欧美电影一区二区| 久久国产人妖系列| 在线视频国内一区二区| 精品国产区一区| 伊人婷婷欧美激情| 日韩黄色在线观看| 成人精品国产一区二区4080 | 国产在线播放一区| 色哟哟在线观看一区二区三区| 日韩一区二区三区电影| 国产精品无遮挡| 蜜臀av性久久久久av蜜臀妖精 | 国产精品久久久久久久裸模| 亚洲美女屁股眼交3| 中文字幕一区二区日韩精品绯色 | 色综合欧美在线| 色婷婷综合久久久久中文一区二区| 欧美猛男男办公室激情| 亚洲人123区| 日韩欧美高清在线| 国产亚洲一区二区在线观看| 亚洲激情网站免费观看| 国产成人免费视频网站| 日韩一级大片在线观看| 日韩免费高清视频| 激情久久久久久久久久久久久久久久| 欧美一级久久久| 日韩黄色免费电影| 一本一道久久a久久精品综合蜜臀| 欧美精品久久一区| 视频在线观看国产精品| 在线观看91精品国产入口| 国产精品视频观看| 国产999精品久久| 精品人在线二区三区| 日韩国产在线观看一区| 成人av免费观看| 中文一区二区完整视频在线观看| 国产在线精品一区二区| 久久久欧美精品sm网站| 韩国理伦片一区二区三区在线播放| 欧美一区二区三区喷汁尤物| 中文字幕色av一区二区三区| 国产剧情一区二区三区| 国产欧美一区二区精品性| 国产jizzjizz一区二区| 国产欧美一区二区精品性| 风流少妇一区二区| 亚洲天堂福利av| 欧美日韩成人一区二区| 毛片av中文字幕一区二区| 欧美精三区欧美精三区| 偷拍亚洲欧洲综合| 日韩视频免费观看高清完整版 | 欧美成人video| 久久国产精品第一页| 久久天天做天天爱综合色| 国产乱子轮精品视频| 国产亚洲一区二区在线观看| 丁香六月综合激情| 一区二区三区小说| 欧美精品三级在线观看| 麻豆精品一区二区综合av| 精品福利在线导航| www.亚洲人| 亚洲成av人影院在线观看网| 制服.丝袜.亚洲.中文.综合| 天堂一区二区在线| 久久久精品国产免费观看同学| 成人精品视频.| 亚洲妇女屁股眼交7| 精品免费日韩av| 美腿丝袜一区二区三区| 国产精品传媒入口麻豆| 欧美久久久久免费| 捆绑变态av一区二区三区| 欧美国产一区在线| 欧美日韩在线三区| 国产在线一区二区| 亚洲丝袜自拍清纯另类| 日韩你懂的在线播放| 99精品视频一区| 六月丁香综合在线视频| 中文字幕五月欧美| 欧美日韩不卡在线| www.日韩在线| 久久机这里只有精品| ...av二区三区久久精品| 久久久精品黄色| 国产一区二区电影| 日韩综合一区二区| 一区二区三区日韩在线观看| 国产欧美一区视频| 久久综合久久鬼色| 精品少妇一区二区三区日产乱码| 欧洲一区在线观看| 色婷婷精品久久二区二区蜜臂av| 国产成人综合在线观看| 国内精品国产成人国产三级粉色| 午夜精品久久久久久| 亚洲成人精品影院| 亚洲伊人伊色伊影伊综合网| 亚洲色图制服诱惑 | 日韩情涩欧美日韩视频| 欧美日本在线视频| 欧美日韩1234| 91精品久久久久久久99蜜桃 | 欧美精品第一页| 欧美丰满少妇xxxbbb| 51精品视频一区二区三区| 精品视频免费看| 欧美一区二区三区在线| 日韩视频国产视频| 久久久国产综合精品女国产盗摄| 国产午夜三级一区二区三| 国产日韩av一区二区| 国产精品久久久久一区二区三区 | 欧美极品美女视频| 中文字幕中文乱码欧美一区二区| 亚洲欧洲日韩一区二区三区| 亚洲欧洲综合另类在线| 亚洲成人免费av| 久久99国内精品| 成人性视频网站| 色婷婷亚洲综合| 91精品国产综合久久香蕉的特点| 精品美女一区二区| 国产精品久久久久久久久免费丝袜 | 国产精品资源站在线| 国产aⅴ精品一区二区三区色成熟| 成人免费视频网站在线观看| 91国产成人在线| 91精品国产高清一区二区三区| 久久久久9999亚洲精品| 亚洲欧洲色图综合| 婷婷六月综合网| 国产91精品一区二区| 在线中文字幕一区| 欧美成人一区二区三区片免费 | 国产欧美日韩综合精品一区二区| 中文字幕在线不卡国产视频| 香蕉成人伊视频在线观看| 国产精品资源在线观看| 欧美亚州韩日在线看免费版国语版| 日韩一区二区精品| 亚洲欧美电影一区二区| 九九精品一区二区| 在线亚洲一区二区| 久久午夜免费电影| 一二三四区精品视频| 国产麻豆精品在线| 3d动漫精品啪啪| 亚洲天堂中文字幕| 国产精品91一区二区| 51精品视频一区二区三区| 国产精品看片你懂得| 久久精品久久99精品久久| 91蝌蚪porny九色| 国产午夜精品一区二区三区四区 | 日韩视频一区在线观看| 国产精品福利一区二区| 蜜桃视频在线观看一区| 日本福利一区二区| 中文字幕av不卡| 国产在线精品一区二区不卡了| 精品视频资源站| 成人免费一区二区三区在线观看| 久久99精品视频| 欧美精选午夜久久久乱码6080| 亚洲美女在线国产| 成人国产视频在线观看| 久久在线观看免费| 奇米888四色在线精品| 欧美伊人久久大香线蕉综合69| 中文字幕日韩一区| 成人激情小说乱人伦| 久久久综合九色合综国产精品| 久久精品国产亚洲高清剧情介绍| 在线影视一区二区三区| 亚洲欧美日韩国产综合在线 | 国产a级毛片一区| 精品国产伦一区二区三区观看体验| 亚洲国产成人av| 色综合久久天天| 一区视频在线播放| 97超碰欧美中文字幕| 中文字幕一区在线| 成人短视频下载| 亚洲天堂成人网| 色综合久久久久综合| 亚洲黄色免费网站| 欧美色男人天堂|