Displaying 20 results from an estimated 100 matches similar to: "#more_like_this : strange behaviour"
2006 Dec 01
2
more_like_this not working?
Hi all,
using ferret 0.10.13 and aaf trunk, i cannot get more_like_this to work.
I read other posts on this forum related to that, but that did not solve
it.
I have a model Question with a field question_text. I do:
-----------------------------------------------
>> q = Question.find(:first)
>> q.more_like_this
NoMethodError: You have a nil object when you didn''t expect
2007 May 09
6
more_like_this
Hi,
I''m using acts_as_ferret in my rails application and I''d like to use
more_like_this to retrieve some ''similar'' item suggestions. I have a
class ''items'' which has a status field and I need to retrieve items that
only have one of the two possible statuses.
Looking at the more_like_this method indicates it supports an
:append_to_query
2007 Feb 16
1
find conditions in more_like_this
Hello.
I''m trying to use acts_as_ferret to index with set conditions.
Ideally I could do something like:
acts_as_ferret :fields => [ :title, :body ],
:conditions => ["enabled = 1"]
But would settle for being able to do:
@similiar_blogs = @blog.more_like_this :field_names => [ :title, :body
], :conditions => "enabled=1"
What is the
2006 Sep 09
2
acts_as_ferret 0.3.0
Hi,
just wanted to officially announce the release of acts_as_Ferret 0.3.0.
As you see, I''m trying to catch up with Ferret''s version numbers ;-)
svn://projects.jkraemer.net/acts_as_ferret/tags/0.3.0/
or
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/
This release is now tagged stable, so in case anybody has used the old
stable release via an svn external, please
2007 Nov 05
1
Segmentation Fault in more_like_this.rb
I''ve been seeing some core dumps coming from ferret_server:
acts_as_ferret/lib/more_like_this.rb:170: [BUG] Segmentation fault
ruby 1.8.6 (2007-03-13) [i386-freebsd6]
I''m running the latest build of ferret (0.11.4-rc5). Line 170 in
more_like_this.rb is:
freq = reader.doc_freq(field_name, word)
which is calling into the ferret C code (if I''m reading this
2007 Jan 11
5
ASF: cannot determine document number from primary key
I''m getting this exception from acts_as_ferret:
A RuntimeError occurred in search#similar:
cannot determine document number from primary key:
#<MyClass:0x9feba20>
[RAILS_ROOT]/vendor/plugins/acts_as_ferret/lib/instance_methods.rb:132:in
`document_number''
As a result of this call:
object.more_like_this
The relevant backtrace:
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
2006 May 18
2
acts_as_ferret 0.2.1
The svn repository for acts_as_ferret has just been tagged with version
0.2.1. This is the first version of aaf to support the 0.9.x branch of
Ferret.
See http://projects.jkraemer.net/acts_as_ferret/wiki
*Features*
* High speed full text search across the contents of any Rails model
class, without any hassles. The index will be kept up to date
automagically while you work with your Rails
2007 Jan 17
4
svn: command not found
Upon trying to install I keep getting the following error message in my
terminal...
svn: command not found
Any help would be greatly appreciated
--
Posted via http://www.ruby-forum.com/.
2007 Jul 26
6
Ferret - current status?
Hi guys,
Having committed a fairly large project to ferret I''m a little concerned
that ferret svn has been essentially unavailable for weeks (pretty much
every time I try I get "can''t connect") and more so now that
davebalmain.com has gone off the air.
Without meaning to pry, does anyone know whether existing problems in
ferret are likely to get fixed? (I can get
2007 Apr 01
10
indexing mostly-binary documents (.ppt)
Here''s an interesting problem: In my app, we are indexing various
types of documents, including microsoft powerpoint. Powerpoint
documents are mostly binary, but have a bunch of text (all of the
text in the document?) as well.
My thinking is that the binary will never get searched for, and the
proper text will be indexed and queried as expected, so the indexed
binary will never
2007 Apr 22
7
Getting a complete URL from Rails
Hello,
I''m sending out an e-mail message to new users of my service. I want
to send a particular link in this e-mail but I can''t figure out how to
get a complete URL from the url_for method. Is there a way to do this
without manually setting the host name?
Thank you,
-- Miles
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2007 Apr 09
4
How do i switch off error wrapping for a specific field?
Hi, i have some issues with the default rails error wrapping. It wraps
errors in a div with class ''fieldsWithError'', which is not good practice
in my eyes. Adding a class ''error'' to the field would be much nicer.
My solution to the problem: build your own FormBuilder. Funny enough, i
found no (nice) possibility to switch error wrapping off while using the
2006 Apr 10
3
Regarding using Web service to handle file uploads
I am trying to code a Web Service in rails that can handle file uploads. Now
as i read, SOAP 1.1 doesn''t support this yet..so i will have to use SOAP4R,
right?
This is fine from server side...but will this API will be compatible to .NET
clients, which will be using standard SOAP API perhaps.
Any idea, whats the way to go here?
2007 May 13
2
ActionMailer outside of Rails?
Has anyone used ActionMailer outside of rails? I have a requirement for
work that will not allow me to do this from within a rails app. I have
successfully sent an email in the following manner:
MyMailer.deliver_clever_email(someArg,''testing!'')
where the second argument is the body of the email, but when I try to
call just:
MyMailer.deliver_clever_email(someAr)
and use a
2007 Apr 06
16
[VOTE] Should stop-words be filtered by default?
Hey folks,
A lot of confusion has been caused by having stop-words filtered by
the default analyzer. There have been a few suggestions to remove this
feature so I thought I''d put it to a vote. Making this change would
not be backwards compatible and would require users to either rebuild
their indexes or change their code to keep the same stop-words
settings. However, it would save a lot
2015 Oct 13
2
RFC: Introducing an LLVM Community Code of Conduct
> Your report will still be kept confidential exactly as above, but also
> feel free to (anonymously if needed) email conduct at llvm.org if needed.
I have slight reservations towards this. A general conduct email is good,
but there are cases where you would like to contact individuals.
This is for example, when the report goes against a member of the conduct
team itself or the LLVM core
2007 May 10
5
Segmentation fault on large index
I''m getting a segmentation fault on a large index (15GB). I''m running
ferret 0.11.4 on OpenSuSE 10.2 with ruby 1.8.6. The segmentation
fault appeared after I optimized the index, see further below for the
error message I got before that. Ferret works perfectly on other (smaller)
indexes.
Is this a known issue, and if so, is there a workaround?
--------------------- after
2007 Apr 16
4
newbie :: Running script at client side
Hi all,
I am newbie to Ruby and web programming as well.
My show.rhtml is like,
.
..
...
<% require ''win32ole'' %>
<% ie = WIN32OLE.new(''InternetExplorer.Application'') %>
<% ie.visible = true %>
<% ie.gohome %>
...
..
.
At server, when I access http://.../show it''ll open Iexplorer.exe as
expected,
but when I access same from
2007 Apr 16
4
Web Flow and the session method in ActionController
Hi there,
I''m writing a port of Spring Webflow to Ruby on rails and I''ve
encountered quite a lot of difficulty finding how to override the
session[] method which is accessed via any ActionController.
I have my pseudo-code ready to implement, but I can''t find the method
declaration to copy it''s signature.
Also, if anyone wants to collaborate on this particular