[sword-svn] r188 - trunk

scribe at crosswire.org scribe at crosswire.org
Mon Feb 21 18:59:17 MST 2005


Author: scribe
Date: 2005-02-21 18:59:16 -0700 (Mon, 21 Feb 2005)
New Revision: 188

Modified:
   trunk/wordsearchresults.jsp
Log:
Added preliminary support for index searching


Modified: trunk/wordsearchresults.jsp
===================================================================
--- trunk/wordsearchresults.jsp	2005-02-01 09:54:59 UTC (rev 187)
+++ trunk/wordsearchresults.jsp	2005-02-22 01:59:16 UTC (rev 188)
@@ -17,7 +17,7 @@
 	if (tmp != null)
 		range = tmp;
 
-	SearchType stype = SearchType.MULTIWORD;
+	SearchType stype = (activeModule.hasSearchFramework()) ? SearchType.LUCENE : SearchType.MULTIWORD;
 	tmp = request.getParameter("stype");
 	if (tmp != null) {
 		if (tmp.equalsIgnoreCase("P"))



More information about the sword-cvs mailing list