Stupid me. It was working fine. I hadn't called super(in) so the call
to stream.close() in DocumentWriter was obviously failing!!!
Rob.
-Original Message-
From: Robert Haycock [mailto:[EMAIL PROTECTED]
Sent: 28 June 2006 15:04
To: java-user@lucene.apache.org
Subject: RE: Adding
he end of the tokens. You'll need
to implement some kind of buffering mechanism - check out the custom
analyzers (like the SynonymAnalyzer) in the Lucene in Action code -
http://www.lucenebook.com - for examples.
Erik
On Jun 28, 2006, at 8:52 AM, Robert Haycock wrote:
> Hi,
Hi,
I started using the EnglishStemmer and noticed that only the stem gets
added to the index. I would like to be able to add both to give me a
stem search and an exact search capability.
My first attempt has been to write my own stemming filter. The idea
being that the first pass would get the
Hi,
I have a very simple example. An IndexWriter (Lucene 1.9.0) with
CJKAnalyzer (latest version as of today). A Chinese friend of mine as
given me a sentence and a word that appears in that sentence, eg:
"C1C2C3C4C5C6C7C8" where the word is "C3C4".
Here's code segment:
IndexWriter writer = n
Hi Bob,
No idea if this would work BUT...
If the old index is optimized then you might be able to iterate through
all the docs in your old index (sorted by doc id) and for each iteration
add the corresponding doc to the new index so it has a matching doc id.
The idea being that after searching on
He he, nice comparison!
Cheers for the advice.
Rob.
-Original Message-
From: Chris Hostetter [mailto:[EMAIL PROTECTED]
Sent: 09 June 2006 08:00
To: java-user@lucene.apache.org
Subject: RE: Property comparison possible??
: Is it possible to perform a search using fields instead of terms
Is it possible to perform a search using fields instead of terms, eg.
like this sql:
SELECT col1, col2
FROM table1
WHERE col1 = col2
Or is this something that might be going on the whiteboard?
Thanks,
Rob.