Displaying 20 results from an estimated 10000 matches similar to: "ferret or not ferret?"
2007 Sep 02
21
ferret for professionals
Hello,
I''m trying to setup ferret search engine(what i did successfully for
searching english phrases, words)
But i doesn''t work for UTF-8 symbols!!!
I tried to find the solution for this problem:
1) i add to enviroment.rb followinf lines:
ENV[''LANG''] = ''de_DE.UTF-8 at euro''
ENV[''LC_TIME''] = ''C''
2007 Jul 20
4
Cacti - Monitor Ferret Server Stats?
I''m wondering if someone can point me in a direction to monitor the
ferret drb server while using cacti.
Is it possible to run multiple instances of ferret drb on the same
machine, just on different ports? Will it still update the index
properly, or will you get collision? New to moving over to the drb
server.
Thanks.
--
Posted via http://www.ruby-forum.com/.
2007 Mar 19
7
Many index files
I''m using acts_as_ferret and have indexed a model with acts_as_ferret
:fields => [:name, :ascii_name, :alt_names], :single_index => true.
Now in the index directory more than 95.000 files are generated! The
number of tuples I''m indexing is approx. 86.000.
I can''t remember this from earlier ferret/acts_as_ferret versions where
I''ve indexed millions of
2007 Jul 31
5
Group by clause
Hi
Does acts_as_ferret support a :group clause?
For e.g any rails options like :select or :group etc? or is it that it
supports only few of such options?Like it supports :include
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20070731/a74fb666/attachment.html
2007 Sep 10
7
ferret index file(s)
I am running version 3.2 of ferret and would like to upgrade to a more
current version. will my existing 3.2 index files be compatible?
thanks,
AK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20070910/742890f2/attachment.html
2007 Feb 04
10
[AAF] remote indexing via DRb with acts_as_ferret
Hi!
Aaf trunk has undergone several major refactorings the last days, with
the result that you can now transparently switch your app from local
to remote indexing and back :-)
If you plan to scale your app to more than one physical machine, or
if you have problems with corrupted indexes and the like under high
load, you really should give this a try.
I wrote some documentation to get you
2007 Jul 27
6
Problem with installing acts_as_ferret plugin
Hi all,
when I type this:
ruby script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
from my rails project the plugin is not getting installed, its simply
going back to my rails application.
I don''t find the plugin in the vendor/plugin directory
I am using Instant Rails for your information. Could anyone please let
me know whats going wrong...
2007 May 15
2
What is the day to day maintenance requirements of ferret?
What should I be doing to maintain ferret and help prevent index
corruption?
Do I need to rebuild it manually every night/week/day?
--
Posted via http://www.ruby-forum.com/.
2007 Jul 29
7
RDig and AAF playing together
I have a site with two indexes. Index A is created offline by RDig
and queried from the web via RDig (specifically,
RDig.searcher.search). Index B is managed by AAF with :remote =>
true. Simple enough. However, I need to query both indexes from RDig.
Usually this is ok, as I modified RDig to accept an array of
search_paths with an element for index A and index B.
However, when Index
2007 Jul 04
6
Inconsistent results when using wild card queries
We get some unexpected results when using wild card queries. We''re using
aaf and Ferret 0.11.4
For exampel, when seraching on a part of a collegues name (kristofer)
and limiting it to a specific source_id:
Query: source_id:25 AND kri*
Result: 2 documents. None of them containg the word kristofer, but other
matching words, as "kring" and "kring?" (swedish)
Query:
2007 May 16
7
return ONLY total_hits without querying from real database
Hey guys,
I know I can run search(q).total_hits, but if I try to put :limit=>0 it
gives me an error. I don''t want it actually query any of the results, I
just want it to tell me how many total_hits I would have if I wanted to
search it.
How can I do this?
--
Posted via http://www.ruby-forum.com/.
2007 Jul 06
6
Ferret::FileNotFoundError - delete
Hi,
we are using ferret and acts_as_ferret in a single server setup. We have
2 models that use acts_as_ferret.
We are running into problems where a create or update of the models
cause a ferret error
Ferret::FileNotFoundError occured at <except.c>:117 in xpop_context
Error occured in fs_store.c:329 - fs_open_input
Where the file that needs to be opened isn''t there.
The error
2007 Jul 25
17
DRb not starting
Hi,
I have my Model as follows:
class Mutation < ActiveRecord::Base
acts_as_ferret ({:fields => {:description=>{},
:product_id=>{:index => :untokenized},
:product_description=>{},
:product_label_description=>{},
:product_label_free=>{},
:product_product_id_supplier=>{},
:product_description_supplier=>{},
:supplier_description=>{},
:pub_date_sort
2007 May 10
13
Is there a way to do incremental search?
Say the user first enters "ruby" for search and gets 1000 results. Then
he can search "rails" just in the 1000 results just returned.
The common scenario is some kind of advanced search. User can
incrementally add criteria and the program will narrow the results step
by step.
I know that at least I can use all the criteria as a whole to do the
searching, but this is a waste
2007 May 02
6
Rewarding exact matches
Is there a way I can get ferret to give the highest ranking to an
exact term match?
The problem I have right now is that I am searching both title and
body fields, so even if I boost the title field, if the body has more
instances of the query, then it gets pushed up in rank.
I would like for ferret to put exact matches (of the title field) at
the very top of the pile, so if I do a
2007 Jul 03
6
How index works!
Hi, i''ve a project in wich i have 2 different rails apps accessing the
same DB.
The backoffice, as usual, changes data.
The frontoffice has a search capabilities with acts_as_ferret
(paginated) for search.
Maybe this is a newbie question but, when i delete index and restart
front app all the articles are indexed, but the new one''s (via
backoffice) are not searchable.
Does
2007 Jul 13
8
More sorting problems with untokenized index
I''m having problems sorting on untokenized fields. I have one field that
sorts fine, but there are others that seem to sort on a different field.
Here''s the index description:
acts_as_ferret
:remote=>true,:fields=>{:name=>{:boost=>2},:name_for_sort=>{:index =>
:untokenized},
:city=>{:boost=>2}, :city_for_sort=>{:index=>:untokenized},
2007 Mar 28
7
Newbie problem on production server
Hi,
I just installed ferret for the first time and integrated it with my
app. On my dev machine it''s fine but on my production server I get this
when I call find_by_contents():
Processing LinksController#results (for 24.185.105.59 at 2007-03-28
05:28:36) [POST]
Session ID: 3f2dc7c17147c0e52178ba697a119833
Parameters: {"commit"=>"Search",
2007 Apr 12
19
Multiple Model Search
[from out-of-band communication with steven, just for the record]
Hi!
On Wed, Apr 11, 2007 at 01:47:49PM +0200, Steven Garcia wrote:
> Hey Jens,
>
[..]
>
> 1. Is the Search model just an Active Record object or do I need to
> set up a database for it as well (if so then with what columns)?
No, that search model is just a plain class that backs your search form.
If you want to
2007 Feb 22
5
Combine ferret with database
Hello list,
I wonder if someone has some tips on joining a ferret search with a
database.
I have a rails project using a postgresql backend and I would like to
utilize the superb performance of ferret for fulltext searching.
The problem is that I have to joined the result with the database as
I have some user access rights to different documents to take into
account.
Does anyone have