当前位置: 首页>>代码示例>>C#>>正文


C# Search.FieldCache类代码示例

本文整理汇总了C#中Lucene.Net.Search.FieldCache的典型用法代码示例。如果您正苦于以下问题:C# FieldCache类的具体用法?C# FieldCache怎么用?C# FieldCache使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


FieldCache类属于Lucene.Net.Search命名空间,在下文中一共展示了FieldCache类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: EnumFieldSource

 public EnumFieldSource(string field, FieldCache.IIntParser parser, IDictionary<int?, string> enumIntToStringMap, IDictionary<string, int?> enumStringToIntMap)
     : base(field)
 {
     this.parser = parser;
     this.enumIntToStringMap = enumIntToStringMap;
     this.enumStringToIntMap = enumStringToIntMap;
 }
开发者ID:Cefa68000,项目名称:lucenenet,代码行数:7,代码来源:EnumFieldSource.cs

示例2: FloatDocValuesAnonymousInnerClassHelper

 public FloatDocValuesAnonymousInnerClassHelper(FloatFieldSource outerInstance, FloatFieldSource @this, FieldCache.Floats arr, Bits valid)
     : base(@this)
 {
     this.outerInstance = outerInstance;
     this.arr = arr;
     this.valid = valid;
 }
开发者ID:paulirwin,项目名称:lucene.net,代码行数:7,代码来源:FloatFieldSource.cs

示例3: DoubleDocValuesAnonymousInnerClassHelper

 public DoubleDocValuesAnonymousInnerClassHelper(DoubleFieldSource outerInstance, DoubleFieldSource @this, FieldCache.Doubles arr, Bits valid)
     : base(@this)
 {
     this.outerInstance = outerInstance;
     this.arr = arr;
     this.valid = valid;
 }
开发者ID:paulirwin,项目名称:lucene.net,代码行数:7,代码来源:DoubleFieldSource.cs

示例4: CustomCache

 internal CustomCache(FieldCache wrapper)
     : base(wrapper)
 {
 }
开发者ID:andylaudotnet,项目名称:StockFoo,代码行数:4,代码来源:FieldCacheImpl.cs

示例5: DoubleCache

 internal DoubleCache(FieldCache wrapper):base(wrapper)
 {
 }
开发者ID:Nangal,项目名称:lucene.net,代码行数:3,代码来源:FieldCacheImpl.cs

示例6: CheckSanity

 /// <summary>
 /// Quick and dirty convenience method </summary>
 /// <seealso cref= #check </seealso>
 public static Insanity[] CheckSanity(FieldCache cache)
 {
     return CheckSanity(cache.CacheEntries);
 }
开发者ID:joyanta,项目名称:lucene.net,代码行数:7,代码来源:FieldCacheSanityChecker.cs

示例7: ShortCache

 internal ShortCache(FieldCache wrapper):base(wrapper)
 {
 }
开发者ID:Nangal,项目名称:lucene.net,代码行数:3,代码来源:FieldCacheImpl.cs

示例8: FloatCache

 internal FloatCache(FieldCache wrapper):base(wrapper)
 {
 }
开发者ID:Nangal,项目名称:lucene.net,代码行数:3,代码来源:FieldCacheImpl.cs

示例9: FieldCache_Fields

		static FieldCache_Fields()
		{
			DEFAULT = new FieldCacheImpl();
			DEFAULT_BYTE_PARSER = new AnonymousClassByteParser();
			DEFAULT_SHORT_PARSER = new AnonymousClassShortParser();
			DEFAULT_INT_PARSER = new AnonymousClassIntParser();
			DEFAULT_FLOAT_PARSER = new AnonymousClassFloatParser();
			DEFAULT_LONG_PARSER = new AnonymousClassLongParser();
			DEFAULT_DOUBLE_PARSER = new AnonymousClassDoubleParser();
			NUMERIC_UTILS_INT_PARSER = new AnonymousClassIntParser1();
			NUMERIC_UTILS_FLOAT_PARSER = new AnonymousClassFloatParser1();
			NUMERIC_UTILS_LONG_PARSER = new AnonymousClassLongParser1();
			NUMERIC_UTILS_DOUBLE_PARSER = new AnonymousClassDoubleParser1();
		}
开发者ID:Mpdreamz,项目名称:lucene.net,代码行数:14,代码来源:FieldCache.cs

示例10: PurgeFieldCache

 /// <summary> Forcible purges all cache entries from the FieldCache.
 /// <p/>
 /// This method will be called by tearDown to clean up FieldCache.DEFAULT.
 /// If a (poorly written) test has some expectation that the FieldCache
 /// will persist across test methods (ie: a static IndexReader) this 
 /// method can be overridden to do nothing.
 /// <p/>
 /// </summary>
 /// <seealso cref="FieldCache.PurgeAllCaches()">
 /// </seealso>
 protected internal virtual void PurgeFieldCache(FieldCache fc)
 {
     fc.PurgeAllCaches();
 }
开发者ID:kiwipiet,项目名称:AddressFinder,代码行数:14,代码来源:SynonymFilter_Tests.cs

示例11: SimScorerAnonymousInnerClassHelper

 public SimScorerAnonymousInnerClassHelper(BoostingSimilarity outerInstance, SimScorer sub, FieldCache.Floats values)
 {
     this.OuterInstance = outerInstance;
     this.Sub = sub;
     this.Values = values;
 }
开发者ID:Cefa68000,项目名称:lucenenet,代码行数:6,代码来源:TestDocValuesScoring.cs

示例12: LongDocValuesAnonymousInnerClassHelper

 public LongDocValuesAnonymousInnerClassHelper(LongFieldSource outerInstance, LongFieldSource @this, FieldCache.Longs arr, Bits valid)
     : base(@this)
 {
     this.outerInstance = outerInstance;
     this.arr = arr;
     this.valid = valid;
 }
开发者ID:Cefa68000,项目名称:lucenenet,代码行数:7,代码来源:LongFieldSource.cs

示例13: FieldCache_Fields

		static FieldCache_Fields()
		{
			DEFAULT = new FieldCacheImpl();
		}
开发者ID:zweib730,项目名称:beagrep,代码行数:4,代码来源:FieldCache.cs

示例14: ShortFieldSource

 public ShortFieldSource(string field, FieldCache.IShortParser parser)
     : base(field)
 {
     this.parser = parser;
 }
开发者ID:Cefa68000,项目名称:lucenenet,代码行数:5,代码来源:ShortFieldSource.cs

示例15: DoubleFieldSource

 public DoubleFieldSource(string field, FieldCache.IDoubleParser parser)
     : base(field)
 {
     this.parser = parser;
 }
开发者ID:Cefa68000,项目名称:lucenenet,代码行数:5,代码来源:DoubleFieldSource.cs


注:本文中的Lucene.Net.Search.FieldCache类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。