Displaying 20 results from an estimated 40000 matches similar to: "Limiting objects used in index (don''t show private data)"
2006 Nov 06
4
Updating the index.
I''ve been reading through the lucene, ferret, and aaf docs, but I''m
still a bit new at full text indexing.
When I create a new instance of an indexed model, and save it, it
doesn''t show up in searches. Should I have to update the index of the
entire model (which works) before it will return in queries?
Britt
2007 Jul 20
1
why/when does the DRb server rebuild the index (when I don''t ask)?
Hi,
I''m using DRb server, and sometimes it starts rebuilding the index for
no - apparent - reason (no model nor DB schema change). As this blocks
the computer for more that an hour, I must fix this problem before I
put the system in production.
Question:
- how can I find WHY the server triggered an index rebuild?
- how can I avoid it?
Thanks in advance.
Alain
2007 Jun 15
2
indexed ''text'' (not string) column not used when searching, unless explicitely specified!!
Hi all,
I''ve included a mysql ''text'' column in my index, and aaf/Ferret
doesn''t use it when I search, UNLESS I specify it as a restrictor, and
then it only searches in that field!
For example:
=> 0 results are returned by a standard (__all__ fields ?) search
>> Entity.find_by_contents "zixi"
Query: zixi
total hits: 0, results
2007 Jun 08
2
getting the list of indexed words from ferret or aaf
is the list of indexed words readily available via aaf or directly from
ferret?
--
Posted via http://www.ruby-forum.com/.
2007 Apr 15
2
"tried to use a closed index"
Sorry in advance for the newbie question. Can''t get aaf going and can''t
find similarly stuck folks on this forum.
I''m running Rails on my local machine in development mode. I installed
ferret 0.11.0 gem, and the most recent stable aaf plugin (as of today).
I''m having trouble getting the most basic functionality working. In my
model Recipe, I have:
2006 Oct 31
2
corrupted index preventing save
Hi, I''m using Rails/AAF with Ferret 0.10.11, and my index occasionally
(every few weeks, roughly) becomes corrupted.
If the index is busted, until I rebuild it our users are unable to save
anything. I get errors like the one below, and the save rolls back.
My question is, is there any way to catch the error, and continue with
the save even if the model isn''t indexed? What
2006 Nov 30
1
usage and benefits of single-index with AAF
The documentation states:
"single_index: set this to true to let this class use a Ferret index
that is shared by all classes having :single_index set to
true. :store_class_name is set to true implicitly, as well as
index_dir, so don?t bother setting these when using this option. the
shared index will be located in index/<RAILS_ENV>/shared ."
[1] If I''m reading
2007 Mar 06
3
aaf excluding certain db records from indexing
hi!
short question about aaf:
is there a builtin functionality in acts_as_ferret to exclude records
from being indexed when for example a column "is_deleted" /
"is_disabled" / "dont_index" has a certain value?
regards
neongrau
--
Posted via http://www.ruby-forum.com/.
2006 Nov 28
8
how to update index from a script
Hello all,
I''m using AAF right now to index my ~3million db records. However, any
additions to these records are added to the database through an external
script so the aaf activerecord hooks will not catch any updates. Since
new records are only added rarely, I figured I could just add the new
records manually in ferret from some type of script. I''ve been looking
at the
2006 Oct 13
3
Ferret 0.10.11 & AAF: sorting Time fields doesn''t work
Ferret 0.10.11 & AAF: the time seems to be stored in a format that can''t
be sorted, the order doesn''t make any sense. Workaround: use to_i on the
Time object before putting it into the index.
--
Posted via http://www.ruby-forum.com/.
2007 May 31
5
complete index rebuild using AAF trunk
I am using AAF trunk, and I want a way to rebuild an index on a
production site with little or no interruption to service. The Drb
Server documentation* states that when an index is rebuilt, it is
done in a separate location and then swapped into place when
finished, and so to do a complete rebuild on a live site, one must
take into consideration objects which have been created or
2008 Jan 28
1
lock index when not using drb server?
We all know that using ferret/aaf without the drb server is not
thread-safe-- but why not? Would it be so hard to sacrifice
performance by using a simple locking system?
Very often I run into a situation where I want to quickly stage a
project, and I want to use a few mongrels but don''t want to configure
every last piece of the system, including the drb server. It would be
nice
2007 Jul 27
2
AAF index updated when record is deleted?
Got it all running nicely now for a few days but noticed something
funny. I have a table were lots of records get added, deleted every day.
I can see the added records being added by AAF to the index but I
notices some "ghost" results when doing searches. The search returns
record ID-s that do not exist anymore because they were deleted.
Does AAF also remove entries from the index when
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/.
2007 Jun 05
3
Do I need to use a DRB server?
I''m finishing up a rails app that uses Ferret / AAF. I''m using shared
hosting provided by railsplayground.com. My app is pretty small and is
never going to get much traffic, so I''m going with the cheapest plan.
Unfortunately, the cheapest plan doesn''t allow any static processes.
I''ve read multiple recommendations to use a DRB server when using ferret
2006 May 22
7
how to index the result of any instance method
Hi,
One of the AAF features is to be able to index results of methods, but I
haven''t seen anywhere how to do this. I have a method that returns the
full text of a file and I''d like for this to be indexed. Can anyone out
there help me out on this one?
Tom
--
Posted via http://www.ruby-forum.com/.
2008 Feb 01
1
Loading an index into memory?
Is there a way to tell Ferret (or AAF) to read an entire index into
memory, for faster searching? I have small index (3-4 MB) that could be
kept in memory. Or does Ferret do that automatically?
Thanks,
--Paul
--
Posted via http://www.ruby-forum.com/.
2007 Jun 07
5
Advise on slowness in bootstrapping?
I am looking at trying to use ferret/aaf to supplement my querying against a
medium and large table with lots of columns. Some facts first:
Ferret 0.11.4
AAF 0.4.0
Ruby 1.8.6
Rails 1.2.3
Medium table:
105,464 rows
168 columns (mostly varchar(20))
11 actual columns indexed in aaf plus
40 virtual columns indexed in aaf (virtual is concat of two physical columns.
e.g. cast_first_name_1 +
2006 Sep 01
3
Ferret/acts_as_ferret don''t seem to be doing anything
I''m having an odd problem with Ferret 0.9.5 and acts_as_ferret 0.2.3, on
RedHat Linux Enterprise 4.
All of my find_by_contents calls return 0 results. When I try
Foo.rebuild_index via the console, it returns nil.
This is happening on my production machine, during deployment of my app.
Everything works perfectly on my development machine (Windows).
I have no idea where to start
2007 Apr 01
1
rebuild_index fails on some models using aaf
I''ve been running the super latest AAF plugin with a mongrel
cluster/ferret_server combo smoothly for a few days in production mode,
indexing 4 models with no surprises.
Only now when I try including some new Models to be indexed, the
ferret_server fails to index with
ferret server error undefined method `_'' for Summary:Class
(it creates the dir on index/production, tho)
and