[sword-cvs] sword/examples/cmdline search.cpp,1.15,1.16

sword@www.crosswire.org sword@www.crosswire.org
Thu, 28 Aug 2003 23:00:18 -0700


Update of /usr/local/cvsroot/sword/examples/cmdline
In directory www:/tmp/cvs-serv27914/examples/cmdline

Modified Files:
	search.cpp 
Log Message:
	Abstracted the search interface from SWModule
	Added experimental implementation of fast
		search framework to zText using
		clucene



Index: search.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/examples/cmdline/search.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- search.cpp	21 Oct 2002 22:48:24 -0000	1.15
+++ search.cpp	29 Aug 2003 06:00:16 -0000	1.16
@@ -59,7 +59,7 @@
 
 	std::cout << "[0=================================50===============================100]\n ";
 	char lineLen = 70;
-	listkey = target->Search(argv[2], -2, 0/*REG_ICASE*/, 0, 0, &percentUpdate, &lineLen);
+	listkey = target->Search(argv[2], -3, 0/*REG_ICASE*/, 0, 0, &percentUpdate, &lineLen);
 	std::cout << "\n";
 	while (!listkey.Error()) {
 		std::cout << (const char *)listkey << std::endl;