本文整理汇总了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;
}
示例2: FloatDocValuesAnonymousInnerClassHelper
public FloatDocValuesAnonymousInnerClassHelper(FloatFieldSource outerInstance, FloatFieldSource @this, FieldCache.Floats arr, Bits valid)
: base(@this)
{
this.outerInstance = outerInstance;
this.arr = arr;
this.valid = valid;
}
示例3: DoubleDocValuesAnonymousInnerClassHelper
public DoubleDocValuesAnonymousInnerClassHelper(DoubleFieldSource outerInstance, DoubleFieldSource @this, FieldCache.Doubles arr, Bits valid)
: base(@this)
{
this.outerInstance = outerInstance;
this.arr = arr;
this.valid = valid;
}
示例4: CustomCache
internal CustomCache(FieldCache wrapper)
: base(wrapper)
{
}
示例5: DoubleCache
internal DoubleCache(FieldCache wrapper):base(wrapper)
{
}
示例6: CheckSanity
/// <summary>
/// Quick and dirty convenience method </summary>
/// <seealso cref= #check </seealso>
public static Insanity[] CheckSanity(FieldCache cache)
{
return CheckSanity(cache.CacheEntries);
}
示例7: ShortCache
internal ShortCache(FieldCache wrapper):base(wrapper)
{
}
示例8: FloatCache
internal FloatCache(FieldCache wrapper):base(wrapper)
{
}
示例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();
}
示例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();
}
示例11: SimScorerAnonymousInnerClassHelper
public SimScorerAnonymousInnerClassHelper(BoostingSimilarity outerInstance, SimScorer sub, FieldCache.Floats values)
{
this.OuterInstance = outerInstance;
this.Sub = sub;
this.Values = values;
}
示例12: LongDocValuesAnonymousInnerClassHelper
public LongDocValuesAnonymousInnerClassHelper(LongFieldSource outerInstance, LongFieldSource @this, FieldCache.Longs arr, Bits valid)
: base(@this)
{
this.outerInstance = outerInstance;
this.arr = arr;
this.valid = valid;
}
示例13: FieldCache_Fields
static FieldCache_Fields()
{
DEFAULT = new FieldCacheImpl();
}
示例14: ShortFieldSource
public ShortFieldSource(string field, FieldCache.IShortParser parser)
: base(field)
{
this.parser = parser;
}
示例15: DoubleFieldSource
public DoubleFieldSource(string field, FieldCache.IDoubleParser parser)
: base(field)
{
this.parser = parser;
}