src/PredFinder/PredFinder.cpp
// Loop through all of the type/source combinations and check for a type match, returning all matching documents

Loop through all of the type/source combinations and check for a type match, returning all matching documents
Loop through all of the type / source combinations and check for a type match returning all matching documents
BOOST_FOREACH(ElfDocumentTypeMap::value_type elf_doc_map, _elf_to_merge) {
			if (elf_doc_map.first.first == elf_type) {
				ElfDocumentMap::iterator elf_doc_i = elf_doc_map.second.find(docid);
				if (elf_doc_i != elf_doc_map.second.end()) {
					docs.push_back(elf_doc_i->second);
				}
			}
		}
BOOST_FOREACH ( ElfDocumentTypeMap :: value_type elf_doc_map , _elf_to_merge ) { if ( elf_doc_map . first . first == elf_type ) { ElfDocumentMap :: iterator elf_doc_i = elf_doc_map . second . find ( docid ) ; if ( elf_doc_i != elf_doc_map . second . end ( ) ) { docs . push_back ( elf_doc_i -> second ) ; } } }
Loop through all of the type/source combinations and check for a type match, returning all matching documents
Loop through all of the type / source combinations and check for a type match returning all matching documents