similar to: Highlighting broken in TRUNK

Displaying 20 results from an estimated 1100 matches similar to: "Highlighting broken in TRUNK"

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 Sep 05
1
AAF and DRb with highlighting
How would I change this method in order to get highlighting working with DRb? I''ve given up on searching on Google, I''m getting no results that are actually helpful. def self.find_storage_by_contents(query, options = {}) # Get the index that acts_as_ferret created for us index = self.aaf_index.ferret_index results = [] default_options = {:limit => 10,
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
2006 Dec 01
1
Effective search when knowing ID
Hi list, I''m new to ferret and I wonder what is the best way to search if I know one fields id and want to search on its content. I have experimented with FilteredQuery but I don''t know if this is the best way. Eg. index = Index::Index.new(:path => ''/tmp/all'') @dbh = Database.instance.connect result = @dbh.exec("SELECT pk_fulltext_id, fulltext_text
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 Mar 06
3
Highlight method creates malformed characters.
Hello list, I''ve just updated to 0.11.3 and I came upon this problem. When using the highlight function in a rails application I sometimes get the error "Malformed UTF-8 character." It is just on certain documents and if I change the excerpt length the error disappears so it feels that if the highlight method cuts the text at the wrong character the function returns a
2007 Apr 13
5
undefined method `ferret_index'' for xxx:Class
Hi I am trying to use ferret; the regular search works; but when I use the find_storage_by_contents to highlight the results, I am getting the above error. Please help thanks -- Posted via http://www.ruby-forum.com/.
2013 Mar 06
2
2GB limit patch
Brian Willoughby wrote: > I do not see the need to jump to 64-bit merely to get beyond the 2 GB > limit. There are modern API that handle 32-bit unsigned file lengths > - i.e., up to 4 GB - without going to 64-bit. When we are talking about offset_t we are talking about the flac C and C++ API. Currently if we have a flac file with more than 2Gig samples it is not possible to seek
2007 Feb 22
5
Combine ferret with database
Hello list, I wonder if someone has some tips on joining a ferret search with a database. I have a rails project using a postgresql backend and I would like to utilize the superb performance of ferret for fulltext searching. The problem is that I have to joined the result with the database as I have some user access rights to different documents to take into account. Does anyone have
2007 Mar 21
4
Cannot delete for id of type Array
Hello list, I have a little weird error when deleting documents from the index. I''m using the following code. ferret_index = Ferret::Index::Index.new(:path => FERRET_INDEX_PATH) query = Ferret::Search::TermQuery.new(:fk_file_id, "#{_fk_file_id}") ferret_index.search_each(query) do | id | ferret_index.delete(id) end And I get the following error Cannot delete for id of
2005 Oct 04
3
Net Rpc Logoff possible?
Hello! I wonder if it is possible to send a logoff rpc signal? If it is not possible as today would it be possible if we could trace the rpc logoff signal sent p? MS own products? Any suggestions are welcome! Regards Henrik
2006 Mar 17
2
> 1TB filesystems with ZFS and 32-bit Solaris?
Solaris in 32-bit mode has a 1TB device limit. UFS filesystems in 32-bit mode also have a 1TB limit, even if using a logical volume manager to span smaller than 1TB devices. So, what kind of limit does ZFS have when running under 32-bit Solaris? -- Erik Trimble Java System Support Mailstop: usca14-102 Phone: x17195 Santa Clara, CA
2006 Mar 08
3
date created attribute doesn't seem right
Greetings, I've setup a samba server (ver 3.0.14a-3) on debian sarge. When I copy files to the server, the 'date created' attribute is always the same value as the 'date modified' attribute. The 'date modified' attribute remains the same, but the 'date created' changes as noted above. I also have a snap server which has the same type of behavior. It is my
2007 Jun 14
2
API towards cFerret
Hello list, I know this is a little OT but I wonder how I would go about using cFerret directly through C/C++ for indexing. Right now I do index = Index::Index.new(:path => ''/path/to/index'') index << {:title => "Programming Ruby", :content => "blah blah blah"} How would I do this in C/C++ against cFerret? Thanks! //Henrik
2005 Dec 29
2
Yum install samba
Hi, I just wonder why my yum repos only shows samba 3.0.14a which is quite old. Do I have to set up a special repo for the samba packages? And yes I know that I should use rpm and I usually do that but I want to install an old version and I only find the latest rpm in the download area. Cheers, Henrik
2005 Dec 13
2
NET VIEW equivalent in Samba
Hi! Is there a NET VIEW equivalent in samba? I looked at smbclient -L but then I have to know the browser master. I only want to specifiy a workgroup.. Regards, Henrik
2006 Feb 11
2
GPL question regarding distribution
Hi list, I've read the GPL and have som questions regarding incorporating GPL tools in other software. Lets say that I make an Webbapplication that on some occasions uses a GPL tool i.e nmblookup or rpcclient how much of my code do I need to release under the GPL? Only the code interacting with the tool or all of it (graphics, cgi scripts, designs etc etc)? If that is the case how do
2006 Aug 18
2
Why can't I delete "Everyone" ACL entry on a Samba share?
Hi list, Using Samba 3.0.22 on a Debian box. Samba is using security = ADS and is a member server. Winbind, kerberos works as expected. BUT If I look at the security tab in windows I always see the Everyone entry. I think this is because the POSIX "other" entry in the FS on the debian box, correct? Can I remove it? If so how? Thanks, Henrik