diff --git a/concordia/index_searcher.cpp b/concordia/index_searcher.cpp index b23f3f6..e5f6310 100644 --- a/concordia/index_searcher.cpp +++ b/concordia/index_searcher.cpp @@ -22,7 +22,7 @@ MatchedPatternFragment IndexSearcher::simpleSearch( bool byWhitespace) throw(ConcordiaException) { int left; std::vector hash = - hashGenerator->generateHash(pattern, byWhitespace).getCodes(); + hashGenerator->generateHash(pattern, byWhitespace).getCodes(); saidx_t patternLength = hash.size()*sizeof(INDEX_CHARACTER_TYPE); sauchar_t * patternArray = Utils::indexVectorToSaucharArray(hash); @@ -113,7 +113,8 @@ boost::shared_ptr IndexSearcher::concordiaSearch( boost::shared_ptr > SA, const std::string & pattern, bool byWhitespace) throw(ConcordiaException) { - TokenizedSentence hashedPattern = hashGenerator->generateHash(pattern, byWhitespace); + TokenizedSentence hashedPattern = + hashGenerator->generateHash(pattern, byWhitespace); boost::shared_ptr result = boost::shared_ptr( new ConcordiaSearchResult(hashedPattern));