similar to: Chinese full text searching by acts_as_ferret?

Displaying 20 results from an estimated 5000 matches similar to: "Chinese full text searching by acts_as_ferret?"

2007 Apr 29
1
Chinese full-text support! Still fail-_-
Hi all, I want to use ferrent in my website but when i input chinese words, i have the same symptom like Chengcai. In order to fix it, i have reviewed all the topics about chinese support in our forum and tried all the way your guys suggested but still made any progress. i downloaded the latest version of ferret from svn. Thanks and regards. captain Chengcai He wrote: > Hello everyone!
2007 May 02
4
Wrong total_hits when using conditions in find_by_contents
In my model Topic: acts_as_ferret({ :fields => {:username => {:store => :yes, :boost => 30}, :subject => {:store => :yes, :boost => 20}, :body => {:store => :yes, :boost => 10}}, :remote => true }, { :analyzer => Ferret::Analysis::RegExpAnalyzer.new(/./, false) }) def self.full_text_search(q, options = {}, find_options = {}) return nil if q.nil? or
2007 Jul 18
5
Strange search result with conditions in find_by_contents
Hi, guys: Strange search result with conditions in find_by_contents! first of all, i''ve installed the acts_as_ferret to my project vender folder by ''ruby script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret'' in my SearchController def searchforum if !params[:doSearch].nil? if params[:searchTerms].nil? || params[:searchTerms] ==
2007 Jul 17
3
two acts_as_ferret questions!
hi, guys: two acts_as_ferret questions! 1, ruby script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret sh: svn: command not found i can not install acts_as_ferret to my Rails project. what''s wrong? i''m useing rhel 4! 2, i downloaded the acts_as_ferret-0.4.0.tgz at http://rubyforge.org/frs/?group_id=2916&release_id=10617 and uploaded to
2006 Oct 31
3
No search results using Searcher
I just started using Ferret and I successfully indexed some documents. I can search this index using the following code: index = Index::Index.new(:path => path) index.search_each("something") do |doc, score| print "##{doc} #{index[doc][''url'']} - #{score}" print "\n" end However, when I try to use Search::Searcher and QueryParser
2006 Jul 18
10
searching with chinese chars
Hi all, maybe not a Ferret question, but I assume here might have came across that already. I wrote a simple CGI app that adds docs into a Ferret index. The idea is testing asian languages input and searching. The script that does the input seems to be OK. As David mentioned in a question I made a little while ago, Ferret''s index is agnostic, in the sense that you can store anything in
2007 Jan 19
3
How to have 'o' == 'ö'
Greetings, (using acts_as_ferret) So I have a book title "M?ngrel ?Horsemen?" in my index. Searching for "M?ngrel" retrieves the document. But I would like searching for "Mongrel" to also retrieve the document. Which it does not currently. Anyone have any good solutions to this problem? I suppose I could filter the documents and queries first which something
2007 Apr 13
5
undefined method `ferret_index'' for xxx:Class
Hi I am trying to use ferret; the regular search works; but when I use the find_storage_by_contents to highlight the results, I am getting the above error. Please help thanks -- Posted via http://www.ruby-forum.com/.
2007 May 23
1
Memory Leak When Searching For Multilingual Keyword(s)
On Windows XP, I played the AAF demo (svn://projects.jkraemer.net/acts_as_ferret/trunk/demo) that works nicely with English content. However, if the keyword is non-English (no matter whether there is any content in db), the server immediately causes memory leak over 1GB and stops responding. The languages I tried include: French (utf-8) German (utf-8) Spanish (utf-8) Chinese (utf-8) Japanese
2006 Sep 01
3
Ferret/acts_as_ferret don''t seem to be doing anything
I''m having an odd problem with Ferret 0.9.5 and acts_as_ferret 0.2.3, on RedHat Linux Enterprise 4. All of my find_by_contents calls return 0 results. When I try Foo.rebuild_index via the console, it returns nil. This is happening on my production machine, during deployment of my app. Everything works perfectly on my development machine (Windows). I have no idea where to start
2006 Aug 24
2
acts_as_ferret for Ferret 0.10
Hi all, the current acts_as_ferret trunk is now ported to Ferret 0.10. Get it while it''s hot at svn://projects.jkraemer.net/acts_as_ferret/trunk/plugin Nearly everything works, besides this: - all queries are ORed (no way to tell the QueryParser to build AND queries by default) - more_like_this is broken I''m working with Dave to fix these things soon. The last Ferret 0.9.x
2007 Jul 27
6
Problem with installing acts_as_ferret plugin
Hi all, when I type this: ruby script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret from my rails project the plugin is not getting installed, its simply going back to my rails application. I don''t find the plugin in the vendor/plugin directory I am using Instant Rails for your information. Could anyone please let me know whats going wrong...
2005 Aug 28
7
Unicode support in FXRuby 1.6
All, As some of you know, Jeroen has added support for Unicode strings in the unstable development version of FOX (version 1.5). I''m trying to plan ahead to decide how best to support this for FXRuby 1.6, but I don''t really know anything about Ruby''s support for Unicode or i18n in general. If you''re familiar with this topic (how/if Ruby deals with Unicode
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
2006 Oct 25
3
i cant install acts_as_ferret
This is what happens when i try to get acts_as_ferret ...."nothing much".... Please help me and excuse me if its really dumb, i''m new to this! thanks C:\rails\app>gem install ferret Attempting local installation of ''ferret'' Local gem file not found: ferret*.gem Attempting remote installation of ''ferret'' Updating Gem source index for:
2007 Jun 06
4
globalize+acts_as_ferret
Hey all, I''m using acts_as_ferret and globalize. I stumbled upon that post on google: http://osdir.com/ml/lang.ruby.ferret.general/2007-01/msg00068.html does anybody know if it''s included in the latest a_a_f or if it''s planed to be? I can''t seem to find anything about it. thanx in advance Pat
2006 Aug 19
4
acts_as_ferret causing strange behaviour
I posted this issue as a bug on the acts_as_ferret trac (http://projects.jkraemer.net/acts_as_ferret/ticket/36) but need to get this working asap. so hopefully someone can point me in the right direction. To try and sum this up in better terms than I used in the original bug report, the problem I am experiencing seems to be related to the fact I am using inheritance in my controllers. I
2007 Jun 19
2
offline installation of acts_as_ferret gem
hi folks, I have been trying to use acts_as_ferret in my rails app.I have installed the ferret gem.I would like to download acts_as_ferret gem and then install it offline.But i was unable to find any link for download..please let me know if any one has did it before... any help appreciated...thanks in advance.... regards, venkat -- Posted via http://www.ruby-forum.com/.
2006 Sep 20
5
acts_as_ferret limit on multi_search not working?
I''m using acts_as_ferret to do a query like this: Model1.multi_search("my query",[Model2,Model3], :limit => 2) No matter what number i set limit to I get 10 items in the resultset. Am I doing something wrong? Thanks/David -- Posted via http://www.ruby-forum.com/.
2007 Feb 04
10
[AAF] remote indexing via DRb with acts_as_ferret
Hi! Aaf trunk has undergone several major refactorings the last days, with the result that you can now transparently switch your app from local to remote indexing and back :-) If you plan to scale your app to more than one physical machine, or if you have problems with corrupted indexes and the like under high load, you really should give this a try. I wrote some documentation to get you