pub struct PhraseQuery {
pub terms: Vec<Vec<u8>>,
pub slop: u32,
pub field: FieldId,
}Expand description
A phrase query over already-analyzed terms.
Fields§
§terms: Vec<Vec<u8>>The analyzed terms, in order.
slop: u32Maximum total positional displacement.
field: FieldIdThe field to match within.
Trait Implementations§
Source§impl Clone for PhraseQuery
impl Clone for PhraseQuery
Source§impl Debug for PhraseQuery
impl Debug for PhraseQuery
impl Eq for PhraseQuery
Source§impl PartialEq for PhraseQuery
impl PartialEq for PhraseQuery
impl StructuralPartialEq for PhraseQuery
Auto Trait Implementations§
impl Freeze for PhraseQuery
impl RefUnwindSafe for PhraseQuery
impl Send for PhraseQuery
impl Sync for PhraseQuery
impl Unpin for PhraseQuery
impl UnsafeUnpin for PhraseQuery
impl UnwindSafe for PhraseQuery
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