On Wed, 15 Aug 2007, Jon Rosebaugh wrote:
indexDir = '/domains/ffmlindex/lucene'
from PyLucene import Document, IndexSearcher, FSDirectory,
QueryParser, StandardAnalyzer, Sort, SortField, TermQuery, Term
fsDir = FSDirectory.getDirectory(indexDir, False)
searcher = IndexSearcher(fsDir)
textquery = "Rosebaugh"
parser = QueryParser("body", StandardAnalyzer())
sort = Sort.RELEVANCE
query = parser.parse(textquery)
hits = searcher.search(query, sort)
Illegal instruction
[EMAIL PROTECTED]:/domains/ffmlindex$
This seems pretty basic. You said 'make test' passes all tests. Yet this
crashes. I suspect something is off in your environment, that you're not
running what you think you're running... or somesuch...
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev