Try Playground
Show / Hide Table of Contents

Class Trie

A Trie is used to store a dictionary of words and their stems.

Actually, what is stored are words with their respective patch commands. A trie can be termed forward (keys read from left to right) or backward (keys read from right to left). This property will vary depending on the language for which a Trie is constructed.

Inheritance
System.Object
Trie
MultiTrie
Assembly: Lucene.Net.Analysis.Stempel.dll
Syntax
public class Trie : object

Constructors

Name Description
Trie(IDataInput)

Constructor for the Trie object.

Trie(Boolean)

Constructor for the Trie object.

Trie(Boolean, Int32, IList<String>, IList<Row>)

Constructor for the Trie object.

Methods

Name Description
Add(String, String)

Add the given key associated with the given patch command. If either parameter is null this method will return without executing.

GetAll(String)

Gets the all attribute of the Trie object

GetCells()

Return the number of cells in this Trie object.

GetCellsPnt()

Gets the cellsPnt attribute of the Trie object

GetCellsVal()

Gets the cellsVal attribute of the Trie object

GetFully(String)

Return the element that is stored in a cell associated with the given key.

GetLastOnPath(String)

Return the element that is stored as last on a path associated with the given key.

PrintInfo(TextWriter, String)

writes debugging info to the printstream

Reduce(Reduce)

Remove empty rows from the given Trie and return the newly reduced Trie.

Store(IDataOutput)

Write this Trie to the given output stream.

Extension Methods

Number.IsNumber(Object)
Number.IsNumber(Object)
Number.IsNumber(Object)
Number.IsNumber(Object)
SystemTypesHelpers.toString(Object)
SystemTypesHelpers.equals(Object, Object)
Number.IsNumber(Object)
Number.IsNumber(Object)

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top