GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a lightweight but powerful documents search engine, written in Rails.
Homepage: http://picolena.devjavu.com/
Clone URL: git://github.com/EricDuminil/picolena.git
Initializing Indexer.index.writer sometimes removes 
Picolena::MetaIndexPath. Why???
EricDuminil (author)
Mon May 12 10:10:41 -0700 2008
commit  6fd57aa859f388e104964ff1bca6095804b25f5b
tree    46db80174a77f97b6a0ec69abd5288f3db5b9446
parent  d51b3d31721fff9e1b8ee6f9d891a7ee8f7323cf
...
2
3
4
 
5
 
6
7
8
...
2
3
4
5
6
7
8
9
10
0
@@ -2,7 +2,9 @@ require File.dirname(__FILE__) + '/../spec_helper'
0
 
0
 describe Indexer do
0
   it "should have at least 32MB memory allocated" do
0
+ # FIXME : Sometimes erases Picolena::MetaIndexPath. WTF?
0
     Indexer.index.writer.max_buffer_memory.should > 2**25-1
0
+ FileUtils.mkpath(Picolena::MetaIndexPath)
0
   end
0
 
0
   it "should know the time it was updated" do

Comments

    No one has commented yet.