<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Frank Perez's Blog - .NET</title>
    <link>http://www.pfsolutions-mi.com/blog/</link>
    <description>Tips, tricks, rantings, ravings, ideas, and life as a Visual FoxPro developer.</description>
    <language>en-us</language>
    <copyright>Frank Perez</copyright>
    <lastBuildDate>Fri, 14 Dec 2007 19:06:16 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.0.7226.0</generator>
    <managingEditor>frankperez@pfsolutions-mi.com</managingEditor>
    <webMaster>frankperez@pfsolutions-mi.com</webMaster>
    <item>
      <trackback:ping>http://www.pfsolutions-mi.com/blog/Trackback.aspx?guid=61e2c554-d7ea-4eb7-8598-6c30537dd03f</trackback:ping>
      <pingback:server>http://www.pfsolutions-mi.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.pfsolutions-mi.com/blog/PermaLink,guid,61e2c554-d7ea-4eb7-8598-6c30537dd03f.aspx</pingback:target>
      <dc:creator>Frank Perez</dc:creator>
      <wfw:comment>http://www.pfsolutions-mi.com/blog/CommentView,guid,61e2c554-d7ea-4eb7-8598-6c30537dd03f.aspx</wfw:comment>
      <wfw:commentRss>http://www.pfsolutions-mi.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=61e2c554-d7ea-4eb7-8598-6c30537dd03f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Last night Paul Mrozowski did a presentation called "Lucene.NET as a Document Search
Engine".  He began by explaining that <a href="http://incubator.apache.org/projects/lucene.net.html">Lucene.NET</a> is
an open source indexing and search library written in C#.  It is not a traditional
application.  Instead it is a tool developers can use to index and search documents,
such as CHM, DOC, HLP, PDF, RTF, and TXT files.  
</p>
        <p>
Paul first demonstrated how easy it is to install Lucene.NET, some of the configuration
settings, and how to set it up to run as a background service in Microsoft Windows. 
Next he showed us a COM wrapper class that he created in order to use Lucene.NET from
Visual FoxPro.
</p>
        <p>
The wrapper class could be used to index the source files and perform some pretty
complex searches.  I liked the way it could include the surrounding portions
of text with the search results.  For example, if you searched for the phrase
"fox" in "Visual FoxPro Rocks", you could include a variable amount of the original
characters found before and after the search phrase.
</p>
        <p>
In addition to indexing document files, he also demonstrated how the wrapper class
could be used to build your own index entries with meta data.  For example, you
could index the contents of a memo field and then store the table name and record
identification in the meta data.  Later, this information could be searched the
same as document file.
</p>
        <p>
Although the wrapper class did not have the complete functionality of Lucene.NET,
it did fill the most basic needs.  He mentioned the idea of either posting the
sample code to his web site or better yet making it a <a href="http://www.codeplex.com/VFPX">VFPX</a> project. 
All in all, it was a very cool presentation.
</p>
        <p>
          <br />
Links:<br />
DAFUG <a href="http://dafug.org">http://dafug.org</a><br />
Paul Mrozowski <a href="http://www.rcs-solutions.com">http://www.rcs-solutions.com</a><br /></p>
        <img width="0" height="0" src="http://www.pfsolutions-mi.com/blog/aggbug.ashx?id=61e2c554-d7ea-4eb7-8598-6c30537dd03f" />
      </body>
      <title>December 2007 - DAFUG Meeting</title>
      <guid isPermaLink="false">http://www.pfsolutions-mi.com/blog/PermaLink,guid,61e2c554-d7ea-4eb7-8598-6c30537dd03f.aspx</guid>
      <link>http://www.pfsolutions-mi.com/blog/2007/12/14/December2007DAFUGMeeting.aspx</link>
      <pubDate>Fri, 14 Dec 2007 19:06:16 GMT</pubDate>
      <description>&lt;p&gt;
Last night Paul Mrozowski did a presentation called "Lucene.NET as a Document Search
Engine".&amp;nbsp; He began by explaining that &lt;a href="http://incubator.apache.org/projects/lucene.net.html"&gt;Lucene.NET&lt;/a&gt; is
an open source indexing and search library written in C#.&amp;nbsp; It is not a traditional
application.&amp;nbsp; Instead it is a tool developers can use to index and search documents,
such as CHM, DOC, HLP, PDF, RTF, and TXT files.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
Paul first demonstrated how easy it is to install Lucene.NET, some of the configuration
settings, and how to set it up to run as a background service in Microsoft Windows.&amp;nbsp;
Next he showed us a COM wrapper class that he created in order to use Lucene.NET from
Visual FoxPro.
&lt;/p&gt;
&lt;p&gt;
The wrapper class could be used to index the source files and perform some pretty
complex searches.&amp;nbsp; I liked the way it could include the surrounding portions
of text with the search results.&amp;nbsp; For example, if you searched for the phrase
"fox" in "Visual FoxPro Rocks", you could include a variable amount of the original
characters found before and after the search phrase.
&lt;/p&gt;
&lt;p&gt;
In addition to indexing document files, he also demonstrated how the wrapper class
could be used to build your own index entries with meta data.&amp;nbsp; For example, you
could index the contents of a memo field and then store the table name and record
identification in the meta data.&amp;nbsp; Later, this information could be searched the
same as document file.
&lt;/p&gt;
&lt;p&gt;
Although the wrapper class did not have the complete functionality of Lucene.NET,
it did fill the most basic needs.&amp;nbsp; He mentioned the idea of either posting the
sample code to his web site or better yet making it a &lt;a href="http://www.codeplex.com/VFPX"&gt;VFPX&lt;/a&gt; project.&amp;nbsp;
All in all, it was a very cool presentation.
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
Links:&lt;br&gt;
DAFUG &lt;a href="http://dafug.org"&gt;http://dafug.org&lt;/a&gt;
&lt;br&gt;
Paul Mrozowski &lt;a href="http://www.rcs-solutions.com"&gt;http://www.rcs-solutions.com&lt;/a&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.pfsolutions-mi.com/blog/aggbug.ashx?id=61e2c554-d7ea-4eb7-8598-6c30537dd03f" /&gt;</description>
      <comments>http://www.pfsolutions-mi.com/blog/CommentView,guid,61e2c554-d7ea-4eb7-8598-6c30537dd03f.aspx</comments>
      <category>VFP</category>
      <category>DAFUG</category>
      <category>.NET</category>
    </item>
  </channel>
</rss>