Uses of Class org.apache.lucene.search.SortField (Lucene 2.4.1 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.lucene.search.SortField

Packages that use SortField
org.apache.lucene.search | Code to search indices.

Uses of SortField in org.apache.lucene.search

Fields in org.apache.lucene.search declared as SortField
`static SortField` | `SortField.FIELD_DOC` Represents sorting by document number (index order).
`static SortField` | `SortField.FIELD_SCORE` Represents sorting by document score (relevancy).
`protected SortField[]` | `FieldSortedHitQueue.fields` Stores the sort criteria being used.
`SortField[]` | `TopFieldDocs.fields` The fields which were used to sort results by.

Methods in org.apache.lucene.search that return SortField
`SortField[]` | `Sort.getSort()` Representation of the sort criteria.

Methods in org.apache.lucene.search with parameters of type SortField
`void` | `Sort.setSort(SortField field)` Sets the sort to the given criteria.
`void` | `Sort.setSort(SortField[] fields)` Sets the sort to the given criteria in succession.

Constructors in org.apache.lucene.search with parameters of type SortField
`FieldSortedHitQueue(IndexReader reader, SortField[] fields, int size)` Creates a hit queue sorted by the given list of fields.
`Sort(SortField field)` Sorts by the criteria in the given SortField.
`Sort(SortField[] fields)` Sorts in succession by the criteria in each SortField.
`TopFieldDocs(int totalHits, ScoreDoc[] scoreDocs, SortField[] fields, float maxScore)` Creates one of these objects.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.