Displaying 20 results from an estimated 100 matches similar to: "Ferret 0.10.13 released"
2007 Mar 23
5
Any chance to get 0.11.3 on windows soon ?
Hi,
I''m working on a Ferret-based application which indexes content in all
European languages. Thus, I have to deal with those funny European
characters.
After googling a bit, I decided to move on with a custom European
analyzer based on MappingFilter, as suggested in the Ferret rdoc.
Everything works fine with Ferret 0.11.3 on Mac OS X.
But this application needs to run on both
2006 Oct 19
2
How to deal with accentuated chars in 0.10.8?
I''m startin to use Ferret and acts_as_ferret.
I need to use something like EuropeanAnalyzer
(http://olivier.liquid-concept.com/fr/pages/2006_acts_as_ferret_accentuated_chars).
By example, if the user search by "gonzalez" you can find documents taht
contents the term "gonz?lez" (gonzález)
The EuropeanAnalyzer is based on Ferret::Analysis::TokenFilter,
2007 May 29
0
index#term_docs returns no docs / term_docs_for does
I''m building my first Filter and I''m running into an issue with
Ferret::Index::IndexReader#term_docs.
As I understand it, index_reader.term_docs should return a
term-document enumerator for the entire index:
index_reader.term_docs => empty set
However, I''m getting an empty set. Interestingly enough, the following:
index_reader.term_docs_for(:name,
2007 Mar 20
2
Strange Results For Term Frequencies
I would like to thank all the people who have contributed to this very
fine project. Great work!
I''ve encountered some strange results while examining the term frequency
of one of my indexed documents. The indexed terms seem to vary for the
very same document depending on the presence or absence of completely
unrelated operations in the code, so the resulting term frequency
changes, too.
2006 Apr 25
3
Migrating to 0.9.1
After migrating to 0.9.1, I got:
usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing'': uninitialized constant TokenFilter (NameError)
Here is a snapshot of my code:
...
require ''ferret''
class MyFilter < Analysis::TokenFilter
...
I works fine on my dev machine, but not a production server (shared
host).
Any
2007 May 18
1
roll my own TokenFilter subclass
Hi all,
I''d like to write my own TokenStream Filter (in lucene this would be a
subclass of a TokenFilter, which ferret seems to lack) but I''m not
sure how to go about it. Specifically, it''s not clear how I''d create
a non-trivial TokenStream to pass out to any filters that wrapped
mine.
Can anyone point me towards a code example? Thanks.
--
Richard Jones
2006 Sep 20
3
Range searches some times they work, some times not...
Hi i''m using ferret to enable geographical postcode. I take a postcode
and distance in miles from the user, strip off the outcode and then
retrieve the associated x y coordinates in metres from the db. Then i
get two temp x''s and y''s and search for all results that are within the
box, see code below.
Problems start to occur when i search on big distances so for
2007 Sep 20
5
Ferret DRB, UTF-8, Mongrel
I have spent days trying to figure out how to get UTF-8 working with my
site.
Here''s my environment:
Linux version 2.6.16.29-xen_3.0.3.0
Ruby 1.8.4 (2005-12-24 [i386-linux]
Rails 1.2.3
mongrel (1.0.1)
mongrel_cluster (1.0.2, 0.2.1)
ferret (0.11.4)
acts_as_ferret stable plugin
Ferret DRB server
When I don''t use an analyzer with my acts_as_ferret declaration,
everything works
2006 Jun 16
2
indexing large tokens
Hi,
I''m using the StandardAnalyzer to build an index, and passing in Documents
that have Fields that contain large tokens (22+ characters) interpersed with
normal English words. This seems to cause the IndexWriter to slow to a
crawl. Is this a known issue, or am I doing something wrong?
If this is a known issue I don''t have any problem just not indexing tokens
longer than a
2006 Aug 05
2
Frustrating locale setting error
Hi all,
This has been very frustrating for me trying to get this acts_as_ferret
working well on a Fedora box. On my mac it works great, no problems with
locale, but when I put the code live on my Fedora server, it complains
about the locale setting (Error occured at <analysis.c>:498 Error:
exception 2 not handled: Error decoding input string. Check that you
have the locale set
2007 May 23
6
Accented characters
Hello,
I want to clean up accented characters in my index, using acts_as_ferret
in a Rails project. I searched this forum, and found the best solution
is to use an analyser.
I created somthing like this:
class PortugueseAnalyzer
include Ferret::Analysis
MAPPING = {
2007 Mar 01
4
Need help creating my own Filter in Ruby
Hi,
I posted a Trac ticket about it, but I thought I''d ask the mailing
list to reach more people.
I''m using these filters together in my analyzer (with acts_as_ferret
+ Ferret 0.11.1).
HyphenFilter.new(
StopFilter.new(
LowerCaseFilter.new(
MappingFilter.new(
2006 May 10
1
acts_as_ferret choking
Hi all,
I''ve ran into a problem with Ferret on my rails app, and I don''t
really have a clue about why. When running the unit tests, I get the
following error output:
> Exception raised:
> Class: <NoMethodError>
> Message: <"You have a nil object when you didn''t expect it!\nThe
> error occured while evaluating nil.version">
>
2007 Apr 08
3
How to make custom TokenFilter?
In the O''reilly Ferret short cuts, I found very useful example for me.
It explains how to make custom Tokenizer.
But that book doesn''t explain how to make custom Filter.
(especially, how to implement the #text=() method)
I''m a newbee and I don''t understand how do I create my own custom
Filter.
Are there some good source code examples??
--
Posted via
2006 Jul 10
11
Category Number Results returned
I am looking to have a number of categories populated from my results of
a search. For example, searching on "sport" would display all results
for sport. I want to also have a number of categories to refine the
documents down. So by clicking on the "Fishing" category or the
"Shooting" category, I would only see the results on sport around that
category.
Now for
2002 Jun 10
1
Samba with LDAP - conflict with pam_ldap?
Hi,
I'm using Samba 2.2.4 with LDAP support (OpenLDAP 2.0.23), and with
pam_ldap included in the rpm nss_ldap 1.86 from Redhat (I'm on Linux
Redhat 7.2).
All these things are working well (I use the same object SambaAcount
under PosixAccount in order to authenticate all these things), but a
problem appears when I'm trying to list all the accounts and groups from
my Win2000
2006 Sep 20
3
Unit and Functional Tests Bombing with Ferret
Hello,
I am currently using ferret 0.9.5 and acts_as_ferret 0.2.3 on windows XP
All my unit and functions test that used to work before I installed
ferret are erroring out. My index is on a model name Post, and it looks
like all tests that contains methods which does CRUD to the Post model
bombs out.
Is there anything special I need to do before running unit and
functional test?
Thanks
2006 May 26
8
Comparing two documents in the index
I want to compare two documents in the index (i.e. retrieve the cosine
similarity/score between two documents term-vector''s). Is this possible
using the standard Ferret functionality?
Thanks in advance,
Jeroen Bulters
--
Posted via http://www.ruby-forum.com/.
2007 Aug 14
3
Should "a" match "ä" in ferret?
Hi all,
I have indexed a huge amount of data with text from several european
languages. In the index are values like Georg Friedrich H?ndel.
I would like a search phrase like "Georg Friedrich Handel" to find
records with the real spelling of H?ndel but it doesn''t seem to work.
Can anyone give me an idea of what I need to do to make this happen. A
bit lost here and
2006 Jul 10
3
Plurals and synonym lists
I want to correct spelling errors automatically. I have used search in
the past where I can pass an argument through standard search to correct
a word with up to 2 spelling errors for example or do the more Google
like "Did ya mean?". In this case I just want to change it automatically
and search. I am not too interested in specifying the number of
characters it is out by.
What is