Try Playground
Show / Hide Table of Contents

Class Diff

The Diff object generates a patch string.

A patch string is actually a command to a stemmer telling it how to reduce a word to its root. For example, to reduce the word teacher to its root teach the patch string Db would be generated. This command tells the stemmer to delete the last 2 characters from the word teacher to reach the stem (the patch commands are applied starting from the last character in order to save

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

Constructors

Name Description
Diff()

Constructor for the Diff object.

Diff(Int32, Int32, Int32, Int32)

Constructor for the Diff object

Methods

Name Description
Apply(StringBuilder, String)

Apply the given patch string diff to the given string dest

Exec(String, String)

Construct a patch string that transforms a to b.

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)
In This Article
  • Constructors
  • Methods
  • Extension Methods

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 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top