The limit is much less than Integer.MAX_VALUE (2,147,483,647), unless
you have a VM which can run in more than 1G of heap. 1G limits you to a
theoretical number of 256M (268,435,456) documents with 4 bytes per
array element. In practise it will be something a less, because there
are other things wh
A good place for that in JIRA. could you put it there? We have a bunch of
analyzers in Lucene's contrib, so if you are okay with putting Apache license
on top of the source code, we can include it there. Same for EmailAnalyzer.
Otis
- Original Message
From: Michael J. Prichard <[EM
Or simpler:
wr = new IndexWriter(indexDir, aWrapper, !IndexReader.indexExists(indexDir));
- Original Message
From: Michael J. Prichard <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Sunday, July 30, 2006 1:35:29 PM
Subject: Re: PerFieldAnalyzerWrapper use? Analyzer's not being
Kewl :)
I updated the Filter(for anyone interested). Actually..if anyone
wants I can zip it up and send it to them...let me know.
EmailFilter
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.TokenFilter;
import org.apache.lucene.analysis.Token;
im
This look better?
// Check to see if index exists.
// If it doesn't, then set createIndex boolean to true
boolean createIndex = false;
if (!IndexReader.indexExists(indexDir)) {
createIndex = true;
}
// let's set up the index writer
wr
On Tuesday 25 July 2006 03:26, Charlie wrote:
...
>
> can "surround" be nested
>
> 3w(4n(a?a AND bb?) AND cc+)
Yes, but iirc the "arguments" need to be separated by comma's:
3w( 4n( ... , ...) , ...)
instead of by AND.
Regards,
Paul Elschot
-
Thank you
I'm having difficulty getting Lucene to work for me, and it keeps
coming back to this HitDoc class.
At the moment ,whenever I call the IndexBuilder.search method,
this what I get:
[error] WorkThread: java.lang.IllegalAccessError: tried to access
method org.apache.lucene.search.HitDoc.(FI)V from
Andrzej Bialecki wrote:
Just for the record - I've been using javamail POP and IMAP providers
in the past, and they were prone to hanging with some servers, and
resource intensive. I've been also using Outlook (proper, not Outlook
Express - this is AFAIK impossible to work with) via a Java-COM
Sorry, Otis is right. I just couldn't see anything else in your code
that could have been wrong.
Erik
On Jul 29, 2006, at 11:42 PM, Otis Gospodnetic wrote:
I think you can reuse them. Fields should he handled/analyzed
sequentially. I reuse them for some stuff on Simpy.com.
But
10 matches
Mail list logo