diff --git a/libsearch/index/file-content-indexer.cpp b/libsearch/index/file-content-indexer.cpp index 5112459..59fc146 100644 --- a/libsearch/index/file-content-indexer.cpp +++ b/libsearch/index/file-content-indexer.cpp @@ -42,7 +42,7 @@ bool fileContentIndexer::index() m_document.setData(content); - std::vector term = ChineseSegmentation::getInstance()->callSegment(content.left(20480000)); + std::vector term = ChineseSegmentation::getInstance()->callSegment(content); content.clear(); content.squeeze();