class documentation
class IndexBuilder: (source)
Helper class that creates a search index based on the doctrees passed to the `feed` method.
Method | __init__ |
Undocumented |
Method | context |
Undocumented |
Method | dump |
Dump the frozen index to a stream. |
Method | feed |
Feed a doctree to the index. |
Method | freeze |
Create a usable data structure for serializing. |
Method | get |
Returns JS code that will be inserted into language_data.js. |
Method | get |
Undocumented |
Method | get |
Returns a list of non-minified stemmer JS files to copy. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | label |
Undocumented |
Method | load |
Reconstruct from frozen data. |
Method | prune |
Remove data for all docnames not in the list. |
Class Variable | formats |
Undocumented |
Instance Variable | env |
Undocumented |
Instance Variable | js |
Undocumented |
Instance Variable | js |
Undocumented |
Instance Variable | lang |
Undocumented |
Method | _word |
Undocumented |
Instance Variable | _all |
Undocumented |
Instance Variable | _filenames |
Undocumented |
Instance Variable | _index |
Undocumented |
Instance Variable | _mapping |
Undocumented |
Instance Variable | _objnames |
Undocumented |
Instance Variable | _objtypes |
Undocumented |
Instance Variable | _title |
Undocumented |
Instance Variable | _titles |
Undocumented |
Undocumented
Parameters | |
env:BuildEnvironment | Undocumented |
lang:str | Undocumented |
options:dict | Undocumented |
scoring:str | Undocumented |
Feed a doctree to the index.
Parameters | |
docname:str | Undocumented |
filename:str | Undocumented |
title:str | Undocumented |
doctree:nodes.document | Undocumented |