Re: Search with accents

2006-08-03 Thread Eduardo S. Cordeiro
Ok, the problem had nothing to do with the analyzers. What happened was that the search query text was the input of a web page form, and I hadn't set that form's method to "post", so the query was sent in the address bar; that messed up the query's encoding. So using BrazilianAnalyzer does work f

Re: Search with accents

2006-08-03 Thread Leandro Saad
I'm using StandardAnalyser all over, so, yes, portuguese stopwords won't be eliminated -- Leandro Rodrigo Saad Cruz CTO - InterBusiness Technologies db.apache.org/ojb guara-framework.sf.net xingu.sf.net On 8/2/06, Eduardo S. Cordeiro <[EMAIL PROTECTED]> wrote: But was your index created with B

Re: Search with accents

2006-08-02 Thread Eduardo S. Cordeiro
But was your index created with BrazilianAnalyzer? Because otherwise you wouldn't have portuguese stopwords eliminated, like "e", "ou", etc. 2006/8/2, Leandro Saad <[EMAIL PROTECTED]>: Hi Eduardo. I'm using the StandardAnalyser and I can search for words with accents. In my case "saúde" -- Lean

Re: Search with accents

2006-08-02 Thread Leandro Saad
Hi Eduardo. I'm using the StandardAnalyser and I can search for words with accents. In my case "saúde" -- Leandro Rodrigo Saad Cruz CTO - InterBusiness Technologies db.apache.org/ojb guara-framework.sf.net xingu.sf.net On 8/1/06, Eduardo S. Cordeiro <[EMAIL PROTECTED]> wrote: Yes...here's how

RE: Search with accents

2006-08-01 Thread Zhang, Lisheng
01, 2006 2:34 PM To: java-user@lucene.apache.org Subject: Re: Search with accents Yes...here's how I create my QueryParser: QueryParser parser = new QueryParser("text", new BrazilianAnalyzer()); 2006/8/1, Zhang, Lisheng <[EMAIL PROTECTED]>: > Hi, > > Have you used the

Re: Search with accents

2006-08-01 Thread Eduardo S. Cordeiro
Yes...here's how I create my QueryParser: QueryParser parser = new QueryParser("text", new BrazilianAnalyzer()); 2006/8/1, Zhang, Lisheng <[EMAIL PROTECTED]>: Hi, Have you used the same BrazilianAnalyzer when searching? Best regards, Lisheng -Original Message- From: Eduardo S. Cordei

RE: Search with accents

2006-08-01 Thread Zhang, Lisheng
Hi, Have you used the same BrazilianAnalyzer when searching? Best regards, Lisheng -Original Message- From: Eduardo S. Cordeiro [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 1:40 PM To: java-user@lucene.apache.org Subject: Search with accents Hello there, I have a brazilia