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
ReverseOrdFieldSource.cs File Reference

Go to the source code of this file.

Classes

class  Lucene.Net.Search.Function.ReverseOrdFieldSource
 Expert: obtains the ordinal of the field value from the default Lucene FieldCache using getStringIndex() and reverses the order. 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 of reverse ordinal (rord):
If there were only three field values: "apple","banana","pear"
then rord("apple")=3, rord("banana")=2, ord("pear")=1 WARNING: rord() 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 ReverseOrdFieldSource.cs.

Definition at line 20 of file ReverseOrdFieldSource.cs.