Displaying 20 results from an estimated 400 matches similar to: "more_like_this not working?"
2007 Jul 17
2
#more_like_this : strange behaviour
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have the following Problem:
I created a fairly simple sample project to try out acts_as_ferret and
present the results.
The test set is relatively easy: I have extracts from 6
Wikipedia-Articles about several Topics, which are copied into a model
that has two fields: title and text. This works quite well, until I try
to use #more_like_this,
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 Jan 02
1
Dealing with collections of model objects
For an application I''m writing I have a model object, "Answer", many
of which are associated with a "Request" object. A user will need to
answer many questions, each of which is stored in an Answer object
that is associated with their request (Request has many Answers). Is
there an easy way to create and then validate each of these Answer
objects?
I basically want to
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
2014 Apr 08
9
[LLVMdev] 3.4.1 Release Plans
Tom (and Andy, Owen, Evan, Nadav),
I'd like the following commits placed into the 3.4.1 branch. I've attempted to sort this list by code owner:
Andrew Trick:
r203719 - PR17473
r203725 - This test need the X86 backend, move it to the X86 sub directory. [adjusts the test location from r203719]
r202273 - Fix PR18165: LSR must avoid scaling factors that exceed the limit on truncated use.
2006 Mar 15
7
Populating text_tag with serialized data
I am using a serialized attribute in one of my models The serialized data is
in the form of an array. I want to have a text_tag for each element
contained in my serialized attribute. How would I construct the text_tag?
My model name is ''questions''. The serialized attribute is "answers"
So I might have:
<% form tag %>
<% text_tag ''question'',
2006 Mar 16
0
validating presence of a tag
Hi,
I''m using acts_as_taggable. I have a form that asks for a question and a tag
for that question, something like:
<% form_tag -%>
<%= text_area("question", "question_text") %>
<%= text_field("tag", "name") %>
<%= submit_tag %>
<% end_form_tag %>
The question is one model. Tag is another.
My problem is that I
2006 Apr 24
4
Does Rails need more useful form helpers?
I have been using rails professionally for only a month and a half now,
but I am continually running into problems with form helpers and
accessing multiple objects on a single page. To whit:
1. While text_field and text_area and such all support the :index
option, the select helper does not.
2. When appending the text ''[]'' to a helper''s object name, the id is
2013 Feb 05
2
[LLVMdev] CMake, compiler-rt, and MacOS
On Tue, Feb 5, 2013 at 12:38 PM, Kostya Serebryany <kcc at google.com> wrote:
> +samsonov, glider
>
>
> On Tue, Feb 5, 2013 at 12:16 PM, Chandler Carruth <chandlerc at google.com>wrote:
>
>> On Mon, Feb 4, 2013 at 6:21 AM, Erik Verbruggen <erik.verbruggen at me.com>wrote:
>>
>>> Hi Chandler,
>>>
>>> If I remember correctly,
2013 Feb 18
2
[LLVMdev] llvm-dwarfdump and eh_frame
On Feb 11, 2013, at 18:13, Eli Bendersky <eliben at google.com> wrote:
> On Thu, Feb 7, 2013 at 2:50 PM, Erik Verbruggen <erikjv at me.com> wrote:
>> Hi,
>>
>> I noticed that llvm-dwarfdump does not show any information about the eh_frame section. While DWARFContext::getDebugAranges explicitly tries to parse it, it fails because the DWARFContextInMemory
2013 Feb 05
2
[LLVMdev] CMake, compiler-rt, and MacOS
On Mon, Feb 4, 2013 at 6:21 AM, Erik Verbruggen <erik.verbruggen at me.com>wrote:
> Hi Chandler,
>
> If I remember correctly, you are the de-facto maintainer for the
> CMake-built-mainainer, so..:
>
Sure, but I'm often busy. You're better off using the development mailing
list for questions such as this, and I've moved the conversation there.
> I have a
2013 Feb 05
0
[LLVMdev] CMake, compiler-rt, and MacOS
+samsonov, glider
On Tue, Feb 5, 2013 at 12:16 PM, Chandler Carruth <chandlerc at google.com>wrote:
> On Mon, Feb 4, 2013 at 6:21 AM, Erik Verbruggen <erik.verbruggen at me.com>wrote:
>
>> Hi Chandler,
>>
>> If I remember correctly, you are the de-facto maintainer for the
>> CMake-built-mainainer, so..:
>>
>
> Sure, but I'm often busy.
2013 Feb 07
2
[LLVMdev] llvm-dwarfdump and eh_frame
Hi,
I noticed that llvm-dwarfdump does not show any information about the eh_frame section. While DWARFContext::getDebugAranges explicitly tries to parse it, it fails because the DWARFContextInMemory constructor does not check for that specific section name. A fix would be to check wether the name is "debug_frame" or "eh_frame". If this is correct, should I submit a smallish
2013 Feb 11
0
[LLVMdev] llvm-dwarfdump and eh_frame
On Thu, Feb 7, 2013 at 2:50 PM, Erik Verbruggen <erikjv at me.com> wrote:
> Hi,
>
> I noticed that llvm-dwarfdump does not show any information about the eh_frame section. While DWARFContext::getDebugAranges explicitly tries to parse it, it fails because the DWARFContextInMemory constructor does not check for that specific section name. A fix would be to check wether the name is
2011 Feb 08
4
Interactions in a nls model
I am interested in testing two similar nls models to determine if the
lines are statistically different when fitted with two different data
sets; one corn, another soybean. I know I can do this in linear models
by testing for interactions. See Introductory Statistics with R by
Dallgaard p212-218 for an example. I have two different data sets I am
comparing to lai. ci.re should have very