Displaying 20 results from an estimated 30000 matches similar to: "How to compile on Windows?"
2006 May 24
10
Ferret slow after a while
I''m building a new index from scratch based on a number of documents
stored in a database loaded using my Rails env (using Ruby Ferret 0.9x
(installed today with Gem) on Windows). At first everything goes nice
but after a number of documents it starts to go slower and slower until
it grinds to a halt (at least feels like it).
Am I doing something wrong? Is there some way to work
2006 May 24
3
Offline indexing with Drb, online using index in Rails?
I have a Rails application where I need to search. Every time an update
happens to something I need to update the index for the changed and
related document. As I currently have to run on Windows (and therefore
can''t use the native extension) it is quite slow to index sometimes and
the user have to wait a couple of seconds for the save operation to
return.
A thought is to put this
2006 Jun 14
3
In memory IndexReader bug?
Hi All,
Hope all is going well.
I''m having trouble with the following code creating an in memory index
reader - it seems to be attempting to read from a file regardless.
Here''s the simple code:
require ''rubygems''
require ''ferret''
a = Ferret::Index::Index.new
r = Ferret::Index::IndexReader.new(nil)
Running the code on my OS X machine
2006 Jun 13
5
Grep style output?
Hi All,
Hope all is going well. Was just wondering if anyone has implemented a
grep style output page of hits using Ferret as the index/query engine?
Any thoughts about how best to implement it? The previous thread
discussess highlighting - would that be the best approach to follow or
is there a better way?
Cheers,
Marcus
--
Posted via http://www.ruby-forum.com/.
2006 Apr 12
2
Location of match?
Is it possible with Ferret to find the location of the matches in a
document? For example imagine I have 100 documents and I search with
the phrase "bob~0.5" and that returns 3 matching documents. How can I
then find all locations in a specific document where it matched
"bob~0.5". What I need is something like an array that contains the
start index and length for each
2006 Jan 26
2
Render and publish to static files?
What would be the best way to publish a number of pages to static html
pages? Just loop through them and create URL:s and fetch them with http
or is there a better way?
tia
/Marcus
2006 Mar 16
1
Use Migrations in modules in separate source trees?
We have a scenario where we have a core engine with module add-ons. What
modules that will be used differ from deployment to deployment. Each of
these modules might need different things in the db (both structure and
data) and I want each module to be in charge of its own db structure.
Each module is contained in its own source directory and what modules to
use is determined in the build
2006 Dec 30
2
error of "no such file to load -- ferret_ext"
I''ve installed the latest version of Ferret (0.10.13) on Mac OS X 10.4.8
(Tiger) and I''m developing using Locomotive2. I installed with:
$ gem install ferret
I have a ferret_test.rb file:
----begin---------
require ''rubygems''
require ''ferret''
include Ferret
index = Index::Index.new(:path => ''/opt/search-index'')
2006 Jan 09
3
Chopped files when downloading from database
I have some files stored in db. When I try to download these I only get
65535 bytes from the database even if the file is a lot bigger. Is it a
Rails setting I''ve missed or a database setting? Anything else?
Using Rails 1.0, WinXP and MySQL4.1
/Marcus
2006 Mar 01
4
STI, subclasses and callbacks
I have a STI class tree. I want to set some default values (calculated
values so I can''t set it in the database as defaults) on every created
instance regardless of what subclass is actually instantiated. So I
figured adding a after_create callback in the top class in the hierarchy
should do the trick. It seems it doesn''t get called :(
Code:
class SuperClass <
2006 Dec 18
2
I''m back
Hey all,
I''m back. Some of you are probably thinking that is the longest weeks
vacation on record. Well, I''d like to take this opportunity to
apologise for my absence and offer a brief explanation. When I got
back to Australia I naturally went home to visit my parents, only to
find that they have been hit really hard by the drought. They didn''t
really tell me just how
2007 May 18
5
how to compile with large file support?
Hi,
I''m trying to figure out how to compile ferret with large file support,
but none of the topics that discuss this actually say How this is done.
Can someone please provide the info?
thanks.
-m
my exact problem:
http://www.ruby-forum.com/topic/94143#191630
this topic also discusses the issue:
http://www.ruby-forum.com/topic/84237#151791
this topic says that the FAQ should have the
2007 Jul 09
2
Problems with sorting of search results
Hey ..
maybe someone got a hint for me .. I''ve got a
problem with the sorting of search results ..
strangely enough, the sorting is fine on my mac
development environment, but not okay on my
linux live system.
I got a field in my index called hierarchy. It
contains long strings like:
Living together > Family > Brother-In-Law
Living together > Family > Marriage > Wife
2006 Jul 17
0
Draft port of lucene highlighter to ferret
Hi All,
Hope all is going well.
After being knocked out with the flu for a week I''ve been able to make
some progress with porting the lucene highlighter to ferret.
I''ve got a draft version available for perusal at:
http://crafterm.net/ruby/highlighter/highlighter-ruby-0.1.tar.gz
The port is pretty much a complete copy of the Java version at:
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 Nov 30
2
Fatal error when require ferret
Hello list,
I just started using ferret and it really doesn''t go my way.
Doing
gem install ferret outputs ->
make install
/usr/bin/install -c -m 0755 ferret_ext.so /var/lib/gems/1.8/gems/
ferret-0.10.13/lib
make clean
Successfully installed ferret-0.10.13
Installing ri documentation for ferret-0.10.13...
Installing RDoc documentation for ferret-0.10.13...
In ferret.rb ->
2004 Dec 09
2
Samba and internet!
Hi everybody!
I have a problem wich has pusseled me for sometime time.
I have put samba on an internal subnet wich is the same as the
windowsclients. Everything works great as long as internet is up and
running but if internet goes down then the windowsclients can't find the
sambaserver or just simly times out when trying to log in.
On one installation I have a netgear router wich handels
2008 Jun 04
2
Is Ferret''s SVN repository down?
Is Ferret''s SVN repository down? I''m trying to get the source from
svn://davebalmain.com/ferret, but I keep getting "Connection Refused"
errors. Did the URL change, or is Ferret''s repository really down?
--
Bira
http://compexplicita.wordpress.com
http://compexplicita.tumblr.com
2006 Nov 02
2
highlighting with find_by_contents
I''m trying to highlight keyword snippets using the highlight method of
the results returned from find_by_contents (the actual models), but
always come up with an empty array. Any ideas what could be going wrong?
--
Posted via http://www.ruby-forum.com/.
2007 May 31
2
iterate through an entire index
I''m trying to get all the documents in an index. I''ve been hunting
around, but I don''t see a clear way to do this. I can get docs by
searching on a term, or by specific doc id, but having trouble getting
the whole pile of them. I''m using AAF and Ferret 0.11.4. Any help
appreciated.
John
--
Posted via http://www.ruby-forum.com/.