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 gmail.com
>From: Andi Vajda <vajda osafoundation.org>
>Reply-To: Andi Vajda
><vajda osafoundation.org>,pylucene-dev osafoundation.org
>To: pylucene-dev 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 lucene.apache.org
>
>Andi..
>_______________________________________________
>pylucene-dev mailing list
>pylucene-dev osafoundation.org
>http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
____________________________________________________________
_____
Don't just search. Find. Check out the new MSN Search!
http://search.msn.com/
_______________________________________________
pylucene-dev mailing list
pylucene-dev osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
|