search for: shingler

Displaying 9 results from an estimated 9 matches for "shingler".

Did you mean: shingle
2008 May 03
4
silly partial qu
hi all, i''m just trying to check a partial has been rendered, by using: response.template.should_receive(:render).with(:partial => "tasks/list") this passes, even if I put something bogus in the partial name, such as: response.template.should_receive(:render).with(:partial => "___tassdfsdfks/list") does anyone know why this doesn''t fail? is this the
2006 Jul 12
9
ferret using UTF-8
Hey all, I went through the docs in Ferret''s page, plus a quick search through the email list (thread titles), and I couldn''t find any info on how to have Ferret storing it''s data using UTF-8. In the scenario I would use it, nothing''s being stored outside (like external databases). So it''s just how Ferret would do it that I''m interesting in
2008 Jul 22
2
can''t execute a build - on windows + jruby
Hi all, Am trying to get cc.rb working on a windows machine, running under JRuby. I patched line 19 of project_migration.rb to use jruby, instead of ruby. execute "jruby #{File.join(migrate_scripts_directory, script)} #{@data_dir}" The add project works fine, but when I run start, the webpage just hangs on the ajax request to build - never actually executes the build at all, or comes
2006 May 15
16
Ferret not able to read a Lucene Index?
Hi all, Having problems trying to get Ferret to read an index generated by Lucene. Am I right in thinking Ferret should be able to read a Lucene generated index no problem? Using the code snippets detailed in http://www.ruby-forum.com/topic/64099#new Any advice gratefully received. Many Thanks, Steven -- Posted via http://www.ruby-forum.com/.
2006 Jul 14
2
RDig config file problem
Hi All, Hope it is ok to post RDig queries on this forum. Just trying to get RDig working (Ubuntu 6.06, RDig 0.3.0, ferret 0.9.4, rubyful_soup 1.0.4) Here is my output: sh:~/rdigtry$ rdig -c config/rdig_config.rb discovered content extractor class: RDig::ContentExtractors::PdfContentExtractor discovered content extractor class: RDig::ContentExtractors::WordContentExtractor discovered
2006 Jun 15
3
best updating method
Hi All, I have a Ferret index containing some cached RSS feeds. I have a nightly cron script to cache the feeds, and I''d like to update the index with the latest feeds. I see the Index class has an update method, but I can''t work out how to get the id of the relevant document to pass in. Lets say I have a file called "google_news.xml" I want to go:
2006 Jul 25
1
RDig document processing error
Hi all, Am having problems using RDig: With this rdig config... cfg.crawler.start_urls = [''http://www.defensetech.org''] cfg.crawler.include_hosts = [''www.defensetech.org''] cfg.index.path = ''/my/path/to/index'' cfg.verbose = true ...I get this output: $ rdig -c config/rdig_config.rb /usr/local/lib/site_ruby/1.8/ferret/index/term.rb:45:
2006 Jun 13
1
rails - web service - method name formatting problem
Hi all, I''m using AWS to consume a web service written in Java. I set up the API class with: api_method :extractName, :expects => [{:arg0 => :string}], :returns => [:string] Note the lowercase ''e'' of the method name - (because the service is written in Java :)) My problem is that when this goes out across http, it becomes formatted as
2006 Jun 23
0
Rake doc:app not including lib directory
Hi all, I have found a couple of posts about this issue, but no clear answer... I noticed that the rake task doc:app doesn''t include ruby files in the lib directory. How to change that? I have found the documentation.rake file in the rails gem, but thought there must be a better way than just hacking that file to include the lib dir. Also, I see you can add rake files to