Displaying 20 results from an estimated 4000 matches similar to: "doubts in ferret"
2007 Mar 04
5
Getting non-stemmed terms from IndexReader
I need to get a set of terms being indexed using Ferret. I used
IndexReader.terms and it returns a list of TermEnum nicely. The only
problem is that my analyzer includes a stemming filter.
So now, the terms I''m getting back are all stemmed. Is there anyway to
get the original unstemmed terms back from the index somehow? Thanks.
--
Posted via http://www.ruby-forum.com/.
2007 Sep 04
3
can boost change dynamically??
Hi,
I have got a peculiar requirement in my project. I need to apply some boost
to different fields of my index. But the problem is the boost that needs to
be applied is dynamic. It changes for everyrow of data.I am storing that in
the index itself while building it. Is there anyway by which i can add the
boost to search query while searching. at present am retreiving the whole
set of searched
2007 Sep 06
1
(no subject)
On Wed, Sep 05, 2007 at 04:59:36PM +0530, golak Sarangi wrote:
> calculation that ferret does to give me the output score. Although
> the output that i get is relevant enough but its like a black hole
> from outside. I tried to search for it from the C extension of ferret
> but lost track
> of it at the msea_search function. Could you please through some
> light on the
2007 Jul 14
1
performance bottleneck
I have got my database in Mysql. I used ferret to index a table with 10
million rows. On limiting the selection of data to 1000 initial retrieval,
it takes 200 seconds but for the whole table it took more than four hours
and after which i had to close my indexing application. I used the
StandardAnalyser for it. There is no problem from the database side as
retrieval of all the data in the table
2007 Sep 12
2
ported index from one machine to another
Hi,
I built an index on a free bsd machine using ferret and then ported the
index to another machine. While searching from that copied index the
searcher generates a file not found error. I have set all the permission
right and the files do exist in the directories.on creating index from local
machine the searcher finds the index. could any body please tell what might
be the problem. Is it a
2006 Sep 08
8
Ferret-0.10.3 released
Hey all,
I''ve just released Ferret 0.10.3. It is mostly just a bugfix release.
I''ve also added Ferret::Analysis::HyphenFilter which filters
hyphenated words for better search results. Basically the way it works
is it concatenates a hyphenated word as well as adding the two
separate terms. So "set-up" becomes "setup", "set", "up" so
2007 May 03
1
Numeric Range or comparision doesn''t work
Hi,
it looks like Ferret still compares numeric fields by lexical ordering,
not numerical ordering. I am using Ferret 0.11.4(I tried in both linux
and windows, the results are the same).
index = Ferret::Index::Index.new()
docs = [
{:num => 1, :data => "yes"},
{:num => 1, :data => "no"},
{:num => 10, :data => "yes"},
{:num => 10, :data
2006 Sep 12
3
Querying against numeric fields? e.g. price:( >= min_price)
Using acts_as_ferret I''m trying to do a query like:
active:(true) title|body:(#{params[:s]}) product_price:( >=
#{params[:min]})
Where I want to return only the active products that contain the search
term in the title or body and has a minimum price >= params[:min]
I''m finding that even though I''m indexing the product price as an
integer (so no .00 to cause
2007 Sep 06
0
Ferret 0.11.4 issue
Hi,
please switch to Ferret 0.11.4 first.
Jens
On Thu, Sep 06, 2007 at 02:03:23PM +0530, golak Sarangi wrote:
> On Wed, Sep 05, 2007 at 04:59:36PM +0530, golak Sarangi wrote:
> > calculation that ferret does to give me the output score. Although
> > the output that i get is relevant enough but its like a black hole
> > from outside. I tried to search for it from the C
2007 Sep 24
2
ferret fuzzy matches
Hi guys,
Is there some way of getting ferret matches string, when i do a fuzzy
search?
The scenario is this:
1. The user search for ''show''
2. Nothing was found
3. So I do a fuzzy search, passing ''show~''
4. It gives me somes results, most of all was matched with ''showcase''
5. So I want to tell the user that: Nothing was found with
2007 Mar 31
4
not understanding search results
I''m getting some results that I don''t understand from a search.
The code, based on the tutorial, and the results are below.
Everything makes sense to me, except the results for
the ''title:"Some"'' query. I would think that it should
match the first two documents, but not the third.
What am I missing here?
Thanks for any help!
--- code
2007 Mar 18
3
"ö" causes find_by_contents not to return
I''ve installed ferret 0.10.9 together with the latest acts_as_ferret
using Windows XP and indexed a location database (geonames.org) with
Location.rebuild_index. The data is in utf-8.
Now calling Location.find_by_contents "?" does not return a result,
causes a lot of CPU load, and finally exits with an error "index.rb:702:
in ''parse'': failed to allocate
2005 Nov 17
6
lock problems from concurrent processes.
Hi!
First, thanks a LOT for ferret. The API and documentation is great.
I''m trying to integrate ferret into a RoR app (DamageControl) and have
run into a problem with locks.
DamageControl consists of two processes that start up and run in
parallel. The first one is the webapp (which
is just a plain RoR app). The second is a daemon process that runs in
the background.
The daemon process
2006 Sep 05
15
ferret finds ''tests'' but not ''test''
Hello all,
Quick question (possibly!) - I''ve got a few records indexed and doing a
search for ''test'' reports in no hits even though I know the word ''tests''
exists in the indexed field. Doing a search for ''tests'' produces a
result. I would have thought that ''test'' would match ''tests'' but no such
2007 Jun 12
5
index browser inconsistent with IndexReader
Hi,
We have an index of around 1M web pages as part of our web app. The
app uses ferret by way of RDig to perform searches. We have noticed
anecdotally that some searches don''t work the way we thought they
should, as if documents were missing from the index. Yesterday we
came upon a concrete instance of this.
Our documents have several fields, one of which is called :keywords
and
2006 Aug 28
12
Help with Multiple Readers, 1 Writer scenario
Hi,
I''m building a web server application using Ferret [thanks so much
Dave], Mongrel and Camping which works fine servicing one request at a
time, but serialises searches if more than one request arrives, so I''d
like some advice please about the best way to use multiple readers and
one writer.
Some background ... query requests which in my case are always read
only, arrive via
2006 Jun 14
3
In memory IndexReader bug?
Hi All,
Hope all is going well.
I''m having trouble with the following code creating an in memory index
reader - it seems to be attempting to read from a file regardless.
Here''s the simple code:
require ''rubygems''
require ''ferret''
a = Ferret::Index::Index.new
r = Ferret::Index::IndexReader.new(nil)
Running the code on my OS X machine
2008 Jan 09
5
Parallel indexing doesn''t work?
Hi,
I''m trying to get parallelized ferret indexing working for my AAF
indices, based on the example in the O''Reilly Ferret shortcut.
However, the resulting indices after merging seem to have no actual
documents.
I went and made minimal changes to the example in the Ferret shortcut
pdf, and indeed can''t get that to work either. I''d appreciate any help
2006 Nov 22
1
Help with Multiple Readers, 1 Writer scenario
Some time back in September, [sorry to be so slow], Dave wrote:
> When you open an IndexReader on the index it is opened up on
> that particular version (or state) of the index. So any
> operations on the IndexReader (like searches) will only show
> what was in the index at the time you opened it. Any modifications
> to the index (usually through and IndexWriter) that occur
2007 Feb 28
2
Ferret quick dump&load
Hello Dave, Hello all,
Some weeks ago, Maz submit a patch to quickly dump or load a ferret
database in an other format to prevent index rebuilding (due to changes
in the format) or to simplify backup/replication tasks.
I re-paste this patch (it was against the 0.10.14) here :
http://pastie.caboo.se/43603
Do you think it''s intresting for ferret ?
Do you have any plan for this patch ?