C# 클래스 Lucene.Net.Facet.Taxonomy.Directory.TaxonomyIndexArrays

A ParallelTaxonomyArrays that are initialized from the taxonomy index. @lucene.experimental
상속: ParallelTaxonomyArrays
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
TaxonomyIndexArrays ( IndexReader reader ) : System
TaxonomyIndexArrays ( IndexReader reader, TaxonomyIndexArrays copyFrom ) : System

비공개 메소드들

메소드 설명
Add ( int ordinal, int parentOrdinal ) : TaxonomyIndexArrays

Adds the given ordinal/parent info and returns either a new instance if the underlying array had to grow, or this instance otherwise.

NOTE: you should call this method from a thread-safe code.

ComputeChildrenSiblings ( int first ) : void
InitChildrenSiblings ( TaxonomyIndexArrays copyFrom ) : void
InitParents ( IndexReader reader, int first ) : void

Read the parents of the new categories

TaxonomyIndexArrays ( int parents ) : System

Used by Add(int, int) after the array grew.

메소드 상세

TaxonomyIndexArrays() 공개 메소드

public TaxonomyIndexArrays ( IndexReader reader ) : System
reader IndexReader
리턴 System

TaxonomyIndexArrays() 공개 메소드

public TaxonomyIndexArrays ( IndexReader reader, TaxonomyIndexArrays copyFrom ) : System
reader IndexReader
copyFrom TaxonomyIndexArrays
리턴 System