Displaying 20 results from an estimated 7000 matches similar to: "Using the wildcard plus partial searched"
2006 Aug 30
5
[0.10.x] Index#search with wildcard bug
Hello all,
This script (http://pastie.caboo.se/10872) return this :
Total hits = 100
Total hits = 0
This is not cool :(
Dave ? Jens ? Someone ? Do you have any idea ?
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2007 Oct 08
1
wildcard searches with german umlauts
i just noticed a weird problem.
i can successfully search with full terms like
"Fl?chendesinfektionsstufen" or "Regionalan?sthesie" for example and get
correct hits.
but when i search for those entries with wildcards
"Fl?chendesinfektion*" or "Regionalan?s*" it won''t find anything
while
"*chendesinfektionsstufen" or "*sthesie"
2006 Nov 19
1
score for wildcard searches
Hello All,
I have a rails app that maintains movie data index and uses
"acts_as_ferret" for search. I ran into an issue with the scoring of
wildcard searches. When I search for word "super*", the record
containing the word "superman" is ranked above the one having just
"super".
Is this normal or am I missing something? Any ideas on how scoring can
be
2007 Jul 19
1
partial term query by default
My customers seem to expect that the world of search is dictated by
Google. As such they expect all queries except phrase queries to
include partial term hits. In other words, searching on "test" also
returns "testing".
Is there a quick option to enable this or anyway more elegant than
gsub''ing the query to add asterisks around each term (except those in
phrases of
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
2006 Aug 08
1
acts_as_ferret to search partial phrases and fuzzy
Hi All,
I was wondering if anyone had experience of extending AAF plugin for
Rails to implement a broader query ?
The documentation and the demo provided on the
http://projects.jkraemer.net/acts_as_ferret/ wiki seems to only match
full text queries, or partial when using a * wildcard.
Ideally, I am trying to acheive something similar to the following
(pseudo code):
def search
@query
2006 Nov 20
22
Index only partially built
I have an application which I''m running using Mongrel and Apache as
described here http://www.napcs.com/howto/rails/deploy/.
I have a model Person which I am attempting to use acts_as_ferret with.
When I first try to do a search the index begins to get built but it its
fails halfway through with the following error in the browser:
===
Proxy Error
The proxy server received an invalid
2006 Aug 24
2
acts_as_ferret for Ferret 0.10
Hi all,
the current acts_as_ferret trunk is now ported to Ferret 0.10.
Get it while it''s hot at
svn://projects.jkraemer.net/acts_as_ferret/trunk/plugin
Nearly everything works, besides this:
- all queries are ORed (no way to tell the QueryParser to build AND
queries by default)
- more_like_this is broken
I''m working with Dave to fix these things soon. The last Ferret 0.9.x
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...
2006 Sep 20
5
acts_as_ferret limit on multi_search not working?
I''m using acts_as_ferret to do a query like this:
Model1.multi_search("my query",[Model2,Model3], :limit => 2)
No matter what number i set limit to I get 10 items in the resultset. Am
I doing something wrong?
Thanks/David
--
Posted via http://www.ruby-forum.com/.
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 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 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
2006 Jul 07
9
Search on data accross many tables, linked by belongs_to
I am using Ferret and acts_as_ferret, as my search back-end for my Rails
project. I have a question about using acts_as_ferret on a main table
that is linked to other tables by foreign keys. Is there a way to
include the information linked by the belongs_to keyword in the search
results ?
As an example, let''s say I have a main table ''posts'':
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 Jan 22
7
memcache
Just curious, is there anyway to use memcache with a ferret index?
Thanks,
Ray
--
Posted via http://www.ruby-forum.com/.
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 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 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
2006 Aug 30
7
Hyphens
Hi there,
I''m working with some legacy data where customer phone numbers are
stored with hyphens between the area code, exchange, and number (e.g.
555-555-5555). Is this the best way to store a phone number? Perhaps
not, but it''s the way they were being stored, so I have to work with
this format.
Right, so when I save a record the log tells me acts_as_ferret indexed
the