public GetOffsetGap ( string fieldName ) : int | ||
fieldName | string | the field just indexed |
리턴 | int |
/// <summary> Return the offsetGap from the analyzer assigned to field </summary> public override int GetOffsetGap(Lucene.Net.Documents.Fieldable field) { Analyzer analyzer = (Analyzer)analyzerMap[field.Name()]; if (analyzer == null) { analyzer = defaultAnalyzer; } return(analyzer.GetOffsetGap(field)); }
/// <summary> Return the offsetGap from the analyzer assigned to field </summary> public override int GetOffsetGap(Documents.IFieldable field) { Analyzer analyzer = analyzerMap[field.Name] ?? defaultAnalyzer; return(analyzer.GetOffsetGap(field)); }