Displaying 20 results from an estimated 100000 matches similar to: "GROUP BY functionality for Ferret"
2008 Jan 07
1
Selecting maximum value from a field
Hello,
I have a field which contains integer values. How do I obtain the
maximum value of the column?
Benjamin
2008 Jan 12
1
Native release for windows 0.11.6?
Hello,
Is there going to be a native windows release for 0.11.6?
Alternatively, if a new version is going to be released soon, will
there be a release for windows of that? Thanks!
Benjamin
2008 Jan 16
2
Escaping special characters :, (, ), [, ], {, }, !, +, ", ~, ^, -, |, <, >, =, *, ?, \
Hello,
I am trying to escape words for searching i.e., "hello". The key here
is that the two L''s on "hello" are actually vertical bars. Is there
a special function in Ferret or anywhere for that matter that will do
the escaping of the Ferret special characters?
Thanks in advance,
Benjamin
2007 Dec 20
1
indexing tuples (example: "frog" => 123) as opposed to words
Hi,
I need to map words in a document back to there original word id''s in my
database. For example, if I had the sentence "I eat food" and I was
searching for "food" I would obviously get the document back as a
result. For my particular problem I need to not only get the document id
but also the id of the match.
Suppose my original sentence was actually
2007 Dec 25
1
Does sort work for strings work?
Hi,
I am trying to get sorting working. I have had success with numbers
but when I try to sort my string fields nothing happens. I am using
the following code:
options = {}
s = Search::SortField.new(''object_title'', :reverse => false)
options[:sort] = s
@index.search_each("my query",options) do |id, score|
puts "-->Document #{id} found with a
2007 Nov 24
0
Getting a Lucene.net index readable by Ferret
Hi,
What would it take to get the a Lucene.net index readable by Ferret? I
know that there has been discussion on this before but I am trying to
figure the actual amount of work (cost) would be required to get this
done. Any help would be greatly appreciated.
Benjamin
2006 Aug 23
4
Ferret 0.10 and Fields
Hey ...
I just tried to convert my code to 0.10 .. But i''m currently not sure
how to use fields..
i really like some of the new api.. its leaner and i like the fact that
these strange consts are gone (like
Ferret::Search::BooleanClause::Occur::MUST) ..
I see that you''re now having Ferret::Index::FieldInfo to describe the
fields of the index.. thats good.. and i now see that
2008 Jan 11
3
Date range queries return zero results
Hello,
I am having trouble getting data ranges to work correctly. I am using
the following command to load the db:
index << {:title => row[7].to_i,
:date => Date.strptime(row[3], ''%Y-%m-%d''),
:page_id => row[5].to_i,
:page => row[6].to_i,
:content_type => row[1].to_i,
2008 Mar 02
0
Compiling ferret trunk on OSX Leopard?
Does ferret trunk compile on OSX Leopard?
Benjamin
2006 Jul 28
0
Re: MS RDO database bug
It's now in wine bugs
http://bugs.winehq.org/show_bug.cgi?id=5786
El vie, 28-07-2006 a las 09:53 -0700, Benjamin Arai escribi?:
> Jst create an account in the website I specified before. Log in and
> choose "Enter Bug" under the Bugzilla Menu. Then just choose "Wine"
> for the type of bug and enter in the information. Once you have
> created the bug ticket
2007 Sep 01
2
Can lucene use index generated by ferret?
I found it quite fun to generate index by ferret. However, I had to
use lucene now. Can I use the index that I''ve already done by ferret?
ps. Lucene 2.2.0 vs Ferret 0.11.4
Thx!
--
Posted via http://www.ruby-forum.com/.
2006 Sep 24
0
Ferret 0.10.7 released
Hey guys,
I''ve just released Ferret 0.10.7. It is still in beta but we are
getting closer and closer to a 1.0 release. The main changes in this
release are better handling of fields by the QueryParser. You can now
give the QueryParser a list of fields that are tokenized so that only
those fields will be analyzed in the QueryParser. This means that you
can search untokenized fields for
2006 Jul 03
3
Ferret not returning the right results
I have ferret setup in my model with multiple fields, but when I do a
search on the value that might be stored in two fields, I get no
results.
Here''s an example:
"Jim 12333"
Where Jim is a name field, and 12333 is a zip code. I have this in my
model:
acts_as_ferret :fields => [ ''name'', ''zip'' ]
I''m not sure
2008 Mar 01
3
Possible bug when creating a Ferret::Search::Sort object?
I may have run across a bug in Ferret: if throws a segmentation fault
when I try to create a Sort object using the default fields (SCORE and
DOC_ID), but setting reverse to true.
Here''s the minimal example:
#!/usr/bin/env ruby
require ''rubygems''
require ''ferret''
Ferret::Search::Sort.new
Ferret::Search::Sort.new(
[
2007 Jun 01
2
Ferret FileNotFound error after adding counter_cache to mode
I have a model that I''ve been indexing and searching with ferret with no
problems.
I just added a counter_cache for some voting functionality to the same
model and now when I perform the voting fxn on an object from that
model, I get the FileNotFound error as it looks for a file named
"_1c_1.del" ...which breaks my voting function.
I tried killing the server and my index
2007 Aug 10
3
Different ferret fields for instances of the same model?
Hi all,
So far as I know, while using acts_as_ferret, we should add the
following declaration in the ActiveRecord model which is going to be
indexed:
acts_as_ferret({:fields => @@ferrect_fields})
in which @@ferrect_fields is a hash containing all the field to be
indexed. This is pretty much for some simple situations. But I got a
more complex situation that I want to define the fields to be
2007 Nov 11
6
Reducing dependency on remote ferret process
Hi.
We use FerretDrb for search. If the ferret process is down, our entire
application comes down the moment we try to save a model which is indexed.
Is there a way to decouple this relationship such that we can somehow
resume normal operations despite ferret being down and not index the model?
Thanks.
Morten
2006 Nov 24
2
advanced search with ferret?
Hello,
I''m a novice to ferret, so far only used it via acts_as_ferret. My
question is about a recommended pattern for an ''advanced search'', which
would be searching by all fields of a model and some fields from related
models, with range search, expression search and wildcards. The kind of
search in which a user is presented with a huge form that allows them to
set
2007 Dec 19
1
Payload support in ferret
Hello All:
This is potentially a ferret and ruby newbie question. I RTFM-ed (the
oreilly shortcut anyway) and didnt find anything obvious.
Are there plans for Ferret to support the notion of "payloads" introduced in
Lucene 2.2. Payloads are basically arbitrary metadata that can be stored for
each term. For example, for each term I can store, say, font information for
the term. (
2006 Apr 22
2
Ferret C Indexer Error: Fields not stored in index?
Hello,
I am trying to get Ferret''s C indexer to work on OpenSUSE 10 and
fastcgi.
Indexing documents appears to work correctly but when I try to display
the results I recieve the following error:
ActionView::TemplateError (undefined method `string_value'' for
stored/uncompressed,indexed,tokenized,<title:Revit.jpg>:Ferret::Document::Field)
on line #17 of