Re: verity problem with phrase searching
Hi Mark I just had the same problem... You have to read the spec on livedocs to understand what verity all does ;) I solved the problem with the AND operator: 1) clean the verity searchcrtieria with the exzellent verityclean udf from cflib.org cfset var cleanSearchstring = _verityclean(trim(lcase(arguments.criteria)))/ 2) than replace any empty space with the AND operator cfset cleanSearchstring = replace(cleanSearchstring, , and ,all)/ If you using english language pack - what you probably do - that works excellent... but not when you use the german language pack. Thee AND operator doesn't work as exspected with the german language pack (!?!?)...nobody knows why, I guess, it is a bug in the language pack. Daniel danielschmid.name Hi All I'm doing a phrase search with verity with following phrase (j2ee struts) I am using MX7 and type simple This should just return results containing the phrase but it returns results with j2ee OR struts Can any one help? According to the documentation this should work. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264115 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Verity Problem
Apoliogies this was an internal problem mailed to me...here it is again.. I have an English collection (custom from db) which contains French words (eg. scurit, prsident). When searching the collection no results are returned even though the word exists. Any work arounds? I also have the same problem with German words with special characters. The values it will not return are things like company names etc... Any ideas anyone? From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 11 October 2004 17:02 To: CF-Talk Subject: Verity Problem So this is the problem ... I have an English collection (custom from db) which contains French words (eg. scurit, prsident). When searching the collection no results are returned even though the word exists. Any work arounds? I also have the same problem with German words with special characters. I can't create collections for French and German as the content is actually stored as part of the English version of the Reed Interactive sites. These are things like company names. Any help out there much appreciated This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Verity problem running MX 6.1 J2EE under Tomcat 4.1.18 on Windows XP
I found my error and thought I should share this in case anyone has similar problem in the future running MX 6.1 J2EE under Tomcat. The instructions for creating setenv.bat in the link (below) are very good.You only have to set JAVA_HOME and CF_HOME, and the script adds all the other paths and other variables for you. The only other thing you have to do is to pay attention to two places where comments in the example setenv.bat script tell you to get rid of newlines so that the two set statements are all on one line.I failed to remove the extra newlines where the CF_SECURITY_JVM_OPTIONS variable is set.Even though that comes below the place in the script where the PATH is set, somehow caused an exception trying to load cfindex.dll. Thanks to Tom and all who offered help. -Original Message- From: Tom Jordahl [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 10:37 AM To: CF-Talk Subject: RE: Verity problem running MX 6.1 J2EE under Tomcat 4.1.18 on Win dows XP You need to have the Verity libraries on the PATH environment variable so Java/CFMX will find them when it tries to open them. There are instructions for the J2EE editions on where to set this path, I am not sure if they cover Tomcat. -- Tom Jordahl Macromedia Server Development -Original Message- From: Michael R. Levy [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 9:41 PM To: CF-Talk Subject: Verity problem running MX 6.1 J2EE under Tomcat 4.1.18 on Windows XP Hi, I have got MX 6.1 running as J2EE under Tomcat 4.1.18 on Windows XP Pro. I've followed the instructions here: http://www.macromedia.com/support/coldfusion/j2ee/phase2-tomcat-deploy.html http://www.macromedia.com/support/coldfusion/j2ee/phase2-tomcat-deploy.html ...and created the WAR files and deployed them, created 'setenv.bat' according to instructions, and done the other things mentioned in the article. I've ported an application and everything is working fine -- the SQL Server database connections, email, CFC's -- everything except Verity.So I think overall the configuration must be OK. The CF debug info shows: Could not create instance of tag handler class coldfusion.tagext.lang.CFSearchTag: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Verity service is not available.. The error in (Tomcat Root)\webapps\cfusion\WEB-INF\cfusion\logs\exception.log seems to be more specific, but I don't understand what is wrong with the path. Error,main,12/14/03,17:42:46,,no cfindex in java.library.path java.lang.UnsatisfiedLinkError: no cfindex in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) (.etc) I figured it had to do with not having set up setenv.bat correctly. However, I can say that if I open a DOS window, set the directory to C:\Tomcat4.1\bin and then run call setenv.bat and then I run dir %CF_SHARED_LIBS% I see all the files in the various directories that should be there, including C:\Tomcat4.1\webapps\cfusion\WEB-INF\cfusion\lib\_nti40\bin and C:\Tomcat4.1\webapps\cfusion\WEB-INF\cfusion\jintegra\bin Any ideas? Thanks! _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Verity problem running MX 6.1 J2EE under Tomcat 4.1.18 on Win dows XP
You need to have the Verity libraries on the PATH environment variable so Java/CFMX will find them when it tries to open them. There are instructions for the J2EE editions on where to set this path, I am not sure if they cover Tomcat. -- Tom Jordahl Macromedia Server Development -Original Message- From: Michael R. Levy [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 9:41 PM To: CF-Talk Subject: Verity problem running MX 6.1 J2EE under Tomcat 4.1.18 on Windows XP Hi, I have got MX 6.1 running as J2EE under Tomcat 4.1.18 on Windows XP Pro. I've followed the instructions here: http://www.macromedia.com/support/coldfusion/j2ee/phase2-tomcat-deploy.html http://www.macromedia.com/support/coldfusion/j2ee/phase2-tomcat-deploy.html ...and created the WAR files and deployed them, created 'setenv.bat' according to instructions, and done the other things mentioned in the article. I've ported an application and everything is working fine -- the SQL Server database connections, email, CFC's -- everything except Verity.So I think overall the configuration must be OK. The CF debug info shows: Could not create instance of tag handler class coldfusion.tagext.lang.CFSearchTag: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Verity service is not available.. The error in (Tomcat Root)\webapps\cfusion\WEB-INF\cfusion\logs\exception.log seems to be more specific, but I don't understand what is wrong with the path. Error,main,12/14/03,17:42:46,,no cfindex in java.library.path java.lang.UnsatisfiedLinkError: no cfindex in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) (.etc) I figured it had to do with not having set up setenv.bat correctly. However, I can say that if I open a DOS window, set the directory to C:\Tomcat4.1\bin and then run call setenv.bat and then I run dir %CF_SHARED_LIBS% I see all the files in the various directories that should be there, including C:\Tomcat4.1\webapps\cfusion\WEB-INF\cfusion\lib\_nti40\bin and C:\Tomcat4.1\webapps\cfusion\WEB-INF\cfusion\jintegra\bin Any ideas? Thanks! _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Verity problem
Nyon, You need to do a CUSTOM index on your data rather than indexing your cfm documents. It is the content that is displayed from the database by those pages that you want to index, not the CF templates. Have a look at the CF documentation on CFINDEX using TYPE=CUSTOM http://livedocs.macromedia.com/cfmxdocs/CFML_Reference/Tags-pt160.jsp#110028 6 Hope this helps. Regards Stephen - Original Message - From: YC Nyon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 7:05 PM Subject: Verity problem I have Verity do a collection on my cfm documents. Works well except that it also return my sql statements embedded between the CFQuery tags. For example, a keyword search using Select from would return SideBar select * from sidebar where id = '1' select * from sidebar where id = '10' select * from sidebar where id = '9' Score: 82% How do I solve it ? Regards Nyon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Verity problem
Adrian, You can search for those words if you replace them with no blanks, but make sure you put a space both before and after them. This should also only happen if you are splitting the string out to search the words one at a time. #replace(string, and , , all)# #replace(string, or , , all)# #replace(string, not , , all)# Christian Watt -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 11:18 AM To: CF-Talk Subject: Verity problem I'm new to this so go easy on me. I'm using verity to search a site, typing in 'and', 'not' and 'or' on their own is causing an error. Anyone out there come across this problem before? Stopping these words from going through isn't the answer as I then can't search for things like s'and', f'or'gotten ect.. Cheers Adrian Lynch -- United Kingdom http://www.thoughtbubble.co.uk/ Ph: +44 (0) 20 7387 8890 -- New Zealand http://www.thoughtbubble.co.nz/ Ph: +64 (0) 9 488 9131 The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s) . Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0) 20 7387 8890 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Verity problem
I've found that verity doesn't seem to like criteria with leading or trailing spaces, so I trim the search criteria before passing it to the cfsearch tag. Anyone know why Verity doesn't like the spaces? Alex -Original Message- From: Christian L. Watt [SMTP:[EMAIL PROTECTED]] Sent: 02 August 2001 16:40 To: CF-Talk Subject: RE: Verity problem Adrian, You can search for those words if you replace them with no blanks, but make sure you put a space both before and after them. This should also only happen if you are splitting the string out to search the words one at a time. #replace(string, and , , all)# #replace(string, or , , all)# #replace(string, not , , all)# Christian Watt -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 11:18 AM To: CF-Talk Subject: Verity problem I'm new to this so go easy on me. I'm using verity to search a site, typing in 'and', 'not' and 'or' on their own is causing an error. Anyone out there come across this problem before? Stopping these words from going through isn't the answer as I then can't search for things like s'and', f'or'gotten ect.. Cheers Adrian Lynch -- United Kingdom http://www.thoughtbubble.co.uk/ Ph: +44 (0) 20 7387 8890 -- New Zealand http://www.thoughtbubble.co.nz/ Ph: +64 (0) 9 488 9131 The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s) . Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0) 20 7387 8890 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Verity problem
Try This: 1) Remove all punctuation from the string using regular expressions. 2) Strip out any extra spaces from the string so that you are left with only single spaces separating words. 3) Treat the string as a space separated list and loop around it. 4) In the loop, append to a new space separated list any words that are NOT and, or, not. hope this helps -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 5:18 PM To: CF-Talk Subject: Verity problem I'm new to this so go easy on me. I'm using verity to search a site, typing in 'and', 'not' and 'or' on their own is causing an error. Anyone out there come across this problem before? Stopping these words from going through isn't the answer as I then can't search for things like s'and', f'or'gotten ect.. Cheers Adrian Lynch -- United Kingdom http://www.thoughtbubble.co.uk/ Ph: +44 (0) 20 7387 8890 -- New Zealand http://www.thoughtbubble.co.nz/ Ph: +64 (0) 9 488 9131 The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s) . Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0) 20 7387 8890 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Verity problem
Dont replace and and not etc replace and , ornot with the space at each side, works for me -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED]] Sent: 26 July 2001 17:18 To: CF-Talk Subject: Verity problem I'm new to this so go easy on me. I'm using verity to search a site, typing in 'and', 'not' and 'or' on their own is causing an error. Anyone out there come across this problem before? Stopping these words from going through isn't the answer as I then can't search for things like s'and', f'or'gotten ect.. Cheers Adrian Lynch -- United Kingdom http://www.thoughtbubble.co.uk/ Ph: +44 (0) 20 7387 8890 -- New Zealand http://www.thoughtbubble.co.nz/ Ph: +64 (0) 9 488 9131 The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s) . Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0) 20 7387 8890 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Verity Problem (solved)
SIGHS Type=Great Rejoicing Well, I finally figgered out the cause of my Verity problem. /SIGHS When you set TYPE=File in CFINDEX, the filename you use for the KEY must apparently be fully qualified with the path as well. My app is actually working now, but I have little hair left. g The docs, I feel, are misleading. Although they say the KEY is the fully qualified path when TYPE=Path, they simply say the KEY is Document filename when TYPE=File. The fact that fully qualified was used in referring to the Path type but not the File type made me conclude, incorrectly, that the filename did not need to be fully qualified. I had specified the path in the URLPATH parameter, so incorrectly thought that would suffice. What made things so confusing was that I had discovered by accident that if I ran one CFINDEX using Type=Path, I could then use a CFINDEX where Type=File. Apparently the fully qualified path I specified in KEY when I ran the CFINDEX with TYPE=Path switched the internal default path for Verity. I was just about ready to throw out Verity as a quirky engine that didn't work. What a relief to discover that the world actually works again g... Gene Kraybill On 4 Jul 2001, at 23:35, [EMAIL PROTECTED] wrote: I have an application that uses three Verity collections. I can successfully create the first collection and retrieve info from it, and can then do the same with the second collection. However, when I go back and do an update on the first collection, 2 error messages like the following are generated in file/sysinfo.log for each page I attempt to add: Start of error -- Error E3-0422 (VDK 2): Could not find file Page_338.htm Error E3-0032 (VDK): No valid documents found in C:\WINNT\CFI70CB.tmp for collection E:\Web\worldwideguide\guides\verity\Guide_2_Pages\file End of Error -- The contents of this update also do not show up in searches. This is my CFINDEX: CFINDEX collection=#ThisCollection# action=Update type=File key=Page_#ThisPageID#.htm CUSTOM1=#ThisPageURL# CUSTOM2=#ThisPageID# extensions=.htm language=English Once this error occurs with a collection, I discovered that the only way I can correct it is to run the following code, taken in desperation from some sample CF code: CFINDEX collection=#ThisCollection# action=Refresh type=PATH key=#IndexDirectory#\ extensions=#IndexExtensions# recurse=#IndexRecurse# language=#IndexLanguage# urlPath=#URLPath#\verity\Guide#Dev#_#GuideID#_PageLinks Once I run the sample code, which does a PATH indexing operation rather than a FILE operation, I can then re-run the first CFINDEX and repopulate my collection (via a loop, file by file). The first CFINDEX does NOT have the same corrective effect, even if I change it to a Refresh rather than an Update. I've tried deleting, purging, repairing and optimizing, all to no avail. The only thing that seems to work is running the PATH-based refresh, then going back to my initial FILE-based indexing within a loop. The problem with that, of course, is that each time I must complete rebuild the collection, which will NOT be practical in the application I'm building. Any ideas greatly appreciated... Gene Kraybill LPW Associates LLC Mansfield, PA ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists