Displaying 20 results from an estimated 5000 matches similar to: "problem with solaris install"
2006 Apr 26
1
Building native extensions fail on Macbook Pro
I noticed that indexing seemed a little slow, so I tried reinstalling
the 0.9.1 gem and noticed some errors while it was building the native
extensions. Ferret still works with the pure ruby versions, but I''d
love to take advantage of the c speed.
I''m not real familiar with C, so I was wondering if anyone know what
the errors are and if they can be fixed.
Thanks
-Lee
******
2006 Sep 22
1
QueryParser bug?
I cooked up a little script to show what I mean. This doesn''t look right
to me, but maybe I just completely misunderstand QueryParser.
Same output on mswin32, unix, ferret 0.9 and 0.10
Cheers, Sam
require ''rubygems''
require ''ferret''
p Ferret::VERSION # 0.10.6
index = Ferret::Index::Index.new()
index << {:title => "Programming
2006 Sep 24
1
[patch] buffer overflow in q_parser.y
Hi Dave,
The patch below corrects a buffer overflow bug in q_parser.y. Since it
is triggered by excessively long query strings, I believe that this bug
could be exploited to allow arbitrary code execution if a query string
supplied by a user is passed in directly to Ferret and not truncatated.
If I''m right, you should consider a new release asap.
I''ve fixed it to simply
2006 Jul 25
1
RDig document processing error
Hi all,
Am having problems using RDig:
With this rdig config...
cfg.crawler.start_urls = [''http://www.defensetech.org'']
cfg.crawler.include_hosts = [''www.defensetech.org'']
cfg.index.path = ''/my/path/to/index''
cfg.verbose = true
...I get this output:
$ rdig -c config/rdig_config.rb
/usr/local/lib/site_ruby/1.8/ferret/index/term.rb:45:
2006 Aug 15
8
Ferret 0.10 series
Hi David,
>> Otherwise I''m fully committed to getting 0.10 out.
>> When it is out, I''d recommend getting it into your
>> development app as soon as you can.
Any idea of timeframe to a 0.10 alpha release?
Kind Regards
Neville
2006 Sep 15
3
Crashes and tests failures again with 0.10.4
In the beginning 0.10.4 looked promising, but now that my index has
grown to > 100 MB I''m getting segfaults on some searches again:
>> Post.find_by_contents(''rubyforum'')
# ok
>> Post.find_by_contents(''ruby-forum'')
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.4/lib/ferret/index.rb:351:
[BUG] Segmentation fault
ruby 1.8.4 (2005-12-24)
2005 Dec 19
2
Parentheses for precedence?
I''m not sure whether this is a bug or whether I''m simply expecting
Ferret queries to work in a way other than they''re intended.
I notice that if use a query like:
(other_text:"Collaborative tools") AND NOT other_text:podcasts
I''ll get correct search results. However, if I put parentheses around
the second part, like:
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)
2007 Feb 26
4
Ferret 0.11.0 tests segfault
I have an important segfault when I create the index (via
Ferret::Index::FieldInfos#create_index).
I decided to run the tests, this is what I have :
$> ruby test_all.rb
Loading once
Loaded suite test_all
Started
....................EEEEEEEE./unit/../unit/index/../../unit/store/../../unit/analysis/../../unit/utils/../../unit/query_parser/../../unit/search/tc_filter.rb:11:
[BUG] Segmentation
2006 Oct 15
12
Very small scores for search results
Hi Everyone,
I''m using Ferret 0.10.11 with acts_as_ferret from SVN (same results with
0.10.10 and 0.10.9 though).
I''m running into an odd problem where the scores of my top-ranking
search results are ridiculously small - even when the query is one that
should match at least one document with a decent score.
To give an example, I have just the names of 5 businesses indexed
2005 Dec 02
43
ANN: acts_as_ferret
Hi all
This week I have worked with Rails and Ferret to test Ferrets (and Lucenes)
capabilities. I decided to make a mixin for ActiveRecord as it seemed the
simplest possible solution and I ended up making this into a plugin.
For more info on Ferret see:
http://ferret.davebalmain.com/trac/
The plugin is functional but could easily be refined. Anyway I want to share it
with you. Regard it as a
2005 Dec 02
43
ANN: acts_as_ferret
Hi all
This week I have worked with Rails and Ferret to test Ferrets (and Lucenes)
capabilities. I decided to make a mixin for ActiveRecord as it seemed the
simplest possible solution and I ended up making this into a plugin.
For more info on Ferret see:
http://ferret.davebalmain.com/trac/
The plugin is functional but could easily be refined. Anyway I want to share it
with you. Regard it as a
2006 May 05
1
Is there any working way to search multiple indexes?
I''m running from the trunk, and hitting road blocks no matter which way I
attempt
to search across multiple indexes.
I tried a MultiSearcher, but I can''t pass a string for the search query
ms.search "iraq"
TypeError: wrong argument type String (expected Data)
So I tried creating a QueryParser to pass, but I can''t get the fields from
the reader
2006 Oct 16
2
Ferret::QueryParser::QueryParseException
During our last week of Ferret / aaf usage (also our first week of
Ferret / aaf usage), I have received 8 messages stating that our app
encountered a Ferret::QueryParser::QueryParseException. For instance:
A Ferret::QueryParser::QueryParseException occurred in foo#search:
Error occurred in src/q_parser.y:279 - yyerror
couldn''t parse query "com -- 404". Error message
2007 Feb 25
4
[BUG] Bus Error OS X
I''m getting the following on OS X (under locomotive) when running the
tests for ferret. Is anybody else getting this error?
rm -f ext/mem_pool.*
rm -f ext/defines.h
** Execute test_units
/Applications/Locomotive/Bundles/rmagickRailsJan2007_x86.locobundle/framework/bin/ruby
-Ilib:test/unit
2006 Dec 08
6
QueryParser Exception Handling Problem
According to the following link:
http://ferret.davebalmain.com/api/classes/Ferret/QueryParser.html
:handle_parser_errors => true is enabled by default and seems to be in
acts_as_ferret in class_methods.rb of the plugin. However, when I pass a
special character as a query (e.g., !, -, <, >, etc) it throws an error
and pukes.
-- snip --
Error occured in src/q_parser.y:279 - yyerror
2006 Mar 29
1
Problems with Ferret 0.9.0
Hi,
I upgraded from 0.3.2 to 0.9.0, and now my old search code doesn''t work
anymore. I get a lot of ArgumentErrors, for example:
"query.add_clause(Search::BooleanClause.new(query_parser.parse(term),
Search::BooleanClause::Occur::MUST))"
raises:
ArgumentError (wrong number of arguments (2 for 0))
"index_searcher.search_each(query)"
raises:
ArgumentError
2005 Nov 17
6
lock problems from concurrent processes.
Hi!
First, thanks a LOT for ferret. The API and documentation is great.
I''m trying to integrate ferret into a RoR app (DamageControl) and have
run into a problem with locks.
DamageControl consists of two processes that start up and run in
parallel. The first one is the webapp (which
is just a plain RoR app). The second is a daemon process that runs in
the background.
The daemon process
2007 Nov 30
0
Cannot install ferret gem on Leopard
I have 0.11.3 installed
When I try 0.11.6 or 0.11.5 I get the following output
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install ferret
creating Makefile
make
gcc -I. -I/usr/local/lib/ruby/1.8/i686-darwin8.10.3
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