pub enum SortSpecialField {
Score,
DocumentIndexOrder,
ShardDocumentOrder,
}
Expand description
Special sorting field variants
Variants§
Score
Document score
DocumentIndexOrder
The most efficient way to sort, does not guarantee any order, useful for scrolling
ShardDocumentOrder
Sorts by shard doc value, useful for PIT queries
Trait Implementations§
Source§impl Clone for SortSpecialField
impl Clone for SortSpecialField
Source§fn clone(&self) -> SortSpecialField
fn clone(&self) -> SortSpecialField
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SortSpecialField
impl Debug for SortSpecialField
Source§impl Display for SortSpecialField
impl Display for SortSpecialField
Source§impl From<SortSpecialField> for Sort
impl From<SortSpecialField> for Sort
Source§fn from(value: SortSpecialField) -> Self
fn from(value: SortSpecialField) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SortSpecialField
impl PartialEq for SortSpecialField
Source§impl Serialize for SortSpecialField
impl Serialize for SortSpecialField
impl Copy for SortSpecialField
impl Eq for SortSpecialField
impl StructuralPartialEq for SortSpecialField
Auto Trait Implementations§
impl Freeze for SortSpecialField
impl RefUnwindSafe for SortSpecialField
impl Send for SortSpecialField
impl Sync for SortSpecialField
impl Unpin for SortSpecialField
impl UnwindSafe for SortSpecialField
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more