similar to: Tokenizers?

Displaying 20 results from an estimated 600 matches similar to: "Tokenizers?"

2007 Jan 22
1
Ferret-talk Digest, Vol 15, Issue 8
Hi everyone, thank you for the help last time. A quick question, through rereading the ferret tutorial I realized that by adding :key => :id to the index loading, I could access my documents through index["11"], in addition to using the doc_id from ferret through index[122]... This is great, and saves me a line or two a lot of places in my code. However, is there a way of extracting
2006 Sep 05
15
ferret finds ''tests'' but not ''test''
Hello all, Quick question (possibly!) - I''ve got a few records indexed and doing a search for ''test'' reports in no hits even though I know the word ''tests'' exists in the indexed field. Doing a search for ''tests'' produces a result. I would have thought that ''test'' would match ''tests'' but no such
2007 Aug 14
0
Temporary files / Uploads
Hi, how can I influence, where mongrel stores temporary files like uploads. As far as I can see, int honours the TMP or TEMP environment. Can I also set it in the configuration file for mongrel? I have not found something about it in the docs. Another thing: When I upload a file, the file is stored 3-4 times: In the TMP by mongrel as mongrel.3400.0 and then as CGI.3400.0 I currently
2006 Apr 12
1
testing tokenizers
Hi, is there a way to test tokenizers? I mean, I want to give input stream and see the output tokens. AND is there a way to see an indexed document''s index tokens? Which words in the document are used to index this document? Thanks in advance Onur
2007 Jun 25
4
Ignore apostrophes in words
Hi, I just started using ferret and the aaf plugin and it seems to work quite nicely. However, my fields are very short (titles of music) and I don''t think may users will be typing in apostrophes when they are looking for something. Right now, for a simple document such as "what i''ve done" I''d like it to be indexed as "what ive done" instead. Right
2006 Sep 15
1
Custom analyzer not invoked?
Hello, I''m trying to define my own analyzer by doing something like: #----------------------------------------------------- require ''ferret'' include Ferret class MyAnalyzer < Analysis::Analyzer def token_stream(field, str) # Display results of analysis puts ''Analyzing: field:%s str:%s'' % [field, str] t =
2006 Oct 14
2
customer analyzer?
I''d like to make my own analyzer for stemming, but where do I put it or how do I reference it? -- Posted via http://www.ruby-forum.com/.
2006 May 18
3
access to an ApplicationController property from a view
Hi there, How is it possible to get access to an ApplicationController property from a view? Consider this (simplified) situation: class ApplicationController < ActionController::Base def folder_id @folder_id = params[:id] return @folder_id end end class FolderController < ApplicationController def show @folder = Folder.find_by_id(folder_id) end end So far,
2007 May 18
4
No return status from mongrel upload progress (and thus no updates on the bar)
Hi all, I''m using Boxroom (http://boxroom.rubyforge.org/) and trying to get upload progress working. I''ve also been testing the sample code at http://itblog.mcgeecorp.com/2007/5/15/mongrel-upload-progress-demo/. I run a Mongrel cluster, and so am using drb (as per http://mongrel.rubyforge.org/docs/upload_progress.html). Starting up rails, I get lots of useful-sounding output:
2004 Nov 18
1
Re: Shared object not being built by patch-o-matic-ng
Stian B. Barmen schrieb: > I try to use patch-o-matic-ng for installation. Kernel patching works > nicely but the libipt_ipp2p.so shared object does not get built. I find > the .c file in the patch-o-matic tree under ipp2p but I don''t know how > to manually compile it. > My lsmod includes the sucsessfully made ipt_ipp2p module and I also > recompiled iptables for
2007 Nov 13
8
acts_as_ferret : cannot use a customized Analyzer (as indicated in the AdvancedUsageNotes)
Hi all, I cannot make aaf (rev. 220) use my custom analyzer, despite following the indications @ http://projects.jkraemer.net/acts_as_ferret/wiki/AdvancedUsage To pinpoint the problem, I created a model + a simple analyzer with 2 stop words : "fax" and "gsm". test 1 : model.rebuild_index + model.find_by_contents("fax") # fax is a stop word. => I get a
2007 Apr 28
6
Determine how many documents a term occurs in
Is there a fast way to determine how many documents a term occurs in, besides iterating through every document with TermDocEnum? -- Best regards, Stian Gryt?yr
2005 Dec 31
1
Questions regarding quota
Hi, I have some trouble trying to test the quota plugin. First off all, it says in the wiki: "Dovecot 1.0 supports quota using a quota plugin. It's currently discussed in Dovecot LDA page and it supports only very simple quota calculation which is suitable only for mboxes. Maildir++ quota support will come later." Does that mean that it won't work at all with Maildir++, or
2005 Mar 13
7
[Bug 998] --without-opensc is not respected
http://bugzilla.mindrot.org/show_bug.cgi?id=998 Summary: --without-opensc is not respected Product: Portable OpenSSH Version: -current Platform: All OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: Build system AssignedTo: openssh-bugs at mindrot.org ReportedBy: stian
2007 Feb 28
5
How to use find_options in multi_search
Hello everyone, I''m using multi-search to search in some attributes of two classes. One of the attributes is the id of the customer. For each multi_search I want to do a give the id of the current customer as a parameter. This should only return results for the given customer. My current code looks like this: Folder.multi_search(@search_query, [Myfile]) I noticed in the API you can
2007 Jan 19
3
Rails file sharing application
Hi: I been looking for an file sharing application for en intranet enviornment. So far I have found ''boxroom'' from rubyforge. Are there more such open source application? Thought you might know hence giving a try here. Appreciate any feedback. Google search doesn''t provide much help here either... Cheers -- Posted via http://www.ruby-forum.com/.
2001 Nov 26
2
err:module:BUILTIN32_dlopen failed to load .so lib for builtin x11drv.dll
I get the following error with the newest cvs wine: guezzwho@guezzwho:/c/windows > wine notepad.exe err:module:BUILTIN32_dlopen failed to load .so lib for builtin x11drv.dll: undefined symbol: XF86VidModeSetGammaRamp Could not load graphics driver 'x11drv' err:win:GetDesktopWindow You need the -desktop option when running with native USER Older wine / winex releases work just fine,
2006 Mar 14
1
Losing messages
Hi, I have been running dovecot cvs happily for.. well.. very, very long now. Don't remember when I switched from 0.99, but it was back in the test-days, long before the alpha's. Anyway, it seems to have been working very well all the time. But recently three of my clients have claimed to have lost mail when moving from Thunderbird. I even experienced it myself once. I'm using
2005 Oct 27
2
Problems with dual ldap auth
Hi, I can't seem to figure this out. Is it impossible to use two different ldap auth? It works if I use one ldap and one pam, but I do need to use ldap for both. This is from my config: auth default { mechanisms = plain passdb ldap { args = /etc/dovecot/ldap-virtual.conf } passdb ldap { args = /etc/dovecot/dovecot-ldap.conf } userdb ldap { args =
2004 Nov 18
5
Torrent support in IPP2P
Hello, I guess a few of you know about the iptables-p2p project at the http://sourceforge.net/projects/iptables-p2p site. This suite has an excellent filter of which I use today and its running very smoothly. The main reason why I use this is because I desperately need to block torrents. IPP2P does not do this at this time (it seems to me in the doc at least). Is it maybe some way we could merge