Thanks Ben and Franklin,
I tried it and unfortunately it didn't work. SvnQuery has it set to
50,000. I tried setting it to 60,000 and 500,000 and it still doesn't
work: the text that I'm looking for is not indexed and not found.
If I do a word-count in MS Word around the break-off point (where the
indexing seems to stop) I get a count of 8,450 words and 75,000
characters (with no spaces). It kinda makes me think that somehow the
setting for the MaxFieldLength might not work.
I also noticed that SvnQuery is using Lucene.NET v2.3.1.3. I see there
are new versions of Lucene.NET available. Do you remember of any bugs
in v2.3.1.3 that would cause this? Should I recompile SvnQuery with
the latest version of Lucene.net?
Thanks,
Tiberiu
On Fri, Oct 29, 2010 at 10:31 AM, Franklin Simmons
wrote:
Tiberiu,
Check your IndexWriter's MaxFieldLength. The default is 10000.
-----Original Message-----
From: Tiberiu Motoc
Sent: Friday, October 29, 2010 1:23 PM
To:
[email protected]Subject: indexing doesn't seem to work in large files
Hi,
I'm using SvnQuery which is based on Lucene.Net to index and search my
SVN repositories. I've noticed that text doesn't get indexed in large
files. Actually the first 2000-2500 lines get indexed and the rest do
not. Is anyone aware of this problem? Is there a solution for it?
Thanks,
Tiberiu