Displaying 20 results from an estimated 4000 matches similar to: "score for wildcard searches"
2006 Mar 13
3
validates_associated problem
Hello,
I have a situation where an ''employee'' belongs to a ''department'' and
have setup the relationship as follows.
class Employee < ActiveRecord::Base
belongs_to :department, :foregin_key => "department_id"
validates_associated :department_id
end
class Department < ActiveRecord::Base
has_many :employees
def validate_on_update
2007 Jul 11
4
Query scoring - WTF?
Hi!
I thought I understood Ferret''s query scoring and how to tweak
results using boost values. What I currently experience however,
leaves me completely baffled.
Perhaps someone can shed some light on the scoring algorithm, because
asking Ferret to "explain" the score for a particular document isn''t
as informative as I thought. Actually, it confuses me even
2008 Jan 18
2
winetricks and gecko
*When I run sh winetricks gecko, the following happens:*
superman at travis-lin:~$ sh winetricks gecko
--13:43:26-- http://source.winehq.org/winegecko.php?v=0.1.0
=> `winegecko.php?v=0.1.0'
Resolving source.winehq.org... 209.46.25.134
Connecting to source.winehq.org|209.46.25.134|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
2008 Mar 05
4
Unable to mount using sec=none and mount.cifs
I'm attempting to mount a CIFS share with the following stipulations:
1. I must have the UNIX extensions (specfically, symlinks).
2. I must use plaintext authentication (don't ask).
I've recompiled the cifs kernel module to allow plaintext
authentication, using the stock Ubuntu 7.10 kernel (2.6.22.9c).
My /etc/fstab line looks like...
//superman/www-pub
2006 Jan 18
3
I need superman!
I have a legacy database that I can''t figure out. I''ve tried hundres of
times and spent way tooooo much time trying to figure this out. I don''t
think that rails can do it. Maybe there is a superman here who can get
this too work. I''m going to post my sql dump to produce a very simple
database. If anyone can get rails to work with this THEY WILL BE MY
2012 Nov 24
2
Building factors across two columns, is this possible?
I am trying to make it so two columns with similar data use the same internal numbers for same factors, here is the example:
> read.csv("test.csv",header =FALSE,sep=",")
V1 V2 V3
1 sun moon stars
2 stars moon sun
3 cat dog catdog
4 dog moon sun
5 bird plane superman
6 1000 dog 2000
> data <-
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 Sep 05
4
Ferret 0.10.2 - Index#search_each() and :num_docs
Hi,
I seem to be having trouble getting more than 10 hits from
Index#search_each since upgrading to 0.10.2 (ie, this was working in
0.9.4). Maybe a bug, as the #search_each doesn''t seem to use the options
parameter any more ?
Thanks,
Neville
===========================================
require ''rubygems''
require ''ferret''
p Ferret::VERSION
idx =
2007 Oct 03
5
Postfix with Deliver (LDA) - user unknown
Good Day All! I am attempting to configure deliver as our LDA. I am
also configuring the server to use Postfix instead of Sendmail. I
have followed the all the documentation and examples I could find.
Below are my Dovecot and Postfix configs. Can someone please smack me
upside the head and tell me why I am getting "user unknown" errors?
If i don't use deliver as the LDA, all
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/.
2006 Oct 16
10
Sorting by score
Hi I think this is a very easy question but here goes:
I want to sort my results by a boolean field and then by score, I
thought this would be a default configuration but apparently not.
sort_fields = []
sort_fields << Ferret::Search::SortField.new(:sponsored, :reverse =>
:true)
that is my current code, how do iu alter it so that the results are then
sorted by highest score first?
2018 Jun 20
1
Missing DNS entry in an AD-DC provision.
On Wed, Jun 20, 2018 at 08:43:02PM +0100, Rowland Penny wrote:
> On Wed, 20 Jun 2018 12:24:36 -0700
> Jeremy Allison <jra at samba.org> wrote:
>
> > Hi Rowland,
> >
> > I'm here at the Microsoft plugfest trying to help
> > a vendor join a Samba AD-DC (I just did a standard
> > local provision on my laptop using the internal DNS
> > server).
2007 May 22
1
Bug in Ferret::Search::SortField::SCORE ??
i have been trying to get this to work for a while now. my controller
is
sort = [ Ferret::Search::SortField::SCORE_REV ]
@results = Record.multi_search(params[:search_terms], [ Link, Post,
Event ], {:limit => :all, :sort => sort })
and in my view i just render a conglomeration of the appropriate
partials for each model. it seems that no matter what i do, i can''t get
the
2007 Mar 21
3
Score more if begins with query
Hi,
I need to score more on products, those names
begin with query, rather then just contain it.
I am not sure where to start research on that...
Any ideas?
Best regards,
Tom
--
Posted via http://www.ruby-forum.com/.
2006 Nov 22
2
acts_as_ferret, Displaying score on a search results page
Am I missing something or would I need to use find_id_by_contents and
populate a results list with my own objects (or add ''score'' to my AR
instances and populate that) in order to be able to get a score out when
iterating the results (like on a search results page)?
Said another way, it seems find_by_contents does not provide any access
to score in the resulting list. Is
2007 Jul 20
1
Installation Output and First Use Output for FL 7
Hi,
Below is the installation output and the first use output for FL 7:
superman@travisf-linux:~$ cd Programs
superman@travisf-linux:~/Programs$ ls
AdobeReader_enu-7.0.9-1.i386.tar.gz netbeans-6.0m10-full-linux.sh
ASSP_1.3.1-Install.zip RealPlayer
flstudio7_RC6b.exe RealPlayer10GOLD.bin
ImportExportTools-1.2.xpi Serial Numbers.odt
2006 Sep 18
2
Using the wildcard plus partial searched
I''ve seen no definitive answer to this question.
I''ve noticed that typing "t" in the search box will return no results
however if I type "t*" it brings up all results beginning with t.
I would like this behaviour on by default without having to type the
wildcard. Is there a way to do this?
--
Posted via http://www.ruby-forum.com/.
2013 Apr 28
8
[UART] GPS 18-5Hz LVC and COM1 silence, OK on Linux though...
Hi,
I'm having issues connecting Garmin GPS 18 to COM1 on 9.1, I get
nothing but silence. Identical setup works absolutely fine with Linux.
I've got PPS wire connected to DCD, but that seems to make no
difference on Linux, so I presume it shouldn't affect fbsd either.
On Linux, I get:
$ uname -a
Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC
2013 x86_64 x86_64
2006 Sep 20
8
Understanding boost ?
Hi,
I''m confused about managing field boosting ...
I have set the :boost for the :name field in my docs to 10, via :boost
=> 10
Then I performed a search for ''keith'' over all fields via with
*:(keith*), expecting a doc with Keith in the :name field to come out on
top. But another doc with Keith mentioned in other fields (:comments,
:address) scored higher.
I
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