similar to: Effective search when knowing ID

Displaying 20 results from an estimated 100 matches similar to: "Effective search when knowing ID"

2007 Aug 08
2
Highlighting broken in TRUNK
Hello list, As there is still some large file support bugs in the 0.11.4 release I had to download the trunk and apply a patch sent in by kyle http:// ferret.davebalmain.com/trac/ticket/215. The problem is now that the highlighting doesn''t work. Somehow it combines excerpt_length with num_excerpts so if you have and excerpt_length of 50 and num_excerpts of 5 and you get only one
2007 Jun 19
3
another issue with highlighting
Hi, I''m encountering another highlighting issue. (about the first one "range search and highlighting", i received no response. I don''t even know if somebody tried to reproduce and/or if it''s normal behavior) about the new issue, an example will be easier for you to reproduce: I''m filling an index with random data, i try to match for "*1*"
2007 Jun 28
1
DRb server crashing
I''m having a problem where the DRb server seems to be disappearing (crashing?) and I don''t know how to track down the cause or work around the problem. Unfortunately I haven''t found a way to reproduce the problem, but it seems to happen fairly often (maybe once a day). Other then that ferret seems to be working well. I can''t seem to find any trace of the
2007 Jun 07
3
:store => :yes doesn''t work in some cases
I''m not really sure if this is a bug, but it makes my search results look a bit strange. I have an acts_as_ferret declaration that looks like: acts_as_ferret :store_class_name => true, :remote => true, :fields => { :ferret_name => { :store => :yes, :boost => 2 }, :ferret_content => { :store => :yes } } I store both fields so that I
2007 Feb 06
2
Which method to use to get content from index with a_a_f?
Hi everybody, After staring at the a_a_f API for quite sometime now, I decided it''s time to ask... Which method should I use to get content from the index without using highlight? Consider the following controller action: def preview if params[:search].blank? # normal case @text = @myfile. # which method do I use here to get the :text from the index??? else # if we come from
2007 Jul 06
0
Highlighting returns entire field in Ferret trunk?
Hello, I''m using Ferret trunk (#770) with Kyle''s large file support patch: http://ferret.davebalmain.com/trac/ticket/215 I''m having trouble with Ferret::Search::Searcher#highlight returning too much text around the query term. Regardless of what I set :excerpt_length to, highlight returns the entire contents of the field up to the first occurrence of the search
2007 Nov 16
1
problem with searching plurals (with apostrophe)
hello guys, i am using acts_as_ferret plugin(0.4.1 Latest) with ferret gem(0.11.4 Latest) on rails 1.2.5 and ruby 1.8.6(UBUNTU Gutsy) i have this :Stores Model acts_as_ferret :fields => {:name => { :boost => 2 ,:store => :yes}, :short_desc => { :boost => 1.5,:store => :yes }, :tag_list => {:boost => 1
2006 Sep 11
1
Using a datefilter with caching
I''m trying to use a DateFilter to speed up some searches. The situation is that a have an index with 200 000+ documents and I want to run a few thousand alerts (basically stored searches) on only a small portion of the index (documents added the last hour). Is datefilter the best solution for the situation described above? I assumed that the datefilter would be cached in the same way
2006 Aug 04
1
incorrect checksum for freed object?
I''m using ferret (0.9.4) in rails, but outside of the "acts_as_ferret" plugin. Whenever I use a QueryFilter (even a very simple one), the server will crash after one, two, or three reloads of a page (same page, same query, same filter). It''s very non-deterministic and I can''t seem to reproduce it outside of my application environment (I can''t get it
2006 Jul 14
3
Whitespace Issues
I am trying to build up a filtered search using the logic below. bq = Ferret::Search::BooleanQuery.new bq.add_query(Ferret::Search::TermQuery.new(Ferret::Index::Term.new("section",section.downcase!)), Ferret::Search::BooleanClause::Occur::MUST) filter = Ferret::Search::QueryFilter.new(bq) @vobjects = VoObject.find_by_contents(search_input,:filter => filter, :sort
2006 Jul 09
3
acts_as_ferret.. what does it actually do?
Okay in this plea for help I''m going to repeat some of what i posted before but with a larger amount of background info in the hope that i can get a decent grip on ferret before it wriggles away.. Firstly, what does installing the acts_as_ferret plugin actually do? I install it and add it to my model and then the index is automatically generated and a few methods are added to it and
2007 Jan 24
7
Ferret problems with Rails 1.2.1
Hi, I''ve just updated rails from 1.1.6 to 1.2.1 and I''m getting the following errors whenever I load a page that uses a class that uses ferret. I have ferret 0.10.13 and acts_as_ferret. They were working fine before the upgrade. #<NameError: cannot remove Object::WildcardQuery>
2006 Aug 17
2
Knowing the partial iteration number
Hi, How can I know the iteration number of a *render (:partial)* iterating through a collection? Example: I got a collection containing 3 elements: *John *Pierre *Chris John would respond to 1, Pierre to 2 and Chris to 3 and so on... Kind of like the *cycle* method acts but to know the iteration number. Guillaume Carbonneau -------------- next part -------------- An HTML attachment was
2006 Jun 12
0
Knowing the positions of Draggables
Could anyone direct me to a way to easily (without writing my own JavaScript, if possible) track the X and Y positions of Draggable objects moved/placed on a web page? I''d like for users to be able to reposition elements on a page, which I''ll then store the locations of so that I can redisplay them in the correct positions later. Thanks.
2006 May 08
4
link_to - Going Back without knowing the action name.
Hi, I have a bunch of link_to''s in my code that are simple Back buttons that should basically just go to the previous request. Is there a way of doing this without specifying the action to execute? The problem is, sometimes I may render the same view through separate actions so I wouldn''t know which action to go back to. Thanks. -------------- next part -------------- An HTML
2006 Apr 21
1
problem with e2fsck not knowing xfs
Hi! I had problem yesterday with e2fsck. It reported a bad superblock. I then tried to use one of the other superblocks. To no avail. Then later I remembered that I had switched the fs type to xfs. Maybe e2fsck could recognize other common fs types, and report this instead? best regards keld
2007 Aug 03
1
Knowing zap channel status
I'm trying to write a zap monitor program to visually display the status of each channel. It's working well -: However, one thing that I am still struggling with is knowing the status of the zap channels when the program starts. Zap show channels only seems to show an extension on an inbound call. I don't know which channels are in use for outbound calls. Anyone got an
2006 Feb 08
1
Dscript for knowing the I/O processes going on in Solaris10
Hi, I have an JAVA application using JNI calls which links to native libraries.When i run this application for around 4hrs i am getting a java.io.IOException "Not enough space". No memory leaks in JAVA as my JProbe reports are fine. I came across DTrace which help us to know what internally is happening in the Solaris10 machine as I doubt my system configuration for the above
2007 Jan 22
1
Knowing your boot disk
folks, If you boot from syslinux based USB/harddisk, is there a way to know the partition or disk you booted from? I'm using the mboot module, so if the info is availble to thru the COM api, i can get it and append it to cmdline. thanks. -- Ram
2006 Apr 10
0
[Bug 468] New: There is no real documentation for knowing how to configure the kernel for iptables
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=468 Summary: There is no real documentation for knowing how to configure the kernel for iptables Product: netfilter/iptables Version: linux-2.6.x Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: