Displaying 20 results from an estimated 10000 matches similar to: "Error upgrading to 0.9.1 on freebsd"
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 May 03
2
Is it safe to delete ferret-write.lck if it is stale?
I''m noticing that ferret-write.lck sometimes stays in my index
directory and throws exceptions whenever someone tries to do a search.
Apparently there are some cases where ferret doesn''t realize that the
file is old and can be deleted. I''m wondering what the best way to
recover from this error is. Am I safe just writing a cron job that
deletes this file if it is over
2006 Feb 07
1
setting of :key to :id in cFerret
Hi Dave,
I''ve been reading this post below back in December 2005.
Is it possible to set :key to :id in cFerret like suggested below?
Thanks,
Mac
On 12/3/05, Carl Youngblood <carl at youngbloods.org
<http://rubyforge.org/mailman/listinfo/ferret-talk>> wrote:
>* I seem to be getting the same document multiple times in my search
*>* results. I''m wondering if
2005 Dec 02
4
How to get the count of matching documents
I''m trying to generate a rails pagination helper for some ferret
search results, and I need to know how many total matches there are to
my search query. I don''t see an obvious way of finding this. Any
help would be appreciated.
Thanks,
Carl Youngblood
2005 Dec 14
2
undefined method `add'' for Ferret::Search::BooleanQuery
Up to now in my ferret development I have been using simple
single-word strings as my search queries. I just now am trying to
increase the complexity of my queries. When I was passing a single
word with no spaces in my index searches, like so:
count = index.search_each(''testing'') do |d, s|
...
end
everything worked fine. But now when I do something like this:
count =
2005 Dec 14
4
Is it possible to highlight search keywords in results?
I''m wondering if ferret has any built-in search/replace mechanism that
I might be able to use to highlight the query data in each search
result. The reason I think this would be a good idea is that I could
end up having to practically duplicate the ferret query parser just to
interpret the query so that I can figure out how to highlight the
keywords in the search results. Just in case
2005 Dec 02
8
Ferret 0.3.0 released
Hi folks,
This latest release of Ferret has a lot of improvements. There have
been substantial improvements to performance. Try it for yourself to
see. I won''t be publishing any numbers just yet. I will say though
that it''s still about 2-4 times slower than Lucene with the extension
installed. There is also some performance improvements in the pure
Ruby version if you
2005 Dec 16
5
Ordering results by something other than relevance
Along with the contents of the documents in my index, I have stored
the date they were added. I want to search for keywords in the index
but have the results be sorted by their date rather than their
relevance to the keywords. How would I do this in ferret?
Thanks,
Carl
2006 Apr 27
1
Ferret crashing Ruby
I''ve gotten several problems with C ferret crashing ruby. Here''s the
stack trace of my latest case:
#0 0x00000050 in ?? ()
#1 0xb74028ab in iw_close (iw=0x8685a40) at index_rw.c:947
#2 0xb7414359 in index_destroy (self=0x829ebc0) at ind.c:89
#3 0xb73f00bc in frt_ind_free (p=0x829ebc0) at r_search.c:1564
#4 0xb7f04dca in rb_gc_call_finalizer_at_exit ()
from
2006 Mar 06
1
C version of ferret?
Hey Dave, I understand you''ve been very busy lately, but I was really
excited when you said before Christmas sometime that you were soon to
release a fast C version of ferret. Is that still in the works? Do you
have even a rough ETA? I have a rails site that would greatly benefit from
it.
Thanks,
Carl
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Dec 02
1
cFerret ETA?
I''m noticing some long delays when optimizing my index. I know this
is terribly inefficient, but in order to make sure that my
ActiveRecord model is in sync with my index, I''m optimizing after
every new record that I store, like so:
class Resume < ActiveRecord::Base
include Ferret
has_and_belongs_to_many :users
SEARCH_INDEX = File.dirname(__FILE__) +
2006 Apr 25
3
Migrating to 0.9.1
After migrating to 0.9.1, I got:
usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing'': uninitialized constant TokenFilter (NameError)
Here is a snapshot of my code:
...
require ''ferret''
class MyFilter < Analysis::TokenFilter
...
I works fine on my dev machine, but not a production server (shared
host).
Any
2005 Dec 08
2
Confusing lock problem in rails
I have a model class in rails that has a class variable that is a
ferret index. For some reason, the methods in my class that refer to
the class variable are getting lock conflicts. Can anybody see any
obvious reason why? I notice that it keeps leaving a lock file in the
index directory. I thought auto_flush was supposed to remove the lock
automatically after every operation. Is there
2005 Dec 03
3
How to avoid duplicate search results
I seem to be getting the same document multiple times in my search
results. I''m wondering if this is because by default a document is
placed in the search results every time the word you''re looking for
shows up. Is that the way it works?
Thanks,
Carl
2020 Apr 13
2
Build regressions/improvements in v5.7-rc1
On Mon, 13 Apr 2020, Geert Uytterhoeven wrote:
> Below is the list of build error/warning regressions/improvements in
> v5.7-rc1[1] compared to v5.6[2].
>
> Summarized:
> - build errors: +132/-3
> - build warnings: +257/-79
>
> Happy fixing! ;-)
>
> Thanks to the linux-next team for providing the build service.
>
> [1]
2020 Apr 13
2
Build regressions/improvements in v5.7-rc1
On Mon, 13 Apr 2020, Geert Uytterhoeven wrote:
> Below is the list of build error/warning regressions/improvements in
> v5.7-rc1[1] compared to v5.6[2].
>
> Summarized:
> - build errors: +132/-3
> - build warnings: +257/-79
>
> Happy fixing! ;-)
>
> Thanks to the linux-next team for providing the build service.
>
> [1]
2006 May 10
1
acts_as_ferret choking
Hi all,
I''ve ran into a problem with Ferret on my rails app, and I don''t
really have a clue about why. When running the unit tests, I get the
following error output:
> Exception raised:
> Class: <NoMethodError>
> Message: <"You have a nil object when you didn''t expect it!\nThe
> error occured while evaluating nil.version">
>
2004 May 05
2
[LLVMdev] Not allowed to reuse variables?
Hello!
I am having trouble with identifiers:
%tmpFunction = load int ()** %puts_kernelPTR
...
%tmpFunction = load int ()** %puts_kernelPTR
generates
Redefinition of value named 'tmpFunction' in the 'int () *' type plane!
Is it not allowed to reuse variables? Is there some way to do it?
Anders
----------------------------------------------------------------
Anders
2006 Aug 24
8
installing ferret
I am trying to test drive ferret on a ubuntu dapper installation.
I have a ferret-test.rb file like:
----begin---------
require ''ferret''
include Ferret
index = Index::Index.new(:path => ''/opt/search-index'')
----end-----------
When i issue: ruby ferret-test.rb, I get:
ferret-test.rb:1:in `require'': no such file to load -- ferret
(LoadError)
2005 Dec 14
5
Query question
I have an index in which I want different records to be accessible to
different users. I think I can do this by adding a "users" field to
each record in the index and narrow down my queries to only those
records matching the current user''s userid. I have the userids
separated by commas. What would be the right way to query for a
certain user? I have to make sure that I