Displaying 6 results from an estimated 6 matches for "localindex".
Did you mean:
local_index
2007 Jun 16
2
more specific queries via IndexReader
We would like to show a list of "most recently added terms", meaning,
the results of this query:
Resource.aaf_index.ferret_index.reader.terms(:summary)
BUT, only returning terms from a certain set of documents (in our
case, we are going to filter by creation data).
Is this possible?
Thanks,
John
2007 Jun 13
14
Do delegates work properly in Drb mode?
Hi folks,
I have several models that index well in Drb mode.
However, I have one scenario where it works in normal mode, but not in
Drb mode.
model A
field :one
end
model B
belongs_to :a
field :two
delegate :one, :to => :a
acts_as_ferret :fields => { :one => {}, :two => {} }, :remote => true
end
If I leave off the :remote parameter, it works. Or, if I don''t
2007 Sep 24
2
ferret fuzzy matches
Hi guys,
Is there some way of getting ferret matches string, when i do a fuzzy
search?
The scenario is this:
1. The user search for ''show''
2. Nothing was found
3. So I do a fuzzy search, passing ''show~''
4. It gives me somes results, most of all was matched with ''showcase''
5. So I want to tell the user that: Nothing was found with
2008 Sep 25
1
Acts_as_ferret, DRb, 4 monrels and complete site lockups
...r.
At the same time ferret DRb server starts eating lots of CPU.
Solution that usually helps (but not always!) is to boot to console
and rebuild index for my indexed tables.
In addition to this I get following errors in ferret_index.log all the
time, no matter if site is working OK or it hangs:
LocalIndex: ensure_index_exists at /home/application/20080925154449
and in ferret_server.log:
#method_missing(:add, ["PublishedResource", {:by ...............
Please help if anyone had similar problems with Ferret. I hope getting
rid of 2 error messages that are logged will solve site hanging iss...
2007 Nov 10
1
Ferret-talk Digest, Vol 25, Issue 3
...when a search takes place during a reindex.
I wouldn''t be doing exactly the same thing as this but this does get
me started. I''m concerned about swapping the index files on a live
site though. Seems risky so I''ll probably try to update the
ferret_index member in LocalIndex. Looks like that will work.
-Alex
On Nov 10, 2007, at 4:36 PM, ferret-talk-request at rubyforge.org wrote:
>
> Message: 7
> Date: Wed, 7 Nov 2007 17:01:45 -0500
> From: "Stuart Sierra" <mail at stuartsierra.com>
> Subject: Re: [Ferret-talk] Ferret-talk Digest, Vol...
2007 Nov 05
6
Strange wildcard problem
Hi,
Apologies for reposting this for those who read this via ruby-forum,
but it didn''t make it to the list before, and the list seems more
active...
I''m using ferret (via acts_as_ferret) in a somewhat unorthodox
manner and am having a strange wildcard problem. Before anyone wonders
why we''re doing things this way, the answer is basically that it lets
us