Re: Spam filter for lucene project

2006-10-07 Thread Otis Gospodnetic
There is also Akismet.

- Original Message 
From: John Haxby <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Friday, October 6, 2006 6:17:18 AM
Subject: Re: Spam filter for lucene project

Rajiv Roopan wrote:
> Hello, I'm currently running a site which allows users to post. Lately 
> posts
> have been getting out of hand. I was wondering if anyone knows of an open
> source spam filter that I can add to my project to scan the posts 
> (which are
> just plain text)  for spam?
spamassassin should work with a little effort.   You might also want to 
look at the spam filtering that's part of Thunderbird, although that 
would be rather more work to integrate.

-
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: QueryParser syntax French Operator

2006-10-07 Thread Otis Gospodnetic
Hi Patrick,

If I were trying to do this, I'd modify QueryParser.jj to construct the grammar 
for boolean operators based on something like Locale (or LANG env. variable?).  
I'd try adding code a la:
en_AND = AND
en_OR = OR
en_NOT = NOT
fr_AND = ET
fr_OR = OU
fr_NOT = SAUF

And then:
if (locale is 'fr')
 // construct the grammar with fr_*
...

Something like that.

Otis

- Original Message 
From: Patrick Turcotte <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Tuesday, October 3, 2006 11:15:56 AM
Subject: QueryParser syntax French Operator

Hi,

Is there a way to add / replace the text for the boolean operators used
by the query parser?

We would like to replace (or even better, add), "AND", "OR" and "NOT" by
"ET", "OU" and "SAUF".

Is there a way to configure the QueryParser to do it?

We know we could always modify QueryParser.jj to add them to the list,
but we'd rather like not to have to recompile/rejar each time there is a
new version of Lucene.

Thanks

-- 
Patrick Turcotte



-
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]



Lucene Jdbc Directory

2006-10-07 Thread Mag Gam

Hi folks,

After some latenight google searching, I came across this interesting
website, http://static.compassframework.org/docs/latest/jdbcdirectory.html
Is this framework free?  Is anyone using this? If so, how is it for newbies
to Lucene/Derby/Java? I always wanted to have a lucene index in a RDBMS ...

TIA