[pylucene-dev] FSDirectory error

ashwin thapar ashwinthapar at hotmail.com
Fri Mar 2 09:08:36 PST 2007


I cannot seem to resolve this FSDirectory error
55 STORE_DIR = "Text/index"

   56 directory = FSDirectory.getDirectory(STORE_DIR, False)

   57 searcher = IndexSearcher(directory)

   58 analyzer = StandardAnalyzer()

directory undefined, FSDirectory = <type 'PyLucene.FSDirectory'>, 
FSDirectory.getDirectory = <built-in method getDirectory of type object>, 
STORE_DIR = 'Text/index', builtin False = False

This exact same script works fine on my pc, but on the server i am getting 
this error. The directory specified was one genereated using PyLucene's 
IndexFiles.py script



-ashwin
New email: ashwin86 at gmail.com





>From: Andi Vajda <vajda at osafoundation.org>
>Reply-To: Andi Vajda 
><vajda at osafoundation.org>,pylucene-dev at osafoundation.org
>To: pylucene-dev at osafoundation.org
>Subject: Re: [pylucene-dev] Minimum word length
>Date: Thu, 1 Mar 2007 14:17:40 -0800 (PST)
>
>On Thu, 1 Mar 2007, Nick Arnett wrote:
>
>>I need to index some very short strings -- two or three letters -- and I'm 
>>sure that Lucene has an option to enable this... but I sure can't seem to 
>>find it.  Any pointers gratefully accepted.
>
>That's a great question for java-users at lucene.apache.org
>
>Andi..
>_______________________________________________
>pylucene-dev mailing list
>pylucene-dev at osafoundation.org
>http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/



More information about the pylucene-dev mailing list