Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | Properties | List of all members
Lucene.Net.Index.TermVectorOffsetInfo Struct Reference

The TermVectorOffsetInfo class holds information pertaining to a Term in a Lucene.Net.Index.TermPositionVector's offset information. This offset information is the character offset as set during the Analysis phase (and thus may not be the actual offset in the original content). More...

Inherits IEquatable< TermVectorOffsetInfo >.

Public Member Functions

 TermVectorOffsetInfo (int startOffset, int endOffset)
 
bool Equals (TermVectorOffsetInfo other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator== (TermVectorOffsetInfo left, object right)
 
static bool operator!= (TermVectorOffsetInfo left, object right)
 

Static Public Attributes

static readonly
TermVectorOffsetInfo[] 
EMPTY_OFFSET_INFO = new TermVectorOffsetInfo[0]
 Convenience declaration when creating a Lucene.Net.Index.TermPositionVector that stores only position information.
 
static readonly
TermVectorOffsetInfo 
Null = new TermVectorOffsetInfo(int.MinValue, int.MinValue)
 

Properties

int EndOffset [get, set]
 The accessor for the ending offset for the term
 
int StartOffset [get, set]
 The accessor for the starting offset of the term.
 

Detailed Description

The TermVectorOffsetInfo class holds information pertaining to a Term in a Lucene.Net.Index.TermPositionVector's offset information. This offset information is the character offset as set during the Analysis phase (and thus may not be the actual offset in the original content).

Definition at line 30 of file TermVectorOffsetInfo.cs.

Constructor & Destructor Documentation

Lucene.Net.Index.TermVectorOffsetInfo.TermVectorOffsetInfo ( int  startOffset,
int  endOffset 
)

Definition at line 46 of file TermVectorOffsetInfo.cs.

Member Function Documentation

bool Lucene.Net.Index.TermVectorOffsetInfo.Equals ( TermVectorOffsetInfo  other)

Definition at line 101 of file TermVectorOffsetInfo.cs.

override bool Lucene.Net.Index.TermVectorOffsetInfo.Equals ( object  obj)

Definition at line 106 of file TermVectorOffsetInfo.cs.

override int Lucene.Net.Index.TermVectorOffsetInfo.GetHashCode ( )

Definition at line 116 of file TermVectorOffsetInfo.cs.

static bool Lucene.Net.Index.TermVectorOffsetInfo.operator!= ( TermVectorOffsetInfo  left,
object  right 
)
static

Definition at line 129 of file TermVectorOffsetInfo.cs.

static bool Lucene.Net.Index.TermVectorOffsetInfo.operator== ( TermVectorOffsetInfo  left,
object  right 
)
static

Definition at line 124 of file TermVectorOffsetInfo.cs.

Member Data Documentation

readonly TermVectorOffsetInfo [] Lucene.Net.Index.TermVectorOffsetInfo.EMPTY_OFFSET_INFO = new TermVectorOffsetInfo[0]
static

Convenience declaration when creating a Lucene.Net.Index.TermPositionVector that stores only position information.

Definition at line 34 of file TermVectorOffsetInfo.cs.

readonly TermVectorOffsetInfo Lucene.Net.Index.TermVectorOffsetInfo.Null = new TermVectorOffsetInfo(int.MinValue, int.MinValue)
static

Definition at line 37 of file TermVectorOffsetInfo.cs.

Property Documentation

int Lucene.Net.Index.TermVectorOffsetInfo.EndOffset
getset

The accessor for the ending offset for the term

The offset

Definition at line 55 of file TermVectorOffsetInfo.cs.

int Lucene.Net.Index.TermVectorOffsetInfo.StartOffset
getset

The accessor for the starting offset of the term.

The offset

Definition at line 65 of file TermVectorOffsetInfo.cs.


The documentation for this struct was generated from the following file: