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: [EMAIL PROTECTED]





From: Andi Vajda <[EMAIL PROTECTED]>
Reply-To: Andi Vajda <[EMAIL PROTECTED]>,[email protected]
To: [email protected]
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 [EMAIL PROTECTED]

Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

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

_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to