Hi David,

thank you for the new release.

To the details. How do I compile the latest svn checkout? If I do the 
normal procedure "setup.rb config && setub.rb setup && setup.rb 
install", it won't compile because files are missing in ext/.

By trying out I found that "rake package" copies those files to ext/. 
But now "setup.rb setup" gives 3 compile errors for except.c. First one 
is:

except.c:8: error: `THREAD_ONCE_INIT' undeclared here (not in a 
function)

I found that constant in no file in the checkout. Where is it?


On the other hand building the latest release from 
http://ferret.davebalmain.com/trac/wiki/DownloadStable works.

So I played around with that one and have added/changed some things on 
which I would like to hear your opinion.

* I made QueryParser's "clean_string" callable via Ruby. So that one can 
override the method. For that it must be called in frt_qp_parse() via 
rb_funcall(). Problem is: qp_parse() is also directly called from C 
(index_get_query), so in this case "clean_string" will not be called.

* The current StandardAnalyzer does not parse UTF-8 strings correctly. 
So I made a quick hack and copy-and-pasted your old SA-implementation 
with Regular Expression to C. Is this of interest? I then would add the 
stuff I didnt need (handling of acronyms) and send you the diffs.

* I needed .reader on IndexSearcher . This should be in the main branch 
too, right?


Best regards

josh

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to