Displaying 20 results from an estimated 300 matches similar to: "Potential memory leak when assigning MSetItem values"
2013 Jul 10
2
Potential memory leak when assigning MSetItem values
Olly, the process size does stay constant with the results from one query
set, but running other queries will cause it to grow (once). Is it possible
that this is a bug with the SWIG python bindings?
On Fri, Jul 5, 2013 at 6:18 AM, Olly Betts <olly at survex.com> wrote:
> On Wed, Jul 03, 2013 at 03:59:21PM -0400, Jeff Rand wrote:
> > Run the following code and monitor the
2009 Sep 14
2
[PATCH node-image] add livecd-iso-to-iscsi script to support iscsi root booting setup
This enables the ability to take the ovirt-node-image iso and deploy it to an iscsi disk. It also provides a sample pxe configuration for booting based on the iscsi root device. Includes support for user/password as well as reverse chap user/password.
---
Makefile.am | 1 +
livecd-iso-to-iscsi | 201 ++++++++++++++++++++++++++++++++++++++++++++++
ovirt-node-image.spec.in |
2014 Feb 19
0
dispatch on "c" method when passing named arguments
Hi,
Many S4 objects in Bioconductor support "combining" via a "c" method.
A common use case is to combine a collection of S4 objects stored in
a list with the following idiom:
do.call("c", list_of_objects)
For many users this doesn't return what they expect though, because
their 'list_of_objects' is a named list and this seems to "break"
2007 Feb 16
1
Bug in IndexSearcher with limit => all and any offset
Here''s the deal:
static TopDocs *isea_search_w(Searcher *self,
Weight *weight,
int first_doc, // OFFSET
int num_docs, // LIMIT
Filter *filter,
Sort *sort,
filter_ft filter_func,
2006 Feb 07
1
Omega
Are there any options to forming queries with Omega? For instance can
you specify a proximity search like "file near 5 manager"? If so, where
might I find this documented? I don't see it in the docs directory.
Thanks
Jim.
2010 Feb 18
2
xapian.DocNotFoundError: regression?
Hello,
I've installed xapian-core 1.1.3 and xapian-bindings 1.1.4 from the
tarballs announced by Olly the other day. With these versions,
Enquire.get_mset() seems to consistently be raising
xapian.DocNotFoundError.
I've attached a small test case which reproduces this. The same test
case works fine with 1.0.16 (not the latest 1.0.x, but it's what I had
installed).
Program output
2008 Dec 19
1
megatec_usb: Ippon BackComfoPro (06da:0003 Phoenixtec Power)
Hello.
I've been experimenting with the USB connection of an Ippon BackComfoPro
800. This is the device "06da:0003 Phoenixtec Power Co., Ltd". The
current SVN version of NUT does not work with this device. The
megatec_usb driver can't get a proper reply to a Q1 request, failing
with an error message about "short read (14 bytes)" instead.
I have found the reason for
2008 Mar 05
0
Index Searcher Causes GC Memory Error: "irb: double free or corruption"
My linux Ruby application is using Ferret 0.11.4. I created my own class IndexSearcher to contain
the Searcher of multiple directories. If I do not have the searcher.close called, the end of
runner/console or runner/server will pop out with system error:
*** glibc detected *** irb: double free or corruption (fasttop): 0x0a51d6c0 ***
======= Backtrace: =========
/lib/libc.so.6[0x638ac1]
2006 Jul 19
4
sorting and pagination
Hello All,
Okay i think I''m finally getting all of what i want out of ferret
working, thanks mostly to reading this forum and also getting ALOT of
questions answered, thanks alot everyone. Anyway my last ferret task is
too get the results sorted by a field called date_registered and have
this working with pagination.
here is what i''m doing at the moment:
2012 May 30
3
raw input prompt
Hello,
I was wondering if there is a way to make a prompt for the user (exactly
like raw_input() in Python), the response to which can then be used as an
object.
Thanks,
Abir
--
View this message in context: http://r.789695.n4.nabble.com/raw-input-prompt-tp4631852.html
Sent from the R help mailing list archive at Nabble.com.
2005 Nov 26
3
Get number of found documents
Hi David again.
I would say that Ferret works great with Rails.
And now I am trying to create pagination. Because site could have millions
of documents I need to create on page link something like
"Page #100". Rather usual situation.
But to create this links I need to know how many documents Ferret found in
index.
For now I am doing it with following code
index =
2006 Aug 20
1
sorting with booleans
Hi i have a column in my ferret model called sponsored. It is a boolean
and i want to order the results by sponsored and date registered. At the
moment it is not managing to sort the booleans.
I tried declaring this in my model but it seems to have had no effect.
def false.<=>(o) o ? -1 : 0 end
def true.<=>(o) !o ? 1 : 0 end
I''m using the acts_as_ferret plugin.
below
2006 Mar 01
2
Sorting the Result
The document describes
search(query, options)
sort: An array of SortFields describing how to sort the results.
I have created index with two fields: ''file'' and ''content''
When I give SortField name as ''file'' while searching, it results into
error.
The exact command given by me:
index.search_each("sleepless AND dreams", :num_docs
2006 Oct 10
2
Ferret returning too many results
Hi, I just upgraded from acts_as_ferret 0.2/Ferret 0.9.x to
acts_as_ferret 0.3/ferret .10.9, and i''m getting a strange behavior:
searches are returning far too many results, most of them superflous.
i''ll paste in my code below, it''s pretty simple. i''m googling like mad,
and going through both the source and the forums, and having trouble
finding what could
2006 Aug 30
7
AAF Sorting by date - what am I doing wrong?
I''m trying to sort my search results by Date, in descending order. I''ve
done quite a bit of reading through the forums here, and I''ve tried two
different suggestions.
This just returns results in the same order as a search without a sort:
sort_fields = []
sort_fields <<
Ferret::Search::SortField.new("ferret_created_at",:reverse => :true)
2006 Sep 14
1
Possiible Bug ? indexWriter#doc_count counts deleted docs after #commit
I''m playing with "updating" docs in my index, and I think I''ve found bug
with IndexWriter counting deleted docs. Script and output follow:
=====
require ''rubygems''
require ''ferret''
p Ferret::VERSION
@doc = {:id => ''44'', :name => ''fred'', :email => ''abc at
2008 Feb 19
1
DLMFS on OracleVM 2.1 (OEL5.0 based)
Hi List,
I want to use DLMFS of OCFS2 to avoid multiple start of virtual machines
on OracleVM. I want to use a wrapper around xm that spawns a deamon that
keeps a file open in /dlm/DOMAIN. Now I played around a bit and followed
the procedure in the document
http://oss.oracle.com/projects/ocfs2/src/branches/ocfs2-1.2/dlmfs.txt
for DLMFS.
Theres one problem. The "O_NONBLOCK" option is
2011 Dec 02
12
puppet master under passenger locks up completely
I came in this morning to find all the servers all locked up solid:
# passenger-status
----------- General information -----------
max = 20
count = 20
active = 20
inactive = 0
Waiting on global queue: 236
----------- Domains -----------
/etc/puppet/rack:
PID: 2720 Sessions: 1 Processed: 939 Uptime: 9h 22m 18s
PID: 1615 Sessions: 1 Processed: 947 Uptime: 9h 23m
2006 Jul 05
1
search speed eclipsed by retrieval speed
Hi all,
I''ve recently started working with Ferret and I''m getting what seems to
be slow searches. I have about 10000 documents in the index, with
several fields per document, with some fields having an array of several
values that are indexed.
I am using a RAMDirectory to store the index for searching. When doing
testing, I find that searches are reasonable at around .2 to
2007 Jan 24
2
Disable search match on model id
Hi,
Given a numerical search term I want to avoid matching the model id as
this has no real world significance when returned in the results (in
this instance).
For example the user may enter ''13'' when looking for a product code.
Presently they will also get back the product that has id 13.
I have tried:
acts_as_ferret :fields => {:id => { :index => :no },