From 793e51c86c1f693d2ce35499b6a5b8e7f239c84c Mon Sep 17 00:00:00 2001 From: kelson42 Date: Fri, 8 Jan 2010 23:03:06 +0000 Subject: [PATCH] + new trunk zimlib --- src/common/kiwix/indexer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/kiwix/indexer.cpp b/src/common/kiwix/indexer.cpp index 1cdf42eba..9e4268a7d 100644 --- a/src/common/kiwix/indexer.cpp +++ b/src/common/kiwix/indexer.cpp @@ -96,11 +96,11 @@ namespace kiwix { /* Put the data in the document */ Xapian::Document document; document.add_value(0, this->htmlParser.title); - document.set_data(currentArticle.getUrl().getValue().c_str()); + document.set_data(currentArticle.getLongUrl().c_str()); indexer.set_document(document); /* Debug output */ - std::cout << "Indexing " << currentArticle.getUrl().getValue() << "..." << std::endl; + std::cout << "Indexing " << currentArticle.getLongUrl() << "..." << std::endl; /* Index the title */ if (!this->htmlParser.title.empty()) {