If i remember correctly, what you'll find when you remove the lock file is
that your index is still usable, and from the perspective of new
IndexWriter/IndexReaders it's in the same state it was prior to the call
to optimize, but from the perspective of an external observer, the index
directory wi
: However, when I search either the path or url fields on this index for those
: values I'm not getting any results. Here's an example:
: Query q = new TermQuery(new
: Term("http://cfdocs.office.alagad.com/htmldocs/0001.htm";, "url"));
simple mistake - the constructor for a Term takes the fi
Hello,
I have a process which indexes several hundred documents. As a part of the
indexing process I've been adding keywords for the document's path on disk
and it's URL.
The indexing process seems to work fine. When I look at my index using Luke
I see 1875 documents in the index and
Hello! I am using Lucene 1.4.3
I'm building a Lucene index, that will have about 25 million documents
when it is done.
I'm adding 250,000 at a time.
Currently there is about 1.2Million in there, and I ran into a problem.
After I had added a batch of 250,000 I go a 'java.lang.outOfMemory'
thre
I also had similar problem. It was essentially a 'group by'-like
requirement.I used both get(fieldName) and getTermFreqVector(...),
it seemed that get(fieldName) on a page of results (say, 10 results
per page) was faster than getTermFreqVector() for me.
ray,
On 7/29/05, mark harwood <[EMAIL
The default value of IndexWriter.WRITE_LOCK_TIMEOUT property is 1000ms. Can
this value be increased to some optimum value?
- Original Message -
From: "Harini Raghavan" <[EMAIL PROTECTED]>
To:
Sent: Saturday, July 30, 2005 11:23 PM
Subject: IOException : Lock obtain timed out
Hi Al
: I have an index with about 20 different fields.
: I'd like to query my index to get the list of all different terms for
: a given field.
: Is it something possible in a simple way? I mean simpler than getting
: every terms of the index and then keeping only those which match the
: given field.
I