12 #ifndef XPACE_INDEXLIST_IMPL_H 13 #define XPACE_INDEXLIST_IMPL_H 15 #include <QtCore/QCache> 23 struct loadIndexPools;
83 #ifdef XPACE_SCURSOR_H 115 const std::vector<IndexList*>& ,
138 QAtomicInt ref_count;
150 mutable File index_file;
151 mutable File index_list_file;
155 mutable std::vector<Index> index_list;
156 mutable std::vector<Configuration> config_list;
157 std::map<String, size_t> name_list;
158 std::map<String, std::vector<size_t> > field_list;
160 struct index_list_header
184 std::vector<indexDesc> index_desc_list;
186 loadIndexPools* load_index_pools;
bool write(Index::WriteStatus *=0)
static size_t HashTableBytes
Each high-level Xpace object has a Configuration.
const Configuration & getIndexConfig(uint indexNum) const
A string, Unicode UTF-16 and reference-counted.
uint getIndexByField(const String &tag, size_t pos) const
unsigned long long uint64
static bool merge(const Configuration &, const std::vector< IndexList * > &, Index::WriteStatus *=0)
write this index; could take a while status callback
bool range(const Configuration &, Index::WriteStatus *)
Xpace project main namespace
Index & openIndex(const String &indexName, uint *indexNum, Configuration=Configuration())