Displaying 17 results from an estimated 17 matches similar to: "Bug in IndexSearcher with limit => all and any offset"
2007 Feb 25
9
Ferret 0.11.0-rc1
Hey folks,
Sorry for cross posting like this but this is an important
announcement for all Ferret users.
** Description **
Firstly for those who don''t know, Ferret is a full-text search library
which makes adding search to your application a breeze. It''s much
faster than MySQL full-text search as well most other search libraries
out there. It allows you to do Boolean (+ruby +
2013 Oct 23
0
[PATCH] btrfs-progs: add filter for deleted but uncleanded subvolumes
New option to subvolume list that acts as a global filter and applies
the other filters to either live subvolumes or the uncleaned ones.
The path to the deleted subvolumes is lost at the deletion time, sample
output looks like:
ID 259 gen 7 top level 0 path <FS_TREE>/DELETED
Signed-off-by: David Sterba <dsterba@suse.cz>
---
btrfs-list.c | 24 +++++++++++++++++++++---
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 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
2007 Apr 03
3
[Repost] Problem with url searching..
Hi all,
I''ve posted that few weeks ago but no one answered, but this feature is
REALLY important for us.
I have many objects with a url field, of course containing standards
urls...
I''m trying to match them but i actually got problems with that.
Here''s a little code of what i would like to achieve:
require ''rubygems''
require
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:
2006 Jan 02
11
aligning Ferret''s IndexSearcher.search API with Lucene''s
Recently I''ve been revisiting some of my search code. With a greater
understanding of how Java Lucene implements its search methods, I
realized that one level of abstraction is not present in the Ferret
classes/methods. Here are the relevant method signatures:
Ferret''s search methods:
in Ferret::Index::Index:
search(query, options = {}) -> returns a TopDocs
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
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 =
2013 Jul 03
2
Potential memory leak when assigning MSetItem values
I've traced a memory leak to a statement which assigns the values from an
MSetItem to a dictionary which is then appended to a list in python. We're
running python 2.7.3, xapian-core 1.2.15 and xapian-bindings 1.2.15. I've
provided an example which reproduces the behavior below. The example prints
the PID and has a few statements waiting for input to make observing the
behavior easier.
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]
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 },
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
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
2002 Dec 03
1
Any difference in cbind() b/w SPLus and R??
Dear Experts,
I have a data object named "data.char".
When I use cbind(data.char) in SPlus, I got the following results:
> cbind(data.char)
data.char
data matrix, 2700
excluded list, 3
cluster.var character, 2
strata list, 3
xlog CT
link logit
gpcorr 1
missing.row numeric, 0
zero.row numeric, 22
infile perc.csv
attr(,
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)
2008 Jan 14
1
Problems with forms
hello all
i''m a newbie on mechanize, but already had some success.
But now i''m in a real problem :
The following HTML-Code is not parsed corect, not all form element are
found. I''can''t change the server-code.
How to fix ?
HTML-Site
------X-----------------------------------------------------------------------X-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD