Class Facets
Common base class for all facets implementations.
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.Facet.dll
Syntax
public abstract class Facets : IDisposable, IIdentifiableSurrogate
Constructors
Name | Description |
---|---|
Facets() | Default constructor. |
Properties
Name | Description |
---|---|
AllowPartialResutls | Set to false to return an overall failure if the request would produce partial results. Set to true, which will allow partial results in the case of partial cluster. |
Methods
Name | Description |
---|---|
Dispose() | |
GetAllDims(Int32) | Returns topN labels for any dimension that had hits, sorted by the number of hits that dimension matched; this is used for "sparse" faceting, where many different dimensions were indexed, for example depending on the type of document. |
GetSpecificValue(String, String[]) | Return the count or value for a specific path. Returns -1 if this path doesn't exist, else the count. |
GetSurrogateId() | |
GetTopChildren(Int32, String, String[]) | Returns the topN child labels under the specified path. Returns null if the specified path doesn't exist or if this dimension was never seen. |
Initialize<T>(Object[], FacetsCollector) | |
InitializInternal<T>(String, IRPCTransport) |