Module ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias Assign NameStore NameLoad ClassDef bases NameLoad body Assign NameStore 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 Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If Call NameLoad AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr 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 Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareGtE NameLoad Num Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad GeneratorExp NameLoad comprehension NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad CompareIn SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad NameLoad body Expr Yield Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Expr Call AttributeLoad NameLoad attr Return CompareIn TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad If CompareIs AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Return GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Return GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad CompareIn NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore SubscriptLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Slice Num If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad While BoolOpAnd CompareLt NameLoad Call NameLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad body Expr Yield SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num orelse For NameStore NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Return GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad body If CompareNotIn SubscriptLoad NameLoad Index Num NameLoad body Continue Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Return NameLoad If UnaryOpNot AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Return NameLoad Expr Call AttributeLoad NameLoad attr Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body If BoolOpAnd NameLoad CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If UnaryOpNot NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareIn Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A bisect bisect_left whoosh.compat iteritems string_type integer_types xrange whoosh.filedb.fileindex Segment whoosh.filedb.fieldcache FieldCache DefaultFieldCachingPolicy whoosh.matching FilterMatcher ListMatcher whoosh.reading IndexReader TermNotFound N/A SAVE_BY_DEFAULT True SegmentReader N/A IndexReader N/A N/A GZIP_CACHES False __init__ N/A N/A self storage schema segment generation codec N/A None None N/A N/A N/A self storage storage N/A N/A self schema schema N/A N/A self segment segment N/A N/A self _gen generation N/A N/A self is_closed False N/A N/A self _has_deletions N/A N/A segment has_deletions N/A N/A self _dc N/A N/A segment doc_count N/A N/A self _dc_all N/A N/A segment doc_count_all N/A N/A hasattr N/A self segment segment_id N/A N/A N/A self segid N/A str N/A N/A N/A self segment segment_id N/A N/A N/A self segid N/A N/A Segment _random_id 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 _terms N/A N/A codec terms_reader N/A self segment N/A N/A self _lengths N/A N/A codec lengths_reader N/A self segment N/A N/A self _stored N/A N/A codec stored_fields_reader N/A self segment N/A N/A self _vectors None N/A N/A self _dawg None N/A N/A N/A self set_caching_policy N/A _open_vectors N/A N/A self N/A N/A N/A N/A self _vectors N/A N/A N/A N/A self _vectors N/A N/A N/A self _codec vector_reader N/A self segment N/A _open_dawg N/A N/A self N/A N/A N/A N/A self _dawg N/A N/A N/A N/A self _dawg N/A N/A N/A self _codec word_graph N/A self segment N/A has_deletions N/A N/A self N/A N/A N/A N/A self _has_deletions N/A doc_count N/A N/A self N/A N/A N/A N/A self _dc N/A doc_count_all N/A N/A self N/A N/A N/A N/A self _dc_all N/A is_deleted N/A N/A self docnum N/A N/A N/A N/A N/A N/A self segment is_deleted docnum N/A generation N/A N/A self N/A N/A N/A N/A self _gen 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 self segment N/A __contains__ N/A N/A self term N/A N/A N/A N/A term N/A self _terms N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self _terms close N/A N/A N/A N/A self _lengths close N/A N/A N/A N/A self _stored close N/A N/A self _vectors N/A N/A N/A N/A N/A self _vectors close N/A N/A self caching_policy None N/A N/A self is_closed True N/A stored_fields N/A N/A self docnum N/A N/A N/A N/A docnum 0 N/A schema N/A self schema N/A N/A dict N/A item N/A item N/A iteritems N/A N/A self _stored N/A docnum N/A N/A item N/A 0 schema N/A all_stored_fields N/A N/A self N/A N/A N/A is_deleted N/A N/A self segment is_deleted N/A sf N/A self stored_fields N/A docnum N/A xrange N/A self _dc_all N/A N/A N/A N/A is_deleted docnum N/A N/A N/A N/A sf docnum N/A field_length N/A N/A self fieldname N/A N/A N/A N/A N/A N/A self _lengths field_length fieldname N/A min_field_length N/A N/A self fieldname N/A N/A N/A N/A N/A N/A self _lengths min_field_length fieldname N/A max_field_length N/A N/A self fieldname N/A N/A N/A N/A N/A N/A self _lengths max_field_length fieldname N/A doc_field_length N/A N/A self docnum fieldname default N/A 0 N/A N/A N/A N/A N/A self _lengths get docnum fieldname default default N/A has_vector N/A N/A self docnum fieldname N/A N/A N/A N/A N/A N/A self schema N/A fieldname vector N/A N/A N/A N/A self _open_vectors N/A N/A N/A docnum fieldname N/A self _vectors N/A N/A False N/A _test_field N/A N/A self fieldname N/A N/A N/A N/A fieldname N/A self schema N/A N/A N/A TermNotFound N/A No field %r fieldname N/A N/A N/A N/A N/A self schema N/A fieldname format None N/A N/A N/A TermNotFound N/A Field %r is not indexed fieldname N/A all_terms N/A N/A self N/A N/A N/A schema N/A self schema N/A N/A N/A fieldname text N/A N/A fieldname text N/A N/A N/A self _terms keys N/A fieldname schema N/A terms_from N/A N/A self fieldname prefix N/A N/A N/A N/A N/A self _test_field fieldname N/A schema N/A self schema N/A N/A N/A fname text N/A N/A fname text N/A N/A N/A self _terms keys_from N/A fieldname prefix N/A fname schema N/A term_info N/A N/A self fieldname text N/A N/A N/A N/A N/A self _test_field fieldname N/A N/A N/A N/A N/A self _terms N/A N/A fieldname text N/A N/A N/A KeyError N/A N/A N/A TermNotFound N/A %s:%r N/A fieldname text N/A _texts_in_fieldcache N/A N/A self fieldname prefix N/A N/A N/A texts N/A N/A N/A N/A self fieldcache fieldname texts N/A 1 N/A prefix N/A N/A i N/A bisect_left texts prefix N/A N/A N/A i N/A len texts N/A N/A N/A texts N/A i startswith prefix N/A N/A N/A N/A texts N/A i N/A i 1 N/A N/A text texts N/A N/A N/A text N/A expand_prefix N/A N/A self fieldname prefix N/A N/A N/A N/A N/A self _test_field fieldname N/A N/A N/A self fieldcache_loaded fieldname N/A N/A N/A N/A self _texts_in_fieldcache fieldname prefix N/A N/A N/A N/A IndexReader expand_prefix self fieldname prefix N/A lexicon N/A N/A self fieldname N/A N/A N/A N/A N/A self _test_field fieldname N/A N/A N/A self fieldcache_loaded fieldname N/A N/A N/A N/A self _texts_in_fieldcache fieldname N/A N/A N/A N/A IndexReader lexicon self fieldname N/A __iter__ N/A N/A self N/A N/A N/A schema N/A self schema N/A N/A N/A term terminfo N/A N/A term terminfo N/A N/A N/A self _terms items N/A N/A term N/A 0 schema N/A iter_from N/A N/A self fieldname text N/A N/A N/A schema N/A self schema N/A N/A N/A self _test_field fieldname N/A N/A term terminfo N/A N/A N/A self _terms items_from N/A fieldname text N/A N/A N/A N/A term N/A 0 schema N/A N/A N/A N/A N/A term terminfo N/A frequency N/A N/A self fieldname text N/A N/A N/A N/A N/A self _test_field fieldname N/A N/A N/A N/A N/A N/A self _terms frequency N/A fieldname text N/A N/A N/A KeyError N/A N/A 0 N/A doc_frequency N/A N/A self fieldname text N/A N/A N/A N/A N/A self _test_field fieldname N/A N/A N/A N/A N/A N/A self _terms doc_frequency N/A fieldname text N/A N/A N/A KeyError N/A N/A 0 N/A postings N/A N/A self fieldname text scorer N/A None N/A N/A N/A fieldname N/A self schema N/A N/A N/A TermNotFound N/A No  field %r fieldname N/A format_ N/A N/A N/A self schema N/A fieldname format N/A matcher N/A N/A N/A self _terms matcher fieldname text format_ scorer scorer N/A deleted N/A N/A self segment deleted N/A deleted N/A N/A matcher N/A FilterMatcher matcher deleted exclude True N/A matcher N/A vector N/A N/A self docnum fieldname N/A N/A N/A N/A fieldname N/A self schema N/A N/A N/A TermNotFound N/A No  field %r fieldname N/A vformat N/A N/A N/A self schema N/A fieldname vector N/A N/A vformat N/A N/A N/A Exception N/A No vectors are stored for field %r fieldname N/A N/A N/A self _open_vectors N/A N/A N/A N/A self _vectors matcher docnum fieldname vformat N/A has_word_graph N/A N/A self fieldname N/A N/A N/A N/A fieldname N/A self schema N/A N/A False N/A N/A N/A N/A N/A self schema N/A fieldname spelling N/A N/A False N/A N/A N/A self _open_dawg N/A N/A fieldname N/A self _dawg N/A word_graph N/A N/A self fieldname N/A N/A N/A N/A N/A N/A self has_word_graph fieldname N/A N/A N/A Exception N/A No word graph for field %r fieldname N/A N/A N/A N/A self _dawg edge fieldname N/A supports_caches N/A N/A self N/A N/A N/A True N/A set_caching_policy N/A N/A self cp save storage N/A None True None N/A N/A This method lets you control the caching policy of the reader. You
        can either pass a :class:`whoosh.filedb.fieldcache.FieldCachingPolicy`
        as the first argument, *or* use the `save` and `storage` keywords to
        alter the default caching policy::
        
            # Use a custom field caching policy object
            reader.set_caching_policy(MyPolicy())
            
            # Use the default caching policy but turn off saving caches to disk
            reader.set_caching_policy(save=False)
            
            # Use the default caching policy but save caches to a custom
            # storage
            from whoosh.filedb.filestore import FileStorage
            mystorage = FileStorage("path/to/cachedir")
            reader.set_caching_policy(storage=mystorage)
        
        :param cp: a :class:`whoosh.filedb.fieldcache.FieldCachingPolicy`
            object. If this argument is not given, the default caching policy
            is used.
        :param save: save field caches to disk for re-use. If a caching policy
            object is specified using `cp`, this argument is ignored.
        :param storage: a custom :class:`whoosh.store.Storage` object to use
            for saving field caches. If a caching policy object is specified
            using `cp` or `save` is `False`, this argument is ignored. 
         N/A N/A cp N/A N/A N/A save N/A storage None N/A N/A storage N/A self storage N/A N/A N/A save N/A N/A storage None N/A cp N/A DefaultFieldCachingPolicy N/A N/A N/A self segment segment_id storage storage N/A N/A N/A type cp type N/A N/A cp N/A cp N/A N/A self caching_policy cp N/A _fieldkey N/A N/A self fieldname N/A N/A N/A N/A %s/%s N/A N/A self segid fieldname N/A fieldcache N/A N/A self fieldname save N/A SAVE_BY_DEFAULT N/A N/A Returns a :class:`whoosh.filedb.fieldcache.FieldCache` object for
        the given field.
        
        :param fieldname: the name of the field to get a cache for.
        :param save: if True (the default), the cache is saved to disk if it
            doesn't already exist.
         N/A key N/A N/A self _fieldkey fieldname N/A fc N/A N/A N/A self caching_policy get key N/A N/A fc N/A N/A fc N/A N/A FieldCache from_field self fieldname N/A N/A N/A N/A self caching_policy put key fc save save N/A fc N/A fieldcache_available N/A N/A self fieldname N/A N/A N/A Returns True if a field cache exists for the given field (either in
        memory already or on disk).
         N/A N/A N/A N/A self _fieldkey fieldname N/A self caching_policy N/A fieldcache_loaded N/A N/A self fieldname N/A N/A N/A Returns True if a field cache for the given field is in memory.
         N/A N/A N/A N/A self caching_policy is_loaded N/A N/A self _fieldkey fieldname N/A unload_fieldcache N/A N/A self name N/A N/A N/A N/A N/A N/A self caching_policy delete N/A N/A self _fieldkey name N/A N/A