Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Classes | Namespaces | Typedefs
OrdFieldSource.cs File Reference

Go to the source code of this file.

Classes

class  Lucene.Net.Search.Function.OrdFieldSource
 Expert: obtains the ordinal of the field value from the default Lucene Fieldcache using getStringIndex(). The native lucene index order is used to assign an ordinal value for each field value. Field values (terms) are lexicographically ordered by unicode value, and numbered starting at 1. Example:
If there were only three field values: "apple","banana","pear"
then ord("apple")=1, ord("banana")=2, ord("pear")=3 WARNING: ord() depends on the position in an index and can thus change when other documents are inserted or deleted, or if a MultiSearcher is used. More...
 

Namespaces

package  Lucene.Net.Search.Function
 

Typedefs

using IndexReader = Lucene.Net.Index.IndexReader
 
using FieldCache = Lucene.Net.Search.FieldCache
 

Typedef Documentation

Definition at line 21 of file OrdFieldSource.cs.

Definition at line 20 of file OrdFieldSource.cs.