lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Sibert" <chrissib...@attbi.com>
Subject Re: Lucene is not closing connections to index files
Date Mon, 12 Aug 2002 05:43:21 GMT
Yes, I have. It's a problem.


----- Original Message -----
From: "Jason Coleman" <jacoleman@arrow.com>
To: <lucene-user@jakarta.apache.org>
Sent: Sunday, August 11, 2002 6:24 PM
Subject: Lucene is not closing connections to index files


> Lucene is not letting go (closing) index files that are being searched.
>
> I have not traced exactly where the problem is occurring, so I thought I
> would get some ideas first from the board.  It appears that when a user
does
> a search against the Lucene index files, the connections to these files
are
> not released.  It continues to maintain a connection until the JVM runs
out
> of file space.  This is how I am querying the index:
>
>
> Searcher searcher = new IndexSearcher(index_path);
> Query query = QueryParser.parse(queryString, "body", new
> StandardAnalyzer());
> hits = searcher.search(query);
>
>
> index_path is just the location of the Lucene index files.  I am sure that
a
> Reader class somewhere is not being closed properly.  Has anyone
experienced
> this problem when querying the index?
>
> Jason
>
>
> --
> To unsubscribe, e-mail:
<mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message