Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Pimenov <m@maps.me>2015-06-03 17:35:18 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:52:07 +0300
commit58fa09b57ec14a0a474e8fa5d476c2a71aaa5874 (patch)
tree38fc26d81418c30ebd8b2f303bda26902e66f590 /indexer/index_builder.cpp
parent3f37dc59dcf8277b55ac6da02440185bcfc68c5b (diff)
[omim] [indexer] Reorder indexing: all buckets for a feature instead of all features for a bucket.
Diffstat (limited to 'indexer/index_builder.cpp')
-rw-r--r--indexer/index_builder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/index_builder.cpp b/indexer/index_builder.cpp
index 8ce7b19e6f..5ae2fb326e 100644
--- a/indexer/index_builder.cpp
+++ b/indexer/index_builder.cpp
@@ -22,7 +22,7 @@ namespace indexer
FeaturesVector featuresVector(readCont, header);
FileWriter writer(idxFileName);
- BuildIndex(header.GetLastScale() + 1, header.GetLastScale(), featuresVector, writer, tmpFile);
+ BuildIndex(header, featuresVector, writer, tmpFile);
}
FilesContainerW(datFile, FileWriter::OP_WRITE_EXISTING).Write(idxFileName, INDEX_FILE_TAG);