• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Search.FieldCache类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: FloatFieldSource

 public FloatFieldSource(string field, FieldCache.IFloatParser parser)
     : base(field)
 {
     this.parser = parser;
 }
开发者ID:paulirwin,项目名称:lucene.net,代码行数:5,代码来源:FloatFieldSource.cs


示例17: Cache

 internal Cache(FieldCache wrapper)
 {
     this.wrapper = wrapper;
 }
开发者ID:Nangal,项目名称:lucene.net,代码行数:4,代码来源:FieldCacheImpl.cs


示例18: LongFieldSource

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


示例19: IntDocValuesAnonymousInnerClassHelper

 public IntDocValuesAnonymousInnerClassHelper(IntFieldSource outerInstance, IntFieldSource @this, FieldCache.Ints arr, Bits valid)
     : base(@this)
 {
     this.outerInstance = outerInstance;
     this.arr = arr;
     this.valid = valid;
     val = new MutableValueInt();
 }
开发者ID:Cefa68000,项目名称:lucenenet,代码行数:8,代码来源:IntFieldSource.cs


示例20: CustomScoreProviderAnonymousInnerClassHelper

 public CustomScoreProviderAnonymousInnerClassHelper(CustomExternalQuery outerInstance, AtomicReaderContext context, FieldCache.Ints values)
     : base(context)
 {
     this.outerInstance = outerInstance;
     this.context = context;
     this.values = values;
 }
开发者ID:Cefa68000,项目名称:lucenenet,代码行数:7,代码来源:TestCustomScoreQuery.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Search.Filter类代码示例发布时间:2022-05-26
下一篇:
C# Search.Explanation类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap