I’m developing locally on Windows and I have a remote dev box that runs
Linux. I’m trying to use RDig just to index using urls, no files.
Both use acts_as_ferret for an administrative search that works fine.
On the Windows machine, I get no errors, but get no results.
On the Linux machine, I get:
File Not Found Error occured at <except.c>:93 in xraise
Error occured in index.c:840 - sis_find_segments_file
couldn’t find segments file
On both machines I have run the indexer with no errors using: rdig -c
Both machines have an index dir at the rails root that has two files,
segments and segments_0. Both files look like they have next to nothing
Both rdig_config.rb files look like:
cfg.crawler.start_urls = [ ‘http://domain.tpl/’ ]
cfg.crawler.include_hosts = [ ‘domain.tpl/’ ]
cfg.index.path = ‘./rdig_index’
cfg.verbose = true
cfg.content_extraction = OpenStruct.new(
:hpricot => OpenStruct.new( :title_tag_selector => 'title', :content_tag_selector => 'body' )
Both enviroment.rb files have:
Finally, both have rdig and hpricot gems installed.
Any help would be great.