_4c.fnm missing

2004-11-16 Thread Luke Shannon
I received the error below when I was attempting to over whelm my system with 
incremental update requests.

What is this file it is looking for? I checked the index. It contains:

_4c.del
_4d.cfs
deletable
segments

Where does _4c.fnm come from?

Here is the error:

Unable to create the create the writer and/or index new content 
/usr/tomcat/fb_hub/WEB-INF/index/_4c.fnm (No such file or directory).

Thanks,

Luke

Re: _4c.fnm missing

2004-11-16 Thread Otis Gospodnetic
 Field names are stored in the field info file, with suffix .fnm. - see
http://jakarta.apache.org/lucene/docs/fileformats.html

The .fnm should be inside the .cfs file (cfs files are compound files
that contain all index files described at the above URL).  Maybe you
can provide the code that causes this error in Bugzilla for somebody to
look at.  Does it consistently break?

Otis


--- Luke Shannon [EMAIL PROTECTED] wrote:

 I received the error below when I was attempting to over whelm my
 system with incremental update requests.
 
 What is this file it is looking for? I checked the index. It
 contains:
 
 _4c.del
 _4d.cfs
 deletable
 segments
 
 Where does _4c.fnm come from?
 
 Here is the error:
 
 Unable to create the create the writer and/or index new content
 /usr/tomcat/fb_hub/WEB-INF/index/_4c.fnm (No such file or directory).
 
 Thanks,
 
 Luke


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: _4c.fnm missing

2004-11-16 Thread Luke Shannon
It conistantly breaks when I run more than 10 concurrent incremental
updates.

I can post the code on Bugzilla (hopefully when I get to the site it will be
obvious how I can post things).

Luke

- Original Message - 
From: Otis Gospodnetic [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 3:20 PM
Subject: Re: _4c.fnm missing


 Field names are stored in the field info file, with suffix .fnm. - see
 http://jakarta.apache.org/lucene/docs/fileformats.html

 The .fnm should be inside the .cfs file (cfs files are compound files
 that contain all index files described at the above URL).  Maybe you
 can provide the code that causes this error in Bugzilla for somebody to
 look at.  Does it consistently break?

 Otis


 --- Luke Shannon [EMAIL PROTECTED] wrote:

  I received the error below when I was attempting to over whelm my
  system with incremental update requests.
 
  What is this file it is looking for? I checked the index. It
  contains:
 
  _4c.del
  _4d.cfs
  deletable
  segments
 
  Where does _4c.fnm come from?
 
  Here is the error:
 
  Unable to create the create the writer and/or index new content
  /usr/tomcat/fb_hub/WEB-INF/index/_4c.fnm (No such file or directory).
 
  Thanks,
 
  Luke


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: _4c.fnm missing

2004-11-16 Thread Nader Henein
what kind of incremental updates are you doing, because we update our index 
every 15 minutes with 100 ~ 200 documents and we're writing to a 6 GB memory 
resident index, the IndexWriter runs one instance at a time, so what kind of 
increments are we talking about it takes a bit of doing to overwhelm Lucene.
What's your update schedule, how big is the index, and after how many updates 
does the system crash?
Nader Henein

Luke Shannon wrote:
It conistantly breaks when I run more than 10 concurrent incremental
updates.
I can post the code on Bugzilla (hopefully when I get to the site it will be
obvious how I can post things).
Luke
- Original Message - 
From: Otis Gospodnetic [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 3:20 PM
Subject: Re: _4c.fnm missing

 

Field names are stored in the field info file, with suffix .fnm. - see
http://jakarta.apache.org/lucene/docs/fileformats.html
The .fnm should be inside the .cfs file (cfs files are compound files
that contain all index files described at the above URL).  Maybe you
can provide the code that causes this error in Bugzilla for somebody to
look at.  Does it consistently break?
Otis
--- Luke Shannon [EMAIL PROTECTED] wrote:
   

I received the error below when I was attempting to over whelm my
system with incremental update requests.
What is this file it is looking for? I checked the index. It
contains:
_4c.del
_4d.cfs
deletable
segments
Where does _4c.fnm come from?
Here is the error:
Unable to create the create the writer and/or index new content
/usr/tomcat/fb_hub/WEB-INF/index/_4c.fnm (No such file or directory).
Thanks,
Luke
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: _4c.fnm missing

2004-11-16 Thread Luke Shannon
The schedule is determined by the users of the system. Basically when the
user(s) change the content (adding/deleting a folder or file, modify a
file's content) through a web based interface a re-index is required of the
content. This could happen 20 times in the span of a few seconds or once in
an hour.

I doubt I am overwhelming Lucene, I think the problem is in my code and how
I am managing the deleting and writing to the Index.

- Original Message - 
From: Nader Henein [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 3:39 PM
Subject: Re: _4c.fnm missing


 what kind of incremental updates are you doing, because we update our
index every 15 minutes with 100 ~ 200 documents and we're writing to a 6 GB
memory resident index, the IndexWriter runs one instance at a time, so what
kind of increments are we talking about it takes a bit of doing to overwhelm
Lucene.

 What's your update schedule, how big is the index, and after how many
updates does the system crash?

 Nader Henein



 Luke Shannon wrote:

 It conistantly breaks when I run more than 10 concurrent incremental
 updates.
 
 I can post the code on Bugzilla (hopefully when I get to the site it will
be
 obvious how I can post things).
 
 Luke
 
 - Original Message - 
 From: Otis Gospodnetic [EMAIL PROTECTED]
 To: Lucene Users List [EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 3:20 PM
 Subject: Re: _4c.fnm missing
 
 
 
 
 Field names are stored in the field info file, with suffix .fnm. - see
 http://jakarta.apache.org/lucene/docs/fileformats.html
 
 The .fnm should be inside the .cfs file (cfs files are compound files
 that contain all index files described at the above URL).  Maybe you
 can provide the code that causes this error in Bugzilla for somebody to
 look at.  Does it consistently break?
 
 Otis
 
 
 --- Luke Shannon [EMAIL PROTECTED] wrote:
 
 
 
 I received the error below when I was attempting to over whelm my
 system with incremental update requests.
 
 What is this file it is looking for? I checked the index. It
 contains:
 
 _4c.del
 _4d.cfs
 deletable
 segments
 
 Where does _4c.fnm come from?
 
 Here is the error:
 
 Unable to create the create the writer and/or index new content
 /usr/tomcat/fb_hub/WEB-INF/index/_4c.fnm (No such file or directory).
 
 Thanks,
 
 Luke
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: _4c.fnm missing

2004-11-16 Thread Luke Shannon
This is the latest error I have received:

IndexReader out of date and no longer valid for delete, undelete, or setNorm
operations

I need synchronize this process more carefully. I think this goes back to
the point that during my incremental update I sometimes need to forcefully
clear the lock on the Index. I am not managing the deleting and writing to
the Index correctly.

The first thing I am doing is tracking down the cause of this situation so I
don't need to forcefully clear locks anymore.

- Original Message - 
From: Nader Henein [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 3:39 PM
Subject: Re: _4c.fnm missing


 what kind of incremental updates are you doing, because we update our
index every 15 minutes with 100 ~ 200 documents and we're writing to a 6 GB
memory resident index, the IndexWriter runs one instance at a time, so what
kind of increments are we talking about it takes a bit of doing to overwhelm
Lucene.

 What's your update schedule, how big is the index, and after how many
updates does the system crash?

 Nader Henein



 Luke Shannon wrote:

 It conistantly breaks when I run more than 10 concurrent incremental
 updates.
 
 I can post the code on Bugzilla (hopefully when I get to the site it will
be
 obvious how I can post things).
 
 Luke
 
 - Original Message - 
 From: Otis Gospodnetic [EMAIL PROTECTED]
 To: Lucene Users List [EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 3:20 PM
 Subject: Re: _4c.fnm missing
 
 
 
 
 Field names are stored in the field info file, with suffix .fnm. - see
 http://jakarta.apache.org/lucene/docs/fileformats.html
 
 The .fnm should be inside the .cfs file (cfs files are compound files
 that contain all index files described at the above URL).  Maybe you
 can provide the code that causes this error in Bugzilla for somebody to
 look at.  Does it consistently break?
 
 Otis
 
 
 --- Luke Shannon [EMAIL PROTECTED] wrote:
 
 
 
 I received the error below when I was attempting to over whelm my
 system with incremental update requests.
 
 What is this file it is looking for? I checked the index. It
 contains:
 
 _4c.del
 _4d.cfs
 deletable
 segments
 
 Where does _4c.fnm come from?
 
 Here is the error:
 
 Unable to create the create the writer and/or index new content
 /usr/tomcat/fb_hub/WEB-INF/index/_4c.fnm (No such file or directory).
 
 Thanks,
 
 Luke
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: _4c.fnm missing

2004-11-16 Thread Luke Francl
On Tue, 2004-11-16 at 14:57, Luke Shannon wrote:
 This is the latest error I have received:
 
 IndexReader out of date and no longer valid for delete, undelete, or setNorm
 operations

What you need to do is check the version number of the index to
determine if you need to open a new IndexReader for deletes. Remember,
this must be synchronized with the same lock you are using to control
access to the index for locks.

Luke


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: _4c.fnm missing

2004-11-16 Thread Otis Gospodnetic
'Concurrent' and 'updates' in the same sentence sounds like a possible
source of the problem.  You have to use a single IndexWriter and it
should not overlap with an IndexReader that is doing deletes.

Otis

--- Luke Shannon [EMAIL PROTECTED] wrote:

 It conistantly breaks when I run more than 10 concurrent incremental
 updates.
 
 I can post the code on Bugzilla (hopefully when I get to the site it
 will be
 obvious how I can post things).
 
 Luke
 
 - Original Message - 
 From: Otis Gospodnetic [EMAIL PROTECTED]
 To: Lucene Users List [EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 3:20 PM
 Subject: Re: _4c.fnm missing
 
 
  Field names are stored in the field info file, with suffix .fnm. -
 see
  http://jakarta.apache.org/lucene/docs/fileformats.html
 
  The .fnm should be inside the .cfs file (cfs files are compound
 files
  that contain all index files described at the above URL).  Maybe
 you
  can provide the code that causes this error in Bugzilla for
 somebody to
  look at.  Does it consistently break?
 
  Otis
 
 
  --- Luke Shannon [EMAIL PROTECTED] wrote:
 
   I received the error below when I was attempting to over whelm my
   system with incremental update requests.
  
   What is this file it is looking for? I checked the index. It
   contains:
  
   _4c.del
   _4d.cfs
   deletable
   segments
  
   Where does _4c.fnm come from?
  
   Here is the error:
  
   Unable to create the create the writer and/or index new content
   /usr/tomcat/fb_hub/WEB-INF/index/_4c.fnm (No such file or
 directory).
  
   Thanks,
  
   Luke
 
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: _4c.fnm missing

2004-11-16 Thread Nader Henein
That's it, you need to batch your updates, it comes down to do you need to give 
your users search accuracy to the second, take your  database and put an 
is_dirty row on the master table of the object you're indexing and run a 
scheduled task every x minutes and have your process read the objects that are 
set to dirty and then re set the flag once they've been indexed correctly.
my two cents
Nader

Otis Gospodnetic wrote:
'Concurrent' and 'updates' in the same sentence sounds like a possible
source of the problem.  You have to use a single IndexWriter and it
should not overlap with an IndexReader that is doing deletes.
Otis
--- Luke Shannon [EMAIL PROTECTED] wrote:
 

It conistantly breaks when I run more than 10 concurrent incremental
updates.
I can post the code on Bugzilla (hopefully when I get to the site it
will be
obvious how I can post things).
Luke
- Original Message - 
From: Otis Gospodnetic [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 3:20 PM
Subject: Re: _4c.fnm missing

   

Field names are stored in the field info file, with suffix .fnm. -
 

see
   

http://jakarta.apache.org/lucene/docs/fileformats.html
The .fnm should be inside the .cfs file (cfs files are compound
 

files
   

that contain all index files described at the above URL).  Maybe
 

you
   

can provide the code that causes this error in Bugzilla for
 

somebody to
   

look at.  Does it consistently break?
Otis
--- Luke Shannon [EMAIL PROTECTED] wrote:
 

I received the error below when I was attempting to over whelm my
system with incremental update requests.
What is this file it is looking for? I checked the index. It
contains:
_4c.del
_4d.cfs
deletable
segments
Where does _4c.fnm come from?
Here is the error:
Unable to create the create the writer and/or index new content
/usr/tomcat/fb_hub/WEB-INF/index/_4c.fnm (No such file or
   

directory).
   

Thanks,
Luke
   

 

-
   

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
 

[EMAIL PROTECTED]
   

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: _4c.fnm missing

2004-11-16 Thread Luke Shannon
It doesn't have to be to the second. If things take a few minutes it's ok.

It looks like the first lock issue I'm hitting in my program is when I try
and delete from the Index for the first time. No writer has been created
yet, only the reader so I am not sure why it thinks its locked.

- Original Message - 
From: Nader Henein [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 4:18 PM
Subject: Re: _4c.fnm missing


 That's it, you need to batch your updates, it comes down to do you need to
give your users search accuracy to the second, take your  database and put
an is_dirty row on the master table of the object you're indexing and run a
scheduled task every x minutes and have your process read the objects that
are set to dirty and then re set the flag once they've been indexed
correctly.

 my two cents

 Nader



 Otis Gospodnetic wrote:

 'Concurrent' and 'updates' in the same sentence sounds like a possible
 source of the problem.  You have to use a single IndexWriter and it
 should not overlap with an IndexReader that is doing deletes.
 
 Otis
 
 --- Luke Shannon [EMAIL PROTECTED] wrote:
 
 
 
 It conistantly breaks when I run more than 10 concurrent incremental
 updates.
 
 I can post the code on Bugzilla (hopefully when I get to the site it
 will be
 obvious how I can post things).
 
 Luke
 
 - Original Message - 
 From: Otis Gospodnetic [EMAIL PROTECTED]
 To: Lucene Users List [EMAIL PROTECTED]
 Sent: Tuesday, November 16, 2004 3:20 PM
 Subject: Re: _4c.fnm missing
 
 
 
 
 Field names are stored in the field info file, with suffix .fnm. -
 
 
 see
 
 
 http://jakarta.apache.org/lucene/docs/fileformats.html
 
 The .fnm should be inside the .cfs file (cfs files are compound
 
 
 files
 
 
 that contain all index files described at the above URL).  Maybe
 
 
 you
 
 
 can provide the code that causes this error in Bugzilla for
 
 
 somebody to
 
 
 look at.  Does it consistently break?
 
 Otis
 
 
 --- Luke Shannon [EMAIL PROTECTED] wrote:
 
 
 
 I received the error below when I was attempting to over whelm my
 system with incremental update requests.
 
 What is this file it is looking for? I checked the index. It
 contains:
 
 _4c.del
 _4d.cfs
 deletable
 segments
 
 Where does _4c.fnm come from?
 
 Here is the error:
 
 Unable to create the create the writer and/or index new content
 /usr/tomcat/fb_hub/WEB-INF/index/_4c.fnm (No such file or
 
 
 directory).
 
 
 Thanks,
 
 Luke
 
 
 
 
 
 -
 
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:
 
 
 [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]