Could someone please help me to understand the meaning of the following
error:
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 = 'index', builtin False = False
STORE_DIR is a PyLucene index folder, generated by the IndexFiles.py from
the sample files. This code i copied directly from the SearchFiles.py from
the sample files. I cannot see what the error is. When I run the
SearchFiles.py sample file directly it works fine. However, when I embed
this code into a larger script, I get this error.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev