Module Import alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias Assign NameStore Num ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Num NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareLt NameLoad Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad If UnaryOpNot CompareEq Call AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad NameLoad Assign NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad NameLoad Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad For NameStore SubscriptLoad NameLoad Slice Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body If CompareNotEq Call NameLoad Call AttributeLoad NameLoad attr Num NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareEq Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num kwarg body If CompareGt NameLoad Num body ImportFrom alias Return Call NameLoad NameLoad NameLoad orelse ImportFrom alias Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body ImportFrom alias Assign NameStore Dict TryFinally body If CompareEq Call NameLoad NameLoad Num body Return Call NameLoad NameLoad If NameLoad body Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp TupleLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Delete SubscriptDel NameLoad Index NameLoad Return NameLoad orelse Return Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list If CompareEq Call NameLoad NameLoad Num body Return Call NameLoad SubscriptLoad NameLoad Index Num orelse Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Return Call NameLoad NameLoad keyword NameLoad finalbody For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Num While CompareGt NameLoad Num body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num AugAssignSub NameStore Num If CompareLtE NameLoad Num body Raise NameLoad Expr Call NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults Num body Return Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str Assert Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assert Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp CompareIs NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr orelse Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpSub AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareGt Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Return Num Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Return NameLoad Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A random re sys time time sleep whoosh __version__ whoosh.compat pickle integer_types string_type xrange whoosh.fields ensure_schema whoosh.index Index EmptyIndexError IndexVersionError _DEF_INDEX_NAME whoosh.reading EmptyReader MultiReader whoosh.store Storage whoosh.system _INT_SIZE _FLOAT_SIZE _LONG_SIZE N/A _INDEX_VERSION -110 TOC N/A object N/A N/A Object representing the state of the complete index after a commit.
     _filename N/A N/A cls indexname gen N/A N/A N/A N/A _%s_%s.toc N/A indexname gen N/A classmethod _pattern N/A N/A cls indexname N/A N/A N/A N/A N/A re compile N/A ^_%s_([0-9]+).toc$ indexname N/A classmethod _segment_pattern N/A N/A cls indexname N/A N/A N/A N/A N/A re compile N/A (_%s_[0-9a-z]+)[.][a-z]+ indexname N/A classmethod _latest_generation N/A N/A cls storage indexname N/A N/A N/A pattern N/A N/A cls _pattern indexname N/A mx -1 N/A filename storage N/A N/A m N/A N/A pattern match filename N/A m N/A N/A mx N/A max N/A int N/A N/A m group 1 mx N/A mx N/A classmethod create N/A N/A cls storage schema indexname N/A _DEF_INDEX_NAME N/A N/A schema N/A ensure_schema schema N/A prefix N/A _%s_ indexname N/A filename storage N/A N/A N/A N/A filename startswith prefix N/A N/A N/A N/A storage delete_file filename N/A toc N/A cls schema N/A 0 N/A N/A N/A toc write storage indexname N/A classmethod read N/A N/A cls storage indexname gen schema N/A None None N/A N/A N/A gen None N/A N/A gen N/A N/A cls _latest_generation storage indexname N/A N/A gen 0 N/A N/A N/A EmptyIndexError N/A Index %r does not exist in %r N/A indexname storage N/A tocfilename N/A N/A cls _filename indexname gen N/A stream N/A N/A storage open_file tocfilename check_size N/A N/A name target N/A N/A N/A sz N/A N/A stream read_varint N/A N/A sz target N/A N/A N/A IndexError N/A Index was created on different architecture: saved %s = %s, this computer = %s N/A name sz target N/A N/A N/A check_size int _INT_SIZE N/A N/A check_size long _LONG_SIZE N/A N/A check_size float _FLOAT_SIZE N/A N/A N/A N/A N/A stream read_int -12345 N/A N/A N/A IndexError Number misread: byte order problem N/A version N/A N/A stream read_int N/A N/A version _INDEX_VERSION N/A N/A N/A IndexVersionError N/A Can't read format %s version version N/A release N/A N/A N/A stream read_varint N/A N/A stream read_varint N/A N/A stream read_varint N/A schema N/A N/A N/A N/A stream skip_string N/A N/A schema N/A N/A pickle loads N/A N/A stream read_string N/A schema N/A ensure_schema schema N/A index_gen N/A N/A stream read_int N/A N/A gen index_gen N/A _ N/A N/A stream read_int N/A segments N/A N/A stream read_pickle N/A N/A N/A stream close N/A N/A cls schema segments gen version version release release N/A classmethod __init__ N/A N/A self schema segments generation version release N/A _INDEX_VERSION __version__ N/A N/A N/A self schema schema N/A N/A self segments segments N/A N/A self generation generation N/A N/A self version version N/A N/A self release release N/A write N/A N/A self storage indexname N/A N/A N/A schema N/A ensure_schema N/A self schema N/A N/A N/A schema clean N/A tocfilename N/A N/A self _filename indexname N/A self generation N/A tempfilename N/A %s.%s N/A tocfilename N/A time N/A stream N/A N/A storage create_file tempfilename N/A N/A N/A stream write_varint _INT_SIZE N/A N/A N/A stream write_varint _LONG_SIZE N/A N/A N/A stream write_varint _FLOAT_SIZE N/A N/A N/A stream write_int -12345 N/A N/A N/A stream write_int _INDEX_VERSION N/A num N/A __version__ N/A 3 N/A N/A N/A N/A stream write_varint num N/A N/A N/A stream write_string N/A N/A pickle dumps schema -1 N/A N/A N/A stream write_int N/A self generation N/A N/A N/A stream write_int 0 N/A N/A N/A stream write_pickle N/A self segments N/A N/A N/A stream close N/A N/A N/A storage rename_file tempfilename tocfilename safe True N/A N/A clean_files N/A N/A storage indexname gen segments N/A N/A N/A current_segment_names N/A set N/A N/A N/A s segment_id N/A s segments N/A tocpattern N/A N/A TOC _pattern indexname N/A segpattern N/A N/A TOC _segment_pattern indexname N/A todelete N/A set N/A filename storage N/A N/A tocm N/A N/A tocpattern match filename N/A segm N/A N/A segpattern match filename N/A tocm N/A N/A N/A N/A int N/A N/A tocm group 1 gen N/A N/A N/A N/A todelete add filename N/A N/A segm N/A N/A name N/A N/A segm group 1 N/A N/A name current_segment_names N/A N/A N/A N/A todelete add filename N/A filename todelete N/A N/A N/A N/A N/A N/A storage delete_file filename N/A N/A N/A OSError N/A N/A N/A FileIndex N/A Index N/A __init__ N/A N/A self storage schema indexname N/A None _DEF_INDEX_NAME N/A N/A N/A N/A isinstance storage Storage N/A N/A N/A ValueError N/A %r is not a Storage object storage N/A N/A N/A isinstance indexname string_type N/A N/A N/A ValueError N/A indexname %r is not a string indexname N/A schema N/A N/A schema N/A ensure_schema schema N/A N/A self storage storage N/A N/A self _schema schema N/A N/A self indexname indexname N/A N/A N/A TOC read N/A self storage N/A self indexname schema N/A self _schema N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%r, %r) N/A N/A N/A self __class__ __name__ N/A self storage N/A self indexname N/A close N/A N/A self N/A N/A N/A N/A latest_generation N/A N/A self N/A N/A N/A N/A N/A TOC _latest_generation N/A self storage N/A self indexname N/A last_modified N/A N/A self N/A N/A N/A gen N/A N/A self latest_generation N/A filename N/A N/A TOC _filename N/A self indexname gen N/A N/A N/A N/A self storage file_modified filename N/A is_empty N/A N/A self N/A N/A N/A N/A N/A len N/A N/A N/A self _read_toc segments 0 N/A optimize N/A N/A self N/A N/A N/A w N/A N/A self writer N/A N/A N/A w commit optimize True N/A writer N/A N/A self procs N/A 1 kwargs N/A N/A N/A procs 1 N/A whoosh.filedb.multiproc2 MpWriter N/A N/A MpWriter self kwargs N/A whoosh.filedb.filewriting SegmentWriter N/A N/A SegmentWriter self kwargs N/A lock N/A N/A self name N/A N/A N/A Returns a lock object that you can try to call acquire() on to
        lock the index.
         N/A N/A N/A N/A self storage lock N/A N/A N/A self indexname _ name N/A _read_toc N/A N/A self N/A N/A N/A N/A N/A TOC read N/A self storage N/A self indexname schema N/A self _schema N/A _segments N/A N/A self N/A N/A N/A N/A N/A N/A self _read_toc segments N/A _current_schema N/A N/A self N/A N/A N/A N/A N/A N/A self _read_toc schema N/A schema N/A N/A self N/A N/A N/A N/A N/A self _current_schema N/A property _reader N/A N/A self storage schema segments generation reuse N/A None N/A whoosh.filedb.filereading SegmentReader N/A reusable N/A N/A N/A N/A N/A N/A len segments 0 N/A N/A N/A EmptyReader schema N/A reuse N/A N/A readers N/A r N/A N/A r _ N/A N/A reuse leaf_readers N/A reusable N/A dict N/A N/A N/A N/A r generation r N/A r readers segreader N/A N/A segment N/A N/A N/A segid N/A N/A segment segment_id N/A N/A segid reusable N/A N/A r N/A reusable N/A segid N/A N/A reusable N/A segid N/A r N/A N/A N/A SegmentReader storage schema segment generation generation N/A N/A N/A N/A len segments 1 N/A N/A N/A segreader N/A segments N/A 0 N/A N/A readers N/A N/A segreader segment N/A segment segments N/A N/A MultiReader readers generation generation N/A N/A r N/A N/A reusable values N/A N/A N/A N/A r close N/A classmethod reader N/A N/A self reuse N/A None N/A N/A retries 10 N/A N/A retries 0 N/A N/A N/A N/A info N/A N/A self _read_toc N/A N/A N/A self _reader N/A self storage N/A info schema N/A info segments N/A info generation reuse reuse N/A N/A N/A IOError N/A N/A e N/A N/A N/A sys exc_info N/A 1 N/A retries 1 N/A N/A retries 0 N/A N/A e N/A N/A sleep 0.05 N/A N/A Segment N/A object N/A N/A Do not instantiate this object directly. It is used by the Index object
    to hold information about a segment. A list of objects of this class are
    pickled as part of the TOC file.
    
    The TOC file stores a minimal amount of information -- mostly a list of
    Segment objects. Segments are the real reverse indexes. Having multiple
    segments allows quick incremental indexing: just create a new segment for
    the new documents, and have the index overlay the new segment over previous
    ones for purposes of reading/search. "Optimizing" the index combines the
    contents of existing segments into one (removing any deleted documents
    along the way).
     N/A IDCHARS 0123456789abcdefghijklmnopqrstuvwxyz _random_id N/A N/A cls size N/A 12 N/A N/A N/A N/A join N/A N/A N/A random choice N/A cls IDCHARS N/A _ N/A xrange size N/A classmethod __init__ N/A N/A self indexname doccount segid deleted N/A 0 None None N/A N/A 
        :param name: The name of the segment (the Index object computes this
            from its name and the generation).
        :param doccount: The maximum document number in the segment.
        :param term_count: Total count of all terms in all documents.
        :param deleted: A set of deleted document numbers, or None if no
            deleted documents exist in this segment.
         N/A N/A isinstance indexname string_type N/A N/A self indexname indexname N/A N/A isinstance doccount integer_types N/A N/A self doccount doccount N/A N/A self segid N/A N/A segid None N/A N/A self _random_id segid N/A N/A self deleted deleted N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s %s> N/A N/A N/A self __class__ __name__ N/A getattr self segid N/A segment_id N/A N/A self N/A N/A N/A N/A hasattr self name N/A N/A N/A self name N/A N/A N/A %s_%s N/A N/A self indexname N/A self segid N/A make_filename N/A N/A self ext N/A N/A N/A N/A %s%s N/A N/A N/A self segment_id ext N/A create_file N/A N/A self storage ext N/A kwargs N/A N/A Convenience method to create a new file in the given storage named
        with this segment's ID and the given extension. Any keyword arguments
        are passed to the storage's create_file method.
         N/A fname N/A N/A self make_filename ext N/A N/A N/A storage create_file fname kwargs N/A open_file N/A N/A self storage ext N/A kwargs N/A N/A Convenience method to open a file in the given storage named with
        this segment's ID and the given extension. Any keyword arguments are
        passed to the storage's open_file method.
         N/A fname N/A N/A self make_filename ext N/A N/A N/A storage open_file fname kwargs N/A doc_count_all N/A N/A self N/A N/A N/A 
        :returns: the total number of documents, DELETED OR UNDELETED, in this
            segment.
         N/A N/A self doccount N/A doc_count N/A N/A self N/A N/A N/A 
        :returns: the number of (undeleted) documents in this segment.
         N/A N/A N/A self doccount N/A N/A self deleted_count N/A has_deletions N/A N/A self N/A N/A N/A 
        :returns: True if any documents in this segment are deleted.
         N/A N/A N/A N/A self deleted_count 0 N/A deleted_count N/A N/A self N/A N/A N/A 
        :returns: the total number of deleted documents in this segment.
         N/A N/A N/A self deleted None N/A N/A 0 N/A N/A len N/A self deleted N/A delete_document N/A N/A self docnum delete N/A True N/A N/A Deletes the given document number. The document is not actually
        removed from the index until it is optimized.

        :param docnum: The document number to delete.
        :param delete: If False, this undeletes a deleted document.
         N/A delete N/A N/A N/A N/A self deleted None N/A N/A N/A self deleted N/A set N/A N/A N/A N/A self deleted add docnum N/A N/A N/A N/A N/A self deleted None N/A docnum N/A self deleted N/A N/A N/A N/A N/A self deleted clear docnum N/A is_deleted N/A N/A self docnum N/A N/A N/A :returns: True if the given document number is deleted. N/A N/A N/A self deleted None N/A N/A False N/A N/A docnum N/A self deleted N/A N/A