Example #1
0
    def create_index(self, schema, indexname=_DEF_INDEX_NAME):
        if self.readonly:
            raise ReadOnlyError

        from whoosh.filedb.fileindex import _create_index, FileIndex
        _create_index(self, schema, indexname)
        return FileIndex(self, schema, indexname)
Example #2
0
 def create_index(self, schema, indexname=_DEF_INDEX_NAME):
     if self.readonly:
         raise ReadOnlyError
     
     from whoosh.filedb.fileindex import _create_index, FileIndex
     _create_index(self, schema, indexname)
     return FileIndex(self, schema, indexname)
Example #3
0
File: gae.py Project: ljarufe/mp100
 def create_index(self, schema, indexname=_DEF_INDEX_NAME):
     if self.readonly:
         raise ReadOnlyError
     
     _create_index(self, schema, indexname)
     return FileIndex(self, schema, indexname)
Example #4
0
    def create_index(self, schema, indexname=_DEF_INDEX_NAME):
        from whoosh.filedb.fileindex import _create_index, FileIndex

        _create_index(self, schema, indexname)
        return FileIndex(self, schema, indexname)
Example #5
0
    def create_index(self, schema, indexname=_DEF_INDEX_NAME):
        if self.readonly:
            raise ReadOnlyError

        _create_index(self, schema, indexname)
        return FileIndex(self, schema, indexname)