[pylucene-dev] Re: FSDirectory error
Andi Vajda
vajda at osafoundation.org
Fri Mar 2 09:12:21 PST 2007
On Fri, 2 Mar 2007, ashwin thapar wrote:
> 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
Please send in a stacktrace showing the error.
Andi..
More information about the pylucene-dev
mailing list