Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore ListLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore Num For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareGt NameLoad Num body AugAssignAdd NameStore NameLoad If CompareLt NameLoad Call NameLoad BinOpAdd NameLoad Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias For NameStore NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return ListLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Num kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpMult BinOpMult NameLoad Num Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Num BinOpMult Num Num Num Call NameLoad SubscriptLoad NameLoad Index Num Num BinOpMult Call NameLoad SubscriptLoad NameLoad Index Num Num Num Num Num Call NameLoad BoolOpOr SubscriptLoad NameLoad Index Num Str AugAssignAdd AttributeStore NameLoad attr NameLoad If CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Num NameLoad Num Num NameLoad kwarg body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad body Raise NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign NameStore Num For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Return Num Return BinOpSub Call NameLoad NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return TupleLoad NameLoad BinOpSub NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr If CompareGtE NameLoad Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body ImportFrom alias Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Dict Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpBitAnd Call NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call AttributeLoad NameLoad attr body If BoolOpOr UnaryOpNot NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body If NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore IfExp AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AugAssignAdd NameStore Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad While Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad SubscriptLoad NameLoad Index NameLoad BinOpAdd NameLoad NameLoad Expr Call NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num For TupleStore NameStore NameStore NameStore NameStore NameLoad body AugAssignMult NameStore NameLoad If NameLoad body AugAssignAdd NameStore NameLoad Expr Call NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad If CompareIn NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr TryFinally body If NameLoad body Pass orelse If NameLoad body Assign NameStore NameLoad orelse If UnaryOpNot NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr finalbody If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr finalbody If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore TupleLoad NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign AttributeStore SubscriptLoad NameLoad Index NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list
N/A __future__ with_statement bisect bisect_right whoosh.fields UnknownFieldError whoosh.filedb.fileindex Segment whoosh.store LockError whoosh.support.dawg DawgBuilder whoosh.support.filelock try_for whoosh.support.externalsort SortingPool whoosh.util fib whoosh.writing IndexWriter IndexingError NO_MERGE N/A N/A writer segments N/A N/A N/A This policy does not merge any existing segments.
     N/A segments N/A MERGE_SMALL N/A N/A writer segments N/A N/A N/A This policy merges small segments, where "small" is defined using a
    heuristic based on the fibonacci sequence.
     whoosh.filedb.filereading SegmentReader N/A newsegments N/A N/A sorted_segment_list N/A sorted N/A N/A N/A N/A s doc_count_all s N/A s segments N/A total_docs 0 N/A N/A i N/A count seg N/A enumerate sorted_segment_list N/A N/A N/A count 0 N/A N/A total_docs count N/A N/A total_docs N/A fib N/A i 5 N/A N/A reader N/A SegmentReader N/A writer storage N/A writer schema seg N/A N/A N/A writer add_reader reader N/A N/A N/A reader close N/A N/A N/A N/A newsegments append seg N/A newsegments N/A OPTIMIZE N/A N/A writer segments N/A N/A N/A This policy merges all existing segments.
     whoosh.filedb.filereading SegmentReader N/A seg segments N/A N/A reader N/A SegmentReader N/A writer storage N/A writer schema seg N/A N/A N/A writer add_reader reader N/A N/A N/A reader close N/A N/A N/A PostingPool N/A SortingPool N/A __init__ N/A N/A self limitmb N/A 128 kwargs N/A N/A N/A N/A SortingPool __init__ self kwargs N/A N/A self limit N/A N/A limitmb 1024 1024 N/A N/A self currentsize 0 N/A add N/A N/A self item N/A N/A N/A size N/A N/A N/A N/A N/A N/A N/A N/A N/A 28 N/A 4 5 21 N/A len N/A item N/A 0 26 N/A N/A len N/A item N/A 1 2 18 16 21 N/A len N/A N/A item N/A 4 N/A N/A self currentsize size N/A N/A N/A self currentsize N/A self limit N/A N/A N/A N/A self save N/A N/A N/A N/A self current append item N/A save N/A N/A self N/A N/A N/A N/A N/A SortingPool save self N/A N/A self currentsize 0 N/A N/A SegmentWriter N/A IndexWriter N/A __init__ N/A N/A self ix poolclass timeout delay _lk limitmb docbase codec N/A None 0.0 0.1 True 128 0 None kwargs N/A N/A N/A self writelock None N/A _lk N/A N/A N/A self writelock N/A N/A ix lock WRITELOCK N/A N/A N/A try_for N/A N/A self writelock acquire timeout timeout delay delay N/A N/A LockError N/A N/A self storage N/A ix storage N/A N/A self indexname N/A ix indexname N/A info N/A N/A ix _read_toc N/A N/A self generation N/A N/A info generation 1 N/A N/A self schema N/A info schema N/A N/A self segments N/A info segments N/A N/A self docnum N/A self docbase docbase N/A N/A N/A self _setup_doc_offsets N/A poolprefix N/A whoosh_%s_ N/A self indexname N/A N/A self pool N/A PostingPool limitmb limitmb prefix poolprefix N/A N/A self newsegment N/A Segment N/A self indexname 0 N/A N/A self is_closed False N/A N/A self _added False N/A N/A codec None N/A whoosh.codec.standard StdCodec N/A codec N/A StdCodec N/A self storage N/A N/A self codec codec N/A N/A self perdocwriter N/A N/A codec per_document_writer N/A self newsegment N/A N/A self fieldwriter N/A N/A codec field_writer N/A self newsegment N/A _setup_doc_offsets N/A N/A self N/A N/A N/A N/A self _doc_offsets N/A N/A base 0 N/A s N/A self segments N/A N/A N/A N/A N/A self _doc_offsets append base N/A base N/A N/A s doc_count_all N/A _check_state N/A N/A self N/A N/A N/A N/A self is_closed N/A N/A N/A IndexingError This writer is closed N/A add_field N/A N/A self fieldname fieldspec N/A kwargs N/A N/A N/A N/A self _check_state N/A N/A self _added N/A N/A N/A Exception Can't modify schema after adding data to writer N/A N/A N/A N/A super SegmentWriter self add_field fieldname fieldspec kwargs N/A remove_field N/A N/A self fieldname N/A N/A N/A N/A N/A self _check_state N/A N/A self _added N/A N/A N/A Exception Can't modify schema after adding data to writer N/A N/A N/A N/A super SegmentWriter self remove_field fieldname N/A _document_segment N/A N/A self docnum N/A N/A N/A offsets N/A self _doc_offsets N/A N/A N/A len offsets 1 N/A N/A 0 N/A N/A N/A bisect_right offsets docnum 1 N/A _segment_and_docnum N/A N/A self docnum N/A N/A N/A segmentnum N/A N/A self _document_segment docnum N/A offset N/A N/A self _doc_offsets N/A segmentnum N/A segment N/A N/A self segments N/A segmentnum N/A N/A segment N/A docnum offset N/A has_deletions N/A N/A self N/A N/A N/A 
        Returns True if this index has documents that are marked deleted but
        haven't been optimized out of the index yet.
         N/A N/A any N/A N/A N/A s has_deletions N/A s N/A self segments N/A delete_document N/A N/A self docnum delete N/A True N/A N/A N/A N/A self _check_state N/A N/A docnum N/A sum N/A N/A seg doccount N/A seg N/A self segments N/A N/A N/A IndexingError N/A No document ID %r in this index docnum N/A N/A segment segdocnum N/A N/A self _segment_and_docnum docnum N/A N/A N/A segment delete_document segdocnum delete delete N/A deleted_count N/A N/A self N/A N/A N/A 
        :returns: the total number of deleted documents in the index.
         N/A N/A sum N/A N/A N/A s deleted_count N/A s N/A self segments N/A is_deleted N/A N/A self docnum N/A N/A N/A N/A segment segdocnum N/A N/A self _segment_and_docnum docnum N/A N/A N/A segment is_deleted segdocnum N/A reader N/A N/A self reuse N/A None N/A whoosh.filedb.fileindex FileIndex N/A N/A N/A self _check_state N/A N/A N/A FileIndex _reader N/A self storage N/A self schema N/A self segments N/A self generation reuse reuse N/A add_reader N/A N/A self reader N/A N/A N/A N/A N/A self _check_state N/A perdocwriter N/A self perdocwriter N/A startdoc newdoc N/A self docnum N/A hasdel N/A N/A reader has_deletions N/A hasdel N/A N/A docmap N/A N/A newfields N/A dict N/A N/A N/A self schema items N/A sharedfields N/A N/A set newfields N/A set N/A N/A N/A reader schema names N/A docnum N/A N/A reader all_doc_ids N/A N/A N/A N/A hasdel N/A N/A N/A reader is_deleted docnum N/A N/A hasdel N/A N/A N/A docmap N/A docnum newdoc N/A d N/A N/A reader stored_fields docnum N/A N/A N/A perdocwriter start_doc newdoc N/A fieldname sharedfields N/A N/A field N/A newfields N/A fieldname N/A length N/A N/A field scorable N/A N/A reader doc_field_length docnum fieldname 0 0 N/A N/A N/A perdocwriter add_field fieldname field N/A N/A d get fieldname length N/A N/A N/A field vector N/A N/A reader has_vector docnum fieldname N/A N/A v N/A N/A reader vector docnum fieldname N/A N/A N/A perdocwriter add_vector_matcher fieldname field v N/A N/A N/A perdocwriter finish_doc N/A newdoc 1 N/A N/A self docnum newdoc N/A add_post N/A N/A self pool add N/A N/A fieldname text N/A N/A reader all_terms N/A N/A N/A fieldname newfields N/A N/A pr N/A N/A reader postings fieldname text N/A N/A N/A pr is_active N/A N/A docnum N/A N/A pr id N/A weight N/A N/A pr weight N/A valuestring N/A N/A pr value N/A newdoc N/A hasdel N/A docmap N/A docnum N/A startdoc docnum N/A N/A add_post N/A fieldname text newdoc weight valuestring N/A N/A N/A pr next N/A N/A self _added True N/A _check_fields N/A N/A self schema fieldnames N/A N/A N/A name fieldnames N/A N/A N/A name schema N/A N/A N/A UnknownFieldError N/A No field named %r in %s N/A name schema N/A add_document N/A N/A self N/A fields N/A N/A N/A N/A self _check_state N/A perdocwriter N/A self perdocwriter N/A schema N/A self schema N/A docnum N/A self docnum N/A add_post N/A N/A self pool add N/A docboost N/A N/A self _doc_boost fields N/A fieldnames N/A sorted N/A name N/A name N/A N/A fields keys N/A N/A N/A name startswith _ N/A N/A N/A self _check_fields schema fieldnames N/A N/A N/A perdocwriter start_doc docnum N/A fieldname fieldnames N/A N/A value N/A N/A fields get fieldname N/A N/A value None N/A N/A N/A field N/A schema N/A fieldname N/A length 0 N/A N/A field indexed N/A N/A fieldboost N/A N/A self _field_boost fields fieldname docboost N/A items N/A N/A field index value N/A scorable N/A field scorable N/A length 0 N/A N/A text freq weight valuestring items N/A N/A weight fieldboost N/A scorable N/A N/A length freq N/A N/A add_post N/A fieldname text docnum weight valuestring N/A N/A N/A field separate_spelling N/A N/A text N/A N/A field spellable_words value N/A N/A N/A add_post N/A fieldname text None None None N/A vformat N/A field vector N/A vformat N/A N/A analyzer N/A field analyzer N/A vitems N/A sorted N/A N/A vformat word_values value analyzer mode index N/A N/A N/A perdocwriter add_vector_items fieldname field vitems N/A storedval None N/A N/A field stored N/A N/A storedkey N/A _stored_%s fieldname N/A N/A storedkey fields N/A N/A storedval N/A N/A fields get storedkey N/A N/A storedval value N/A N/A N/A perdocwriter add_field fieldname field storedval length N/A N/A N/A perdocwriter finish_doc N/A N/A self _added True N/A N/A self docnum 1 N/A _close_all N/A N/A self N/A N/A N/A N/A self is_closed True N/A N/A N/A N/A self perdocwriter close N/A N/A N/A N/A self fieldwriter close N/A doc_count N/A N/A self N/A N/A N/A N/A N/A self docnum N/A self docbase N/A commit N/A N/A self mergetype optimize merge N/A None False True N/A N/A Finishes writing and saves all additions and changes to disk.
        
        There are four possible ways to use this method::
        
            # Merge small segments but leave large segments, trying to
            # balance fast commits with fast searching:
            writer.commit()
        
            # Merge all segments into a single segment:
            writer.commit(optimize=True)
            
            # Don't merge any existing segments:
            writer.commit(merge=False)
            
            # Use a custom merge function
            writer.commit(mergetype=my_merge_function)
        
        :param mergetype: a custom merge function taking a Writer object and
            segment list as arguments, and returning a new segment list. If you
            supply a ``mergetype`` function, the values of the ``optimize`` and
            ``merge`` arguments are ignored.
        :param optimize: if True, all existing segments are merged with the
            documents you've added to this writer (and the value of the
            ``merge`` argument is ignored).
        :param merge: if False, do not merge small segments.
         N/A N/A N/A self _check_state N/A schema N/A self schema N/A N/A N/A mergetype N/A N/A N/A N/A optimize N/A N/A mergetype OPTIMIZE N/A N/A N/A merge N/A N/A mergetype NO_MERGE N/A N/A mergetype MERGE_SMALL N/A finalsegments N/A mergetype self N/A self segments N/A N/A self _added N/A N/A newsegment N/A self newsegment N/A N/A newsegment doccount N/A N/A self doc_count N/A lengths N/A N/A N/A self perdocwriter lengths_reader N/A N/A N/A N/A self fieldwriter add_iter schema lengths N/A N/A N/A self pool items N/A N/A N/A finalsegments append newsegment N/A N/A N/A N/A N/A self pool cleanup N/A N/A N/A self _close_all N/A N/A N/A N/A self codec commit_toc N/A self indexname N/A self schema finalsegments N/A self generation N/A N/A N/A self writelock N/A N/A N/A N/A N/A self writelock release N/A cancel N/A N/A self N/A N/A N/A N/A N/A self _check_state N/A N/A N/A N/A N/A N/A self pool cleanup N/A N/A N/A self _close_all N/A N/A N/A self writelock N/A N/A N/A N/A N/A self writelock release N/A N/A add_spelling N/A N/A ix fieldnames commit N/A True N/A N/A Adds spelling files to an existing index that was created without
    them, and modifies the schema so the given fields have the ``spelling``
    attribute. Only works on filedb indexes.
    
    >>> ix = index.open_dir("testindex")
    >>> add_spelling(ix, ["content", "tags"])
    
    :param ix: a :class:`whoosh.filedb.fileindex.FileIndex` object.
    :param fieldnames: a list of field names to create word graphs for.
    :param force: if True, overwrites existing word graph files. This is only
        useful for debugging.
     whoosh.filedb.filereading SegmentReader N/A writer N/A N/A ix writer N/A storage N/A writer storage N/A schema N/A writer schema N/A segments N/A writer segments N/A segment segments N/A N/A r N/A SegmentReader storage schema segment N/A f N/A N/A segment create_file storage .dag N/A dawg N/A DawgBuilder f field_root True N/A fieldname fieldnames N/A N/A ft N/A fieldname N/A word N/A N/A r lexicon fieldname N/A N/A N/A N/A dawg insert N/A ft N/A tuple word N/A N/A N/A dawg close N/A fieldname fieldnames N/A N/A N/A N/A schema N/A fieldname spelling True N/A commit N/A N/A N/A N/A writer commit merge False N/A