Pasha, in short, that is all I'm trying to do. Wasn't an issue really before.
Otis, not sure what Luke is. But the documents appear after we optimize.
Roy.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Pasha, in short, that is all I'm trying to do. Wasn't an issue really before.
Otis, not sure what Luke is. But the documents appear after we optimize.
Roy.
On Mon, 21 Mar 2005 18:20:32 -0800 (PST), Otis Gospodnetic
<[EMAIL PROTECTED]> wrote:
> * Replies will be sent through Spamex to java-use
Hello,
Sorry if this is stating the obvious, but have you used Luke to verify
that the new documents were indexed in the first place? Sorry if
you've already mentioned this.
Otis
--- [EMAIL PROTECTED] wrote:
> > When do you open the index writer? Where is the code?
>
> Ah, sorry. That last s
correct, we also can't see the new documents when we open an IndexReader to the
main index.
Roy.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Ah, sorry. That last section is in a method that gets called
> in a loop.
The shortest version of your code is:
-
void mainFunction() {
IndexWriter writer = null;
writer = new IndexWriter( mainindex, n
> When do you open the index writer? Where is the code?
Ah, sorry. That last section is in a method that gets called in a loop.
IndexWriter writer = null;
try {
writer = new IndexWriter( mainindex, new StandardAnalyzer(), false
);
for ( int i = 0; i < dir
Hi,
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> I just realized that the way I described our process was off a little
> bit.
>
> Here's the process again:
>
> I apologize for the amount of code below.
When do you open the index writer? Where is the code?
Pasha Bizhan
http://lucene
Hi,
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> I just realized that the way I described our process was off
> a little bit.
>
> Here's the process again:
>
> I apologize for the amount of code below.
When you open the index writer? Where is the code?
Pasha Bizhan
http://lucenedo
On Sat, 19 Mar 2005 22:43:44 +0300, Pasha Bizhan <[EMAIL PROTECTED]> wrote:
> Could you provide the code snippets for your process?
>
Sure (thanx for helping, btw)
I just realized that the way I described our process was off a little bit.
Here's the process again:
1. grab all index Directorys
Hi guys,
Just trying to understand where problems can occur.
Maybe I need to describe our indexing process some more.
We create new indexes as "index parts" with Documents that are supposed to
contain unique ID key fields.
These "index parts" get merged into two separate indexes: a main index
> > However, after optimizing, suddenly those new documents
> > appear. Its almost as if the new segments are not being read
> > by the IndexReader.
>
> You need to close IndexWriter before open IndexReader. Or reopen
> IndexReader.
>
> See TestIndexReader.java:: private void deleteReaderWriterC
Hi,
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> However, after optimizing, suddenly those new documents
> appear. Its almost as if the new segments are not being read
> by the IndexReader.
>
> Any thoughts?
You need to close IndexWriter before open IndexReader. Or reopen
IndexRe
12 matches
Mail list logo