Home | Trees | Indices | Help |
|
---|
|
object --+ | cMatchProvider
Base class for match providing objects. Match sources might be: - database tables - flat files - previous input - config files - in-memory list created on the fly
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
print_queries = False
|
Properties | |
ignored_chars | |
word_separators | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Return matches according to aFragment and matching thresholds. FIXME: design decision: we dont worry about data source changes during the lifetime of a MatchProvider FIXME: append _("*get all items*") on truncation |
Set match location thresholds. - the fragment passed to getMatches() must contain at least this many characters before it triggers a match search at: 1) phrase_start - start of phrase (first word) 2) word_start - start of any word within phrase 3) in_word - _inside_ any word within phrase |
Set value to provide context information for matches. The matching code may ignore it depending on its exact implementation. Names and values of the context depend on what is being matched. <context> -- the *placeholder* key *inside* the context definition, not the context *definition* key |
Property Details |
ignored_chars
|
word_separators
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Aug 3 03:55:57 2013 | http://epydoc.sourceforge.net |