Author: tack
Date: Sat Apr 22 00:37:09 2006
New Revision: 1443
Modified:
trunk/base/src/db.py
Log:
Split keywords on digits too.
Modified: trunk/base/src/db.py
==============================================================================
--- trunk/base/src/db.py (original)
+++ trunk/base/src/db.py Sat Apr 22 00:37:09 2006
@@ -61,7 +61,7 @@
"some", "that", "the", "this", "was", "what", "when", "where", "who",
"will", "with", "the", "www", "http", "org", "of"
)
-WORDS_DELIM = re.compile("[\W_]+", re.U)
+WORDS_DELIM = re.compile("[\W_\d]+", re.U)
# Word length limits for keyword indexing
MIN_WORD_LENGTH = 2
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog