Documentation
¶
Index ¶
- func GOLUCY_DefDocReader_Fetch_Doc(ddr *C.lucy_DefaultDocReader, docID C.int32_t) *C.lucy_HitDoc
- func GOLUCY_Doc_Deserialize(d *C.lucy_Doc, instream *C.lucy_InStream) *C.lucy_Doc
- func GOLUCY_Doc_Destroy(d *C.lucy_Doc)
- func GOLUCY_Doc_Equals(d *C.lucy_Doc, other *C.cfish_Obj) C.bool
- func GOLUCY_Doc_Extract(d *C.lucy_Doc, field *C.cfish_String) *C.cfish_Obj
- func GOLUCY_Doc_Field_Names(d *C.lucy_Doc) *C.cfish_Vector
- func GOLUCY_Doc_Get_Size(d *C.lucy_Doc) C.uint32_t
- func GOLUCY_Doc_Serialize(d *C.lucy_Doc, outstream *C.lucy_OutStream)
- func GOLUCY_Doc_Set_Fields(d *C.lucy_Doc, fields unsafe.Pointer)
- func GOLUCY_Doc_Store(d *C.lucy_Doc, field *C.cfish_String, value *C.cfish_Obj)
- func GOLUCY_Doc_init(d *C.lucy_Doc, fields unsafe.Pointer, docID C.int32_t) *C.lucy_Doc
- func GOLUCY_Inverter_Invert_Doc(inverter *C.lucy_Inverter, doc *C.lucy_Doc)
- func GOLUCY_RegexTokenizer_Destroy(rt *C.lucy_RegexTokenizer)
- func GOLUCY_RegexTokenizer_Tokenize_Utf8(rt *C.lucy_RegexTokenizer, str *C.char, stringLen C.size_t, ...)
- func GOLUCY_RegexTokenizer_init(rt *C.lucy_RegexTokenizer, pattern *C.cfish_String) *C.lucy_RegexTokenizer
- type DirHandleIMP
- type HitsIMP
- type IndexerIMP
- func (obj *IndexerIMP) AddDoc(doc interface{}) error
- func (obj *IndexerIMP) AddIndex(index interface{}) error
- func (obj *IndexerIMP) Close() error
- func (obj *IndexerIMP) Commit() error
- func (obj *IndexerIMP) DeleteByDocID(docID int32) error
- func (obj *IndexerIMP) DeleteByQuery(query Query) error
- func (obj *IndexerIMP) DeleteByTerm(field string, term interface{}) error
- func (obj *IndexerIMP) PrepareCommit() error
- type MatcherIMP
- type OpenIndexerArgs
- type SimpleIMP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GOLUCY_DefDocReader_Fetch_Doc ¶
func GOLUCY_DefDocReader_Fetch_Doc(ddr *C.lucy_DefaultDocReader, docID C.int32_t) *C.lucy_HitDoc
func GOLUCY_Doc_Deserialize ¶
func GOLUCY_Doc_Extract ¶
func GOLUCY_Doc_Field_Names ¶
func GOLUCY_Doc_Field_Names(d *C.lucy_Doc) *C.cfish_Vector
func GOLUCY_Doc_Serialize ¶
func GOLUCY_Doc_Serialize(d *C.lucy_Doc, outstream *C.lucy_OutStream)
func GOLUCY_Doc_Store ¶
func GOLUCY_Doc_init ¶
func GOLUCY_Inverter_Invert_Doc ¶
func GOLUCY_Inverter_Invert_Doc(inverter *C.lucy_Inverter, doc *C.lucy_Doc)
func GOLUCY_RegexTokenizer_Destroy ¶
func GOLUCY_RegexTokenizer_Destroy(rt *C.lucy_RegexTokenizer)
func GOLUCY_RegexTokenizer_Tokenize_Utf8 ¶
func GOLUCY_RegexTokenizer_Tokenize_Utf8(rt *C.lucy_RegexTokenizer, str *C.char, stringLen C.size_t, inversion *C.lucy_Inversion)
func GOLUCY_RegexTokenizer_init ¶
func GOLUCY_RegexTokenizer_init(rt *C.lucy_RegexTokenizer, pattern *C.cfish_String) *C.lucy_RegexTokenizer
Types ¶
type DirHandleIMP ¶
func (*DirHandleIMP) Close ¶
func (dh *DirHandleIMP) Close() error
func (*DirHandleIMP) Error ¶
func (dh *DirHandleIMP) Error() error
type HitsIMP ¶
type IndexerIMP ¶
func (*IndexerIMP) AddDoc ¶
func (obj *IndexerIMP) AddDoc(doc interface{}) error
func (*IndexerIMP) AddIndex ¶
func (obj *IndexerIMP) AddIndex(index interface{}) error
func (*IndexerIMP) Close ¶
func (obj *IndexerIMP) Close() error
func (*IndexerIMP) Commit ¶
func (obj *IndexerIMP) Commit() error
func (*IndexerIMP) DeleteByDocID ¶
func (obj *IndexerIMP) DeleteByDocID(docID int32) error
func (*IndexerIMP) DeleteByQuery ¶
func (obj *IndexerIMP) DeleteByQuery(query Query) error
func (*IndexerIMP) DeleteByTerm ¶
func (obj *IndexerIMP) DeleteByTerm(field string, term interface{}) error
func (*IndexerIMP) PrepareCommit ¶
func (obj *IndexerIMP) PrepareCommit() error
type MatcherIMP ¶
func (*MatcherIMP) Error ¶
func (m *MatcherIMP) Error() error
func (*MatcherIMP) Next ¶
func (m *MatcherIMP) Next() int32
type OpenIndexerArgs ¶
type SimpleIMP ¶
Click to show internal directories.
Click to hide internal directories.