Re: Sorting

2006-07-30 Thread Rob Staveley (Tom)
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

Re: EMAIL ADDRESS: Tokenize (i.e. an EmailAnalyzer)

2006-07-30 Thread Otis Gospodnetic
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

Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected....

2006-07-30 Thread Otis Gospodnetic
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

Re: EMAIL ADDRESS: Tokenize (i.e. an EmailAnalyzer)

2006-07-30 Thread Michael J. Prichard
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

Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected....

2006-07-30 Thread Michael J. Prichard
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

Re: Span Query NLE

2006-07-30 Thread Paul Elschot
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 -

Re: Consult some information about adding index while searching

2006-07-30 Thread hu andy
Thank you

java.lang.IllegalAccessError: tried to access method org.apache.lucene.search.HitDoc.

2006-07-30 Thread Alan Ezust
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

Re: email libraries

2006-07-30 Thread John Haxby
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

Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected....

2006-07-30 Thread Erik Hatcher
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