[pylucene-dev] java.io.FileNotFoundException: (File too large) with PyLucene 2.2.0-1 and gcc 3.4.4/3.4.6

Andi Vajda vajda at osafoundation.org
Wed Aug 15 15:42:23 PDT 2007


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
> jon at li5-50:/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..


More information about the pylucene-dev mailing list