The problem was that I was using the 3-parameter constructor for
IndexWriter when I should have been using the 2-parameter one. It
works fine now, many thanks for your kind assistance.
--
Cheers,
Hasan Diwan <[EMAIL PROTECTED]>
-
Where are you getting your doc from? I see no
Document doc = new Document()
line in your code. So it's re-using an old one?
Best
Erick
On Wed, Apr 23, 2008 at 10:43 PM, Hasan Diwan <[EMAIL PROTECTED]> wrote:
>writer = new IndexWriter(indexLocation, new
> StandardAnalyzer(), tru
Rafael Turk skrev:
*Great ideia! Berkeley DB is definitely a try, simple and effective, but
I'll have to work the data previously.
JDBM has a more appealing license if you ask ASF.
karl
-
To unsubscribe, e-mail:
This is some sort of index corruption. The merge policy wants to
merge that segment (_48) but it has apparently been deleted from your
index. Likely if you try to run CheckIndex, optimize, or open a
reader, you'd get a similar exception.
Is this repeatable? Can you describe your applic
Rafael Turk a écrit :
Hi Mathieu,
*What do you wont to do?*
An spell checker and related keyword suggestion
Here is a spell checker wich I try to finalize :
https://admin.garambrogne.net/projets/revuedepresse/browser/trunk/src/java
If you wont an ngram => popularity map, just use a berkl
Hi Hasan,
You had mentioned that you initialized the writer with 'true' as a parameter
so I just thought you went wrong there. Is the problem resolved?
Are you catching any exceptions during the process?
--
Anshum
On Thu, Apr 24, 2008 at 12:06 PM, Hasan Diwan <[EMAIL PROTECTED]> wrote:
> Anshum