Class CollationTestBase
Base test class for testing Unicode collation.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net.TestFramework.dll
Syntax
public abstract class CollationTestBase : LuceneTestCase
Fields
| Improve this Doc View Sourcem_firstRangeBeginningOriginal
Declaration
protected string m_firstRangeBeginningOriginal
Field Value
Type | Description |
---|---|
System.String |
m_firstRangeEndOriginal
Declaration
protected string m_firstRangeEndOriginal
Field Value
Type | Description |
---|---|
System.String |
m_secondRangeBeginningOriginal
Declaration
protected string m_secondRangeBeginningOriginal
Field Value
Type | Description |
---|---|
System.String |
m_secondRangeEndOriginal
Declaration
protected string m_secondRangeEndOriginal
Field Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAssertThreadSafe(Analyzer)
Declaration
public virtual void AssertThreadSafe(Analyzer analyzer)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Analysis.Analyzer | analyzer |
EncodeCollationKey(Byte[])
Convenience method to perform the same function as CollationKeyFilter.
Declaration
[Obsolete("only for testing deprecated filters")]
protected virtual string EncodeCollationKey(byte[] keyBits)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | keyBits | the result from
|
Returns
Type | Description |
---|---|
System.String | The encoded collation key for the original string. |
TestCollationKeySort(Analyzer, Analyzer, Analyzer, Analyzer, String, String, String, String)
Test using various international locales with accented characters (which sort differently depending on locale).
Declaration
public virtual void TestCollationKeySort(Analyzer usAnalyzer, Analyzer franceAnalyzer, Analyzer swedenAnalyzer, Analyzer denmarkAnalyzer, string usResult, string frResult, string svResult, string dkResult)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Analysis.Analyzer | usAnalyzer | |
Lucene.Net.Analysis.Analyzer | franceAnalyzer | |
Lucene.Net.Analysis.Analyzer | swedenAnalyzer | |
Lucene.Net.Analysis.Analyzer | denmarkAnalyzer | |
System.String | usResult | |
System.String | frResult | |
System.String | svResult | |
System.String | dkResult |
TestFarsiRangeFilterCollating(Analyzer, BytesRef, BytesRef, BytesRef, BytesRef)
Declaration
public virtual void TestFarsiRangeFilterCollating(Analyzer analyzer, BytesRef firstBeg, BytesRef firstEnd, BytesRef secondBeg, BytesRef secondEnd)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Analysis.Analyzer | analyzer | |
Lucene.Net.Util.BytesRef | firstBeg | |
Lucene.Net.Util.BytesRef | firstEnd | |
Lucene.Net.Util.BytesRef | secondBeg | |
Lucene.Net.Util.BytesRef | secondEnd |
TestFarsiRangeQueryCollating(Analyzer, BytesRef, BytesRef, BytesRef, BytesRef)
Declaration
public virtual void TestFarsiRangeQueryCollating(Analyzer analyzer, BytesRef firstBeg, BytesRef firstEnd, BytesRef secondBeg, BytesRef secondEnd)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Analysis.Analyzer | analyzer | |
Lucene.Net.Util.BytesRef | firstBeg | |
Lucene.Net.Util.BytesRef | firstEnd | |
Lucene.Net.Util.BytesRef | secondBeg | |
Lucene.Net.Util.BytesRef | secondEnd |
TestFarsiTermRangeQuery(Analyzer, BytesRef, BytesRef, BytesRef, BytesRef)
Declaration
public virtual void TestFarsiTermRangeQuery(Analyzer analyzer, BytesRef firstBeg, BytesRef firstEnd, BytesRef secondBeg, BytesRef secondEnd)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Analysis.Analyzer | analyzer | |
Lucene.Net.Util.BytesRef | firstBeg | |
Lucene.Net.Util.BytesRef | firstEnd | |
Lucene.Net.Util.BytesRef | secondBeg | |
Lucene.Net.Util.BytesRef | secondEnd |