{"id":536,"date":"2003-11-12T21:13:44","date_gmt":"2003-11-13T01:13:44","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=536"},"modified":"2003-11-12T21:13:44","modified_gmt":"2003-11-13T01:13:44","slug":"cfx_lucene-updates","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2003\/11\/12\/cfx_lucene-updates\/","title":{"rendered":"CFX_Lucene updates"},"content":{"rendered":"<p>Couple people have written me in the last couple days with updates they&#8217;ve done to the <a href=\"http:\/\/cephas.net\/projects\/\">Lucene and ColdFusion tags<\/a> I wrote a couple months ago.  <\/p>\n<p>First, <a href=\"http:\/\/www.torchbox.com\/people\/nick\/index.html\">Nick Burch<\/a> from <a href=\"http:\/\/www.torchbox.com\/index.html\">Torchbox<\/a> updated the CFX tag so that it &#8220;<i>&#8230; behaves better under error conditions and &#8230; the command line debug now works.<\/i>&#8221;  I also read <a href=\"http:\/\/www.corfield.org\/cgi-bin\/mt-comments.cgi?entry_id=59\">here<\/a> that they (torchbox) are hoping to release an open source package written in Java &#8220;<i>&#8230; to convert file<br \/>\ntypes to plain text and a CF custom tag to interface to Lucence which will<br \/>\nsearch them.<\/i>&#8221;<\/p>\n<p>Today, <a href=\"http:\/\/www.figital.com\/\">Scott<\/a> piped in with a nice addition that adds the score to the query returned to the calling tag:<br \/>\n<code><br \/>\n\/\/ Define column indexes<br \/>\nString[] columns = { \"URL\", \"TITLE\", \"SUMMARY\", \"SCORE\" } ;<\/p>\n<p>\/\/ loop over all the results, add each to the query<br \/>\nfor (int i = 0; i<br \/>\nFor those of you like Scott who want to index PDF and Office documents, I'd suggest you start taking a look at these JGURU FAQ's:<\/p>\n<p>Java Guru: <a href=\"http:\/\/www.jguru.com\/faq\/view.jsp?EID=1074237\">How can I index PDF documents?<\/a><\/p>\n<p>Java Guru: <a href=\"http:\/\/www.jguru.com\/faq\/view.jsp?EID=1074234\">How can I index Word documents?<\/a><\/p>\n<p>Cheers!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Couple people have written me in the last couple days with updates they&#8217;ve done to the Lucene and ColdFusion tags I wrote a couple months ago. First, Nick Burch from Torchbox updated the CFX tag so that it &#8220;&#8230; behaves better under error conditions and &#8230; the command line debug now works.&#8221; I also read &hellip; <a href=\"https:\/\/cephas.net\/blog\/2003\/11\/12\/cfx_lucene-updates\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">CFX_Lucene updates<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/536"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=536"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/536\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}