parcel | Lucy |
class variable | LUCY_STRINGTYPE |
struct symbol | lucy_StringType |
class nickname | lucy_StringType |
header file | Lucy/Plan/StringType.h |
Lucy::Plan::StringType – Non-tokenized text type.
Lucy::Plan::StringType is used for “exact-match” strings.
lucy_StringType* // incremented
lucy_StringType_new(void);
Create a new StringType.
lucy_StringType*
lucy_StringType_init(
lucy_StringType *self
);
Initialize a StringType.
lucy_StringType*
lucy_StringType_init2(
lucy_StringType *self,
float boost,
bool indexed,
bool stored,
bool sortable
);
floating point per-field boost.
boolean indicating whether the field should be indexed.
boolean indicating whether the field should be stored.
boolean indicating whether the field should be sortable.
bool
lucy_StringType_Equals(
lucy_StringType *self,
cfish_Obj *other
);
Compares all common properties.
void
lucy_StringType_Set_Boost(
lucy_StringType *self,
float boost
);
Setter for boost
.
float
lucy_StringType_Get_Boost(
lucy_StringType *self
);
Accessor for boost
.
void
lucy_StringType_Set_Indexed(
lucy_StringType *self,
bool indexed
);
Setter for indexed
.
bool
lucy_StringType_Indexed(
lucy_StringType *self
);
Accessor for indexed
.
void
lucy_StringType_Set_Stored(
lucy_StringType *self,
bool stored
);
Setter for stored
.
bool
lucy_StringType_Stored(
lucy_StringType *self
);
Accessor for stored
.
void
lucy_StringType_Set_Sortable(
lucy_StringType *self,
bool sortable
);
Setter for sortable
.
bool
lucy_StringType_Sortable(
lucy_StringType *self
);
Accessor for sortable
.
bool
lucy_StringType_Binary(
lucy_StringType *self
);
Indicate whether the field contains binary data.
Lucy::Plan::StringType is a Lucy::Plan::TextType is a Lucy::Plan::FieldType is a Clownfish::Obj.
Copyright © 2010-2015 The Apache Software Foundation, Licensed under the
Apache License, Version 2.0.
Apache Lucy, Lucy, Apache, the Apache feather logo, and the Apache Lucy project logo are trademarks of The
Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their
respective owners.