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

Go to the source code of this file.

Classes

class  Lucene.Net.Search.FieldComparator
 Expert: a FieldComparator compares hits so as to determine their sort order when collecting the top results with TopFieldCollector . The concrete public FieldComparator classes here correspond to the SortField types. More...
 
class  Lucene.Net.Search.FieldComparator.ByteComparator
 Parses field's values as byte (using FieldCache.GetBytes(Lucene.Net.Index.IndexReader,string) and sorts by ascending value More...
 
class  Lucene.Net.Search.FieldComparator.DocComparator
 Sorts by ascending docID More...
 
class  Lucene.Net.Search.FieldComparator.DoubleComparator
 Parses field's values as double (using FieldCache.GetDoubles(Lucene.Net.Index.IndexReader,string) and sorts by ascending value More...
 
class  Lucene.Net.Search.FieldComparator.FloatComparator
 Parses field's values as float (using FieldCache.GetFloats(Lucene.Net.Index.IndexReader,string) and sorts by ascending value More...
 
class  Lucene.Net.Search.FieldComparator.IntComparator
 Parses field's values as int (using FieldCache.GetInts(Lucene.Net.Index.IndexReader,string) and sorts by ascending value More...
 
class  Lucene.Net.Search.FieldComparator.LongComparator
 Parses field's values as long (using FieldCache.GetLongs(Lucene.Net.Index.IndexReader,string) and sorts by ascending value More...
 
class  Lucene.Net.Search.FieldComparator.RelevanceComparator
 Sorts by descending relevance. NOTE: if you are sorting only by descending relevance and then secondarily by ascending docID, peformance is faster using TopScoreDocCollector directly (which Searcher.Search(Query, int) uses when no Sort is specified). More...
 
class  Lucene.Net.Search.FieldComparator.ShortComparator
 Parses field's values as short (using FieldCache.GetShorts(IndexReader, string)) and sorts by ascending value More...
 
class  Lucene.Net.Search.FieldComparator.StringComparatorLocale
 Sorts by a field's value using the Collator for a given Locale. More...
 
class  Lucene.Net.Search.FieldComparator.StringOrdValComparator
 Sorts by field's natural String sort order, using ordinals. This is functionally equivalent to FieldComparator.StringValComparator , but it first resolves the string to their relative ordinal positions (using the index returned by FieldCache.GetStringIndex), and does most comparisons using the ordinals. For medium to large results, this comparator will be much faster than FieldComparator.StringValComparator. For very small result sets it may be slower. More...
 
class  Lucene.Net.Search.FieldComparator.StringValComparator
 Sorts by field's natural String sort order. All comparisons are done using String.compareTo, which is slow for medium to large result sets but possibly very fast for very small results sets. More...
 

Namespaces

 

Typedefs

using IndexReader = Lucene.Net.Index.IndexReader
 
using ByteParser = Lucene.Net.Search.ByteParser
 
using DoubleParser = Lucene.Net.Search.DoubleParser
 
using FloatParser = Lucene.Net.Search.FloatParser
 
using IntParser = Lucene.Net.Search.IntParser
 
using LongParser = Lucene.Net.Search.LongParser
 
using ShortParser = Lucene.Net.Search.ShortParser
 
using StringIndex = Lucene.Net.Search.StringIndex
 

Typedef Documentation

Definition at line 21 of file FieldComparator.cs.

Definition at line 22 of file FieldComparator.cs.

Definition at line 23 of file FieldComparator.cs.

Definition at line 20 of file FieldComparator.cs.

Definition at line 24 of file FieldComparator.cs.

Definition at line 25 of file FieldComparator.cs.

Definition at line 26 of file FieldComparator.cs.

Definition at line 27 of file FieldComparator.cs.