lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sarfaraz masood <sarfarazmasood2...@yahoo.com>
Subject RE: Problem with linux
Date Sat, 10 Jul 2010 00:15:22 GMT
Thanx a lot :-) 
It worked

--- On Sat, 10/7/10, Uwe Schindler <uwe@thetaphi.de> wrote:

From: Uwe Schindler <uwe@thetaphi.de>
Subject: RE: Problem with linux
To: general@lucene.apache.org
Date: Saturday, 10 July, 2010, 5:31 AM

Is the folder mounted on NFS? If yes, use SimpleFSLockFactory.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: sarfaraz masood [mailto:sarfarazmasood2002@yahoo.com]
> Sent: Saturday, July 10, 2010 1:49 AM
> To: general@lucene.apache.org
> Cc: solr
> Subject: Problem with linux
> 
> I have problems when i execute my prog on linux having this following
piece
> of code.
> {
> 
> Document d;
>  Analyzer analyzer = new PorterStemAnalyzer(); System.out.println("1");
> 
> 
> Directory index = FSDirectory.open(new File("index1"));
> System.out.println("2");
> 
> IndexWriter w = new IndexWriter(index, analyzer, true,
> IndexWriter.MaxFieldLength.UNLIMITED ) ; // MY PROG HANGS UP HERE
> System.out.println("3"); .
> .
> .
> }
> 
> 
> Strangely this exact prog runs well on windows. It simply hangs up(doesnt
> halt) while creating the IndexWriter object in linux. The account via
which im
> logged in has sufficient rights for the concerned folder.
> 
> 
> -Sarfaraz
> 
> 





Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message