Hmm... it looks like File.length() is somehow, sometimes lying, on
your NFS filesystem.
What's happening is Lucene is writing out a file, and it wrote 59540
bytes, closed the file (all with no exceptions), and then tried to
verify the length was 59540 but in fact the filesystem reported 32768
byte
: Subject: Improving Lucene Search Performance
: In-Reply-To:
:
: References:
: <161fd7d0-e01f-42f2-a02a-a4e4b182c...@ebi.ac.uk><347A161B-6C7B-4DC3-ACD0-9A804E2
: dd...@ebi.ac.uk><007613f0-8529-47a3-95c4-7839e1d3e...@ebi.ac.uk>
:
https://people.apache.org/~hossman/#threadhijack
Thr
OS : RHEL 5.5 64 bit.
Filesystem: NFS
Thanks for the reply.
Thanks,
Jamir
On Fri, Dec 9, 2011 at 10:22 AM, Michael McCandless <
luc...@mikemccandless.com> wrote:
> Which OS/filesystem?
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
> On Thu, Dec 8, 2011 at 9:46 PM, Jamir Shaikh
> wro
Which OS/filesystem?
Mike McCandless
http://blog.mikemccandless.com
On Thu, Dec 8, 2011 at 9:46 PM, Jamir Shaikh wrote:
> I am using Lucene 3.5. I want to create around 30 million documents.
> While doing Indexing I am getting the following Exception:
>
> Caused by: java.lang.RuntimeException:
hao,
this is a java question not a lucene question.
Here's a short answer:
Those options are to be fed to the java command.
Running on the command-line is where you could put them.
Running in IDEs there is generally such a feature ready, or the possibility to
connect to the socket address.
pau