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
Classes | Namespaces | Typedefs
OrdFieldSource.cs File Reference

Go to the source code of this file.


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...


package  Lucene.Net.Search.Function


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.