List Info

Thread: FSDirectory error




FSDirectory error
country flaguser name
United States
2007-03-02 11:08:36
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: ashwin86gmail.com





>From: Andi Vajda <vajdaosafoundation.org>
>Reply-To: Andi Vajda 
><vajdaosafoundation.org>,pylucene-devosafoundation.org
>To: pylucene-devosafoundation.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-userslucene.apache.org
>
>Andi..
>_______________________________________________
>pylucene-dev mailing list
>pylucene-devosafoundation.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-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev

Re: FSDirectory error
country flaguser name
United States
2007-03-02 11:12:21
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..

_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )