Hi,
I am planing to integrate Lucene into my web application. Can you please give
high level steps to follow?
Thanks
Zhou
--- On Fri, 22/1/10, Sriram Muthuswamy Chittathoor
wrote:
From: Sriram Muthuswamy Chittathoor
Subject: Applying LUCENE-1606 -- which version
To: java-user@lucene.apach
Hi,
I think you should use another IndexWriter constructor:
IndexWriter(Directory d, Analyzer a, IndexWriter.MaxFieldLength mfl)
Constructs an IndexWriter for the index in d, first *creating it
if it does not already exist*.
Hope this helps.
Bye
Raf
On Sun, Jan 24, 2010 at 4:48 AM, jc
That's perfectly fine.
Mike
On Sat, Jan 23, 2010 at 5:50 PM, Paul Libbrecht wrote:
>
> Hello list,
>
> for some strange reason I wish to cache very frequent (and big, ~3000 terms)
> queries.
> Now, this might mean that a query is searched for in several threads on the
> same index. Do I run a ri
Think from another approach: You can check whether the index exists or
not by IndexReader.*indexExists
<../../../../org/apache/lucene/index/IndexReader.html#indexExists%28java.io.File%29>*(),
and then determine what you want to do with the IndexWriter constructor.
--
--
Chris Lu
-