begin_indexing(self,
session)
Perform tasks before indexing any records
|
commit_indexing(self,
session)
Perform tasks after records have been indexed
|
construct_item(self,
session,
term,
rsitype="")
Take a single item, as stored in this Index, and produce a
ResultSetItem representation.
|
construct_resultSet(self,
session,
terms,
queryHash={})
Take a list of terms and produce an appropriate ResultSet
object.
|
delete_record(self,
session,
record)
Delete all the terms of the given record from the indexes.
|
deserialise_terms(self,
session,
data)
Callback from IndexStore to take serialised data and produce list
of terms and document references.
|
index_record(self,
session,
record)
Accept a record to index.
|
merge_terms(self,
session,
structTerms,
newTerms,
op="replace",
recs=0,
occs=0)
Callback from IndexStore to take two sets of terms and merge them
together.
|
scan(self,
session,
clause)
Produce an ordered term list with document frequencies and total
occurences
|
search(self,
session,
clause)
Search this particular index given a CQL clause, return a
resultSet object
|
serialise_terms(self,
session,
termId,
terms,
recs=0,
occs=0)
Callback from IndexStore to serialise list of terms and document
references to be stored
|
sort(self,
session,
resultSet)
Sort a result set based on the values extracted according to this
index.
|
:
__init__ ,
auth_function ,
get_config ,
get_default ,
get_object ,
get_path ,
get_setting ,
log_function ,
unauth_function ,
unlog_function
:
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|