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
Public Member Functions | List of all members
Lucene.Net.Search.FieldComparatorSource Class Referenceabstract

Provides a FieldComparator for custom field sorting. More...

Public Member Functions

abstract FieldComparator NewComparator (System.String fieldname, int numHits, int sortPos, bool reversed)
 Creates a comparator for the field in the given index.
 

Detailed Description

Provides a FieldComparator for custom field sorting.

NOTE: This API is experimental and might change in incompatible ways in the next release.

Definition at line 30 of file FieldComparatorSource.cs.

Member Function Documentation

abstract FieldComparator Lucene.Net.Search.FieldComparatorSource.NewComparator ( System.String  fieldname,
int  numHits,
int  sortPos,
bool  reversed 
)
pure virtual

Creates a comparator for the field in the given index.

Parameters
fieldnameName of the field to create comparator for.
Returns
FieldComparator.

<throws> IOException </throws>

If an error occurs reading the index.


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