pub struct TextSearchPF { /* private fields */ }Expand description
text:search - Simple text search property function.
Usage: ?s text:search ("search terms" ?score)
Implementations§
Source§impl TextSearchPF
impl TextSearchPF
Trait Implementations§
Source§impl Debug for TextSearchPF
impl Debug for TextSearchPF
Source§impl Default for TextSearchPF
impl Default for TextSearchPF
Source§impl PropertyFunction for TextSearchPF
impl PropertyFunction for TextSearchPF
Source§fn metadata(&self) -> PropertyFunctionMetadata
fn metadata(&self) -> PropertyFunctionMetadata
Return metadata describing this property function.
Source§fn evaluate(
&self,
_subject: &PropertyFunctionArg,
object: &PropertyFunctionArg,
) -> Result<PropertyFunctionResult, OxirsError>
fn evaluate( &self, _subject: &PropertyFunctionArg, object: &PropertyFunctionArg, ) -> Result<PropertyFunctionResult, OxirsError>
Evaluate the property function given the subject and object arguments. Read more
Source§fn validate(
&self,
subject: &PropertyFunctionArg,
object: &PropertyFunctionArg,
) -> Result<(), OxirsError>
fn validate( &self, subject: &PropertyFunctionArg, object: &PropertyFunctionArg, ) -> Result<(), OxirsError>
Validate arguments before evaluation (optional override).
Source§fn estimated_cardinality(
&self,
_subject: &PropertyFunctionArg,
_object: &PropertyFunctionArg,
) -> Option<u64>
fn estimated_cardinality( &self, _subject: &PropertyFunctionArg, _object: &PropertyFunctionArg, ) -> Option<u64>
Estimated cardinality of results (for query planning).
Returns None if unknown. Default is None.
Auto Trait Implementations§
impl Freeze for TextSearchPF
impl RefUnwindSafe for TextSearchPF
impl Send for TextSearchPF
impl Sync for TextSearchPF
impl Unpin for TextSearchPF
impl UnsafeUnpin for TextSearchPF
impl UnwindSafe for TextSearchPF
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more