search for: zagerholm

Displaying 20 results from an estimated 61 matches for "zagerholm".

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
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
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 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
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
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 Mar 13
1
is there a possibility to start a programm from samba on a windows machine?]
Henrik Zagerholm wrote: > It sure could be :) > > I know that Jerry (Carter) of the samba team was looking at this a > while ago (psexec) but I guess he's been busy with the Samba4 TP. > Samba TNG has a command called cmdat which will let you schedule > commands on a win box using the at c...
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
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
2006 Feb 01
4
Red Hat and "use sendfile"
Recently I've seen several suggestions on this list for the enabling of "use sendfile" as a means to improve throughput. I thought this was peculiar since the doc says it is enabled by default. I guess it isn't. On both RHEL4 (Samba v3.0.10) and Fedora Core 4 (Samba v3.0.14) the entry for "use sendfile" in the smb.conf says: Default: use sendfile = yes Hmm.
2006 Jul 06
4
Re: psexec for Linux and svcctl.idl changes
> I am not a regular samba developer, but I wanted to have psexec > equivalent, so I wrote it, it works but still need some development. > I do not know if patches of such sizes (about 30k) are welcome on > this list so I've put it on web page, with some description: > http://eol.ovh.org/winexe/ > Comments welcome. Hi, this is really great, you can get Windows command
2007 Jun 04
2
Memory concerns ferret 11.4.
Hi list, We just built our own ferret drb server (mostly because we don''t do an indexing from within rails). The ferret drb server only handles index inserts and some deletes. Usually we make batch inserts were we retrieve a couple of hundred or thousands of documents from a database and then inserts them inte ferret one by one. We call flush every 50th file. We are very impressed
2006 Apr 27
12
Execute controller function from RJS
Hi all, I wonder if it is somehow possible to execture or redirect to a controller function from RJS? Right now I do: def foo() render :partial => ''executeagain'' end _executeagain.rhtml <script> new Ajax.Updater(''elmntID'', ''/test/foo/'', {evalScripts:true}); </script> This will loop I know :) How can I achieve the same
2007 Mar 05
1
Using act_as_ferret with find_by_sql
Hello, I wonder if its possible to combine ferret queries with find_by_sql queries? Or should I try to rewrite my query using find and then use find_by_content when I''m done? Thanks for a great product! Regards, henrik
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
2006 Dec 01
1
Specify doc_id
Hi list, I wonder if it is possible to specify my own doc_id? I want to have the same doc_id as my fulltexts tables primary keys. Cheers, Henrik
2006 Nov 30
2
Fatal error when require ferret
Hello list, I just started using ferret and it really doesn''t go my way. Doing gem install ferret outputs -> make install /usr/bin/install -c -m 0755 ferret_ext.so /var/lib/gems/1.8/gems/ ferret-0.10.13/lib make clean Successfully installed ferret-0.10.13 Installing ri documentation for ferret-0.10.13... Installing RDoc documentation for ferret-0.10.13... In ferret.rb ->