similar to: Unit and Functional Tests Bombing with Ferret

Displaying 20 results from an estimated 1200 matches similar to: "Unit and Functional Tests Bombing with Ferret"

2006 Jun 20
2
Problem with "can''t dump anonymous class Class"
I submitted this earlier, but the web forums went down and I''ve screwed up the thread, so I''m starting over. I''m trying to built a document upload system. The system has a main Document model with different subclasses for different types of documents. With the code below, if I attempt to create a Document, it works fine, but if I attempt to use one of the subclasses, I
2006 Jun 19
3
can''t dump anonymous class Class
I''m trying to create a document upload system, where most of the code is the super class Document and just the path to file on the system is controlled by the sub classes. When I attempt to use my code, I get the following when I try to save the document. can''t dump anonymous class Class Any ideas? ** Migration ** class CreateDocuments < ActiveRecord::Migration def
2006 Apr 19
2
Ferret EOFError creating index
I''ve been messing around with Ferret (no punn intended). After spending some time testing it out (indexing to file), I decided to index about 10% of the data I want to eventually index. It took several hours to complete the index on my local machine, but it was created without any problems and after optimising it the searches returned results at the sort of speed I was expecting. I
2006 May 11
6
problem with solaris install
I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which does not have a sys/dir.h nix_io.c:5:21: sys/dir.h: No such file or directory make: *** [nix_io.o] Error 1 I couldn''t find an obvious way around this... any suggestions? Thanks, Rich Marisa Cornell Information Technologies Cornell University
2005 Dec 02
1
Compile error on FreeBSD 4.10 gcc 2.95.4
FYI, I tried installing ferret on my freebsd virtual server and got this: retango# gem install ferret --include-dependencies Attempting local installation of ''ferret'' Local gem file not found: ferret*.gem Attempting remote installation of ''ferret'' Updating Gem source index for: http://gems.rubyforge.org Building native extensions. This could take a while...
2006 Aug 26
7
Erratic behavior with ferret 0.95 and acts_as_ferret
I am getting this issue also... Does anyone know what this is? When will Acts as Ferret be available for v10? Thanks for your help in desperation! Caspar wrote: > Okay previous post related to me trying to fix this problem with an > upgrade to ferret 0.10.0 but acts as ferret is obviously not compatible > with this new version of ferret. > My app is about to go into production and
2005 Dec 19
17
Indexing so slow......
I am indexing over 10,000 rows of data, it is very slow when it is indexing the 100,1000,10000 row, and now it is over 1 hour passed on the row 10,000. how to make it faster? here is my code: ================== doc = Document.new doc << Field.new("id", t.id, Field::Store::YES, Field::Index::UNTOKENIZED) doc << Field.new("title", t.title,
2015 Nov 20
2
SIP calls dropping at 15 minutes
I have a problem where SIP calls from some providers are dropping at 15 minutes. The topology is: Client sends calls to a host running OpenSIPS, OpenSIPS sends calls to an Asterisk server. Below, 'Client' is the IP address of the client's host (running FPBX-2.8.1(1.8.20.0) 'OpenSIPS' is the IP address of my host running OpenSIPS 1.7.2-tls 'Asterisk' is the IP
2007 Feb 15
3
Fwd: devnull-dev.stanford.edu syslog filter results (fwd)
We''re still intermittantly getting these messages in syslog on various different systems: Feb 14 17:32:10 server-dev puppetd[20363]: Could not call puppetreports.report: #<EOFError: end of file reached> Feb 14 17:32:10 server-dev puppetd[20363]: Reporting failed: end of file reached Anyone else ever see stuff like this?
2006 Jul 10
11
Category Number Results returned
I am looking to have a number of categories populated from my results of a search. For example, searching on "sport" would display all results for sport. I want to also have a number of categories to refine the documents down. So by clicking on the "Fishing" category or the "Shooting" category, I would only see the results on sport around that category. Now for
2013 Nov 05
4
Handling closed clients
We have a service that clients use to upload files. We have a couple of clients that are on slow links and so their upload times out. We get errors in the logs that I''d like to get rid of. I was hoping that the recent commit 24b9f66dcdda44378b4053645333ce9ce336b413 would help us, but it does not. After digging in a bit, I have some ideas about why and a patch I''d like comments
2006 May 26
8
Comparing two documents in the index
I want to compare two documents in the index (i.e. retrieve the cosine similarity/score between two documents term-vector''s). Is this possible using the standard Ferret functionality? Thanks in advance, Jeroen Bulters -- Posted via http://www.ruby-forum.com/.
2007 Mar 20
2
Strange Results For Term Frequencies
I would like to thank all the people who have contributed to this very fine project. Great work! I''ve encountered some strange results while examining the term frequency of one of my indexed documents. The indexed terms seem to vary for the very same document depending on the presence or absence of completely unrelated operations in the code, so the resulting term frequency changes, too.
2006 Feb 08
2
ActionMailer EOFError (sometimes)
I''m having problems sending emails sometimes using ActionMailer. Looks like some emails are never sent because something breaks when sending it. It is a small quantity but can''t even have one drop. Browsing through the list I saw that one person had the same error as I did but in his case he couldn''t send any emails and in the end he needed no authentication at all.
2006 Jul 10
3
Plurals and synonym lists
I want to correct spelling errors automatically. I have used search in the past where I can pass an argument through standard search to correct a word with up to 2 spelling errors for example or do the more Google like "Did ya mean?". In this case I just want to change it automatically and search. I am not too interested in specifying the number of characters it is out by. What is
2006 Sep 21
6
EOF Error with Unit Tests
I am getting this weird EOFError when running tests using rake When running unit tests one by one (test file by test file), this error does not pop up. Does anyone know what is happening? Thanks! -- Posted via http://www.ruby-forum.com/.
2005 Nov 30
8
Compilation of ferret C-extension under Windows.
Hi, David. I have recently fixed ferret C sources and successfully compile extension with MSVC.Net The problem was that MS compiler is more stricter that GCC and require that all variables were declared before using. There was ~30 such declaration. I have fixed them all. But I am not sure that it works because tests failed with following error both on clean and patched versions. So seems that it
2006 Aug 15
5
Ferret Segmentation Faults
Hi, I am getting a number of segmentation faults using Ferret 0.9.5, Fedora Core 5 and Ruby 1.8.4 I installed it with the recommended gem install ferret and example segmentation fault creation line would be as follows: @records = FerretConfig::INDEX.search("address_line_2:\"Dumbarton\"") I am also using acts_as_ferret and rails 1.15 but think this is an issue with
2007 Apr 14
3
Error on optimize leads to corrupt index?
The following exception occurred while trying optimize a large index: vendor/gems/rdig-0.3.4/lib/rdig/index.rb:46:in `optimize'': End-of- File Error occured at <except.c>:93 in xraise (EOFError) Error occured in store.c:216 - is_refill current pos = 0, file length = 0 Now, I get the following error any time I try to create a new index on the directory that I was trying
2006 Aug 25
6
End-of-File Error occured at <except.c>:103 in xpop_context
Hi, I get this when searching or adding a new record. I am using today''s version of trunk and gem ferret 0.10.0 any ideas? thanks! EOFError in DvbesController#new End-of-File Error occured at <except.c>:103 in xpop_context Error occured in store.c:197 - is_refill current pos = 0, file length = 182 RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full