similar to: Thinking Sphinx sorting problem

Displaying 14 results from an estimated 14 matches similar to: "Thinking Sphinx sorting problem"

2005 Aug 04
0
Finding rows in table a with zero related rows in table b, part ii
OK. After a little more digging in MySQL''s manual on SubSelects, I''ve changed the finder_sql entry in my model declaration: class District < ActiveRecord::Base has_many :interviewers, :order => "lname, fname" has_many :applicants has_many :unassigned_applicants, :class_name => "Applicant", :finder_sql => "select a.* from
2008 May 27
0
Ultrasphinx geolookup distance returns NaN value.
Hi all, I''m trying to use geo-location based search using sphinx, Here my search query. @search = Ultrasphinx::Search.new(:sort_mode => ''extended'', :sort_by => ''distance'', :location => {:units => ''degrees'', :lat => 40.7414, :long => -74.0014}) @search.results.collect{|x| x.distance} [0.69084495306015,
2008 Sep 08
0
Group By / Filters with UltraSphinx
Hi, I use last version of UltraSphinx but filters dont work... In my model : is_indexed :fields => [''content'', ''titre'', ''created_at'', {:field => ''lang'', :facet => true, :as => ''lang''}], :delta => true or is_indexed :fields => [''content'',
2010 Dec 01
0
Thinking sphinx + rails 3 issue in results set
Hi All, I am using rails 3.0 and i installed sphinx and added the following to gemfile gem ''thinking-sphinx'', ''2.0.0'', :require => ''thinking_sphinx'' My structure is like below: ========================== Model: ===== class User < ActiveRecord::Base include ActionView::Helpers::UrlHelper has_one :profile, :class_name =>
2006 Jul 02
5
Question about setting field values for a belongs_to model
I have two tables, applicants, and skills where each applicant "has_many" skills, and each skill "belongs_to" an applicant. When I have a reference to an applicant and a (skill) id for one of their skills, I thought to update their skills by using @applicant.skills.find(id_of_skill).description = ''new description'' # even adding
2012 Apr 06
1
[PATCH] Fix buffer overflow in metaflac
It would really be better to compare against sizeof(application_id) rather than coupling to all these instances of 4 all over the place. ________________________________ From: Erik de Castro Lopo <mle+la at mega-nerd.com> To: flac-dev at xiph.org Sent: Thursday, April 5, 2012 4:02:10 AM Subject: Re: [flac-dev] [PATCH] Fix buffer overflow in metaflac Cristian Rodr?guez wrote: >
2012 Apr 05
3
[PATCH] Fix buffer overflow in metaflac
strlen() returns the length excluding the terminating null byte..then an string of len 4 will be off-by-one in application_id[4]; GCC 4.7 detects this bug. --- src/metaflac/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metaflac/options.c b/src/metaflac/options.c index eb3498d..2cb0959 100644 --- a/src/metaflac/options.c +++ b/src/metaflac/options.c @@
2011 May 24
0
read_nonblock': end of file reached (EOF Error)
I have written a program to consume a Restful Service from yahoo, and I am landed with this error. I am using Net/HTTP library for this, My program is as follows require ''net/http'' APPLICATION_ID = ''XIM4jgY6YIrOoB'' YAHOO_WEB_SERVICE_SEARCH_URL = ''http://search.yahooapis.com/ WebSearchService/V1/webSearch'' query = ''world cup
2018 Feb 27
0
Re: [PATCH] v2v: remove MAC address related information
On Tuesday, 27 February 2018 13:34:09 CET Richard W.M. Jones wrote: > On Tue, Feb 27, 2018 at 12:53:08PM +0100, Pino Toscano wrote: > > On Tuesday, 27 February 2018 12:35:36 CET Tomáš Golembiovský wrote: > > > Remove ties to MAC address because it is likely to change. > > > > v2v tries to preserve the MAC address of network interfaces; few months > > ago we did
2018 Feb 27
0
Re: [PATCH] v2v: remove MAC address related information
Running sysprep is quite easy today because we use the export domain, which is frequently NFS. So we simply mount it on the conversion host and run sysprep against the disks of the converted VM before it is imported. Soon, we want to skip the export domain, so the disks of the VM will be in a separate domain. We can still find them and run the sysprep, but I have the feeling that it would be more
2018 Feb 27
0
Re: [PATCH] v2v: remove MAC address related information
In this case, shouldn't that be done by the upload-disk API ? When you upload a VM, oVirt knows what to do with it and handle the locking and any operations required to make the VM an oVirt VM. On 27 February 2018 at 13:53, Tomáš Golembiovský <tgolembi@redhat.com> wrote: > On Tue, 27 Feb 2018 13:43:59 +0100 > Fabien Dupont <fdupont@redhat.com> wrote: > > > We can
2018 Feb 27
2
Re: [PATCH] v2v: remove MAC address related information
On Tue, 27 Feb 2018 13:43:59 +0100 Fabien Dupont <fdupont@redhat.com> wrote: > We can still find them and run the sysprep, but I have > the feeling that it would be more logical if virt-v2v did the sysprep when > target is oVirt / RHV. This is trickier than you think. For LVM volumes somebody (VDSM) has to lock and prepare the disks for you first and there is no external API to do
2018 Feb 27
4
Re: [PATCH] v2v: remove MAC address related information
On Tue, Feb 27, 2018 at 12:53:08PM +0100, Pino Toscano wrote: > On Tuesday, 27 February 2018 12:35:36 CET Tomáš Golembiovský wrote: > > Remove ties to MAC address because it is likely to change. > > v2v tries to preserve the MAC address of network interfaces; few months > ago we did a fix regarding this: > https://bugzilla.redhat.com/show_bug.cgi?id=1506572 > > The
2006 Mar 08
19
Creating multiple rows with one form
Hello. I''ve been trying this out for the past two days and I can''t seem to get it. I''m going to have a page where you can upload x amount of images at once. Lets say 10 images need to be uploaded, all with a caption. I''d like to have a browse button to choose the file, then the caption. Now, if I put 10 of them in one form, fill them all out and submit, I get