<pre>I changed XMLAnalyzer so that it does not inherit from Ferret::Analysis::Analyzer. That seemed to have no effect. <br><br>I successfully ran ferret-browser.As shown below, I am using two fields - :file and :content. When I browse through <br>
the &quot;file&quot; term everything appears fine; all of the filenames are found. The &quot;content&quot; term on the other hand is<br>empty. Apparently I&#39;m not stuffing the tokens in the index at all. One question I have is exactly what should happen<br>
in the Tokenizer#text method and when will this method be called? <br><br>Thanks,<br>John<br><br><br>=====<br>index = Index::Index.new(:analyzer =&gt; XMLAnalyzer.new(),<br>                           :path =&gt; options.indexLocation,<br>
                             :create =&gt; true)<br><br>  Find.find(options.searchPath) do |path|<br>    if FileTest.file? path <br>      File.open(path) do |file|<br>          puts &quot;Adding file to index: &quot; + path<br>          index.add_document :file =&gt; path, <br>
                             :content =&gt; file.readlines<br>      end<br>    end<br>  end<br>=====<br><br><br><br><br>Hi!<br><br>On Wed, Apr 23, 2008 at 01:59:32PM -0400, S D wrote:<br>&gt;<i> [unfortunately I received my messages as a batched digest...hence, I&#39;m<br>
</i>&gt;<i> forced to respond in a new thread. I&#39;ve requested the administrator to<br></i>&gt;<i> change my config to receive each message on this list. Sorry for any<br></i>&gt;<i> inconvenience]<br></i>&gt;<i> <br></i>&gt;<i> Thanks for the response below. Here is XMLAnalyzer (currently I&#39;m not using<br>
</i>&gt;<i> the stop or lower case filter):<br></i>&gt;<i> <br></i>&gt;<i>   class XMLAnalyzer &lt; Ferret::Analysis::Analyzer<br></i><br>could you try if not inheriting from Ferret&#39;s Analyzer changes anything?<br>At least I usually don&#39;t do that in my analyzers.<br>
<br>[..]<br><br>&gt;<i> I just tried running ferret-browser by pointing to an index created with<br></i>&gt;<i> StandardTokenizer and got the  error below in Firefox. Is there any<br></i>&gt;<i> configuration that is necessary? Presumably the defaults should work.<br>
</i>[..]<br>&gt;<i> Internal Server Error No such file or directory -<br></i>&gt;<i> /usr/local/lib/site_ruby/1.8/ferret/browser/views/error/index.rhtml<br></i>&gt;<i> ------------------------------<br></i>&gt;<i>  WEBrick/1.3.1 (Ruby/1.8.6/2007-06-07) at <a href="http://127.0.0.1:3301">127.0.0.1:3301</a><br>
</i><br>works just fine here (Ferret 0.11.6 / Ubuntu), just tried it out. The<br>location from the error message looks a bit strange to me, how did you<br>install ferret?<br><br>Cheers,<br>Jens<br><br><br>-- <br>Jens Krämer<br>
webit! Gesellschaft für neue Medien mbH<br>Schnorrstraße 76 | 01069 Dresden<br>Telefon +49 351 46766-0 | Telefax +49 351 46766-66<br><a href="http://rubyforge.org/mailman/listinfo/ferret-talk">kraemer at webit.de</a> | <a href="http://www.webit.de">www.webit.de</a><br>
 <br>Amtsgericht Dresden | HRB 15422<br>GF Sven Haubold</pre>