Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: Question concerning Analyzers

2007-02-09 Thread Xavier To
er Tô Bacc. en Informatique et Génie Logiciel [EMAIL PROTECTED] (450)434-8905 - Message d'origine - De: Erick Erickson <[EMAIL PROTECTED]> Date: Vendredi, Février 9, 2007 12:38 pm Objet: Re: Re : Re: Re : Re: Re : Re: Re : Re: Question concerning Analyzers > The query should b

Re: Re : Re: Re : Re: Re : Re: Re : Re: Question concerning Analyzers

2007-02-09 Thread Erick Erickson
Informatique et Génie Logiciel [EMAIL PROTECTED] (450)434-8905 - Message d'origine - De: Erick Erickson <[EMAIL PROTECTED]> Date: Jeudi, Février 8, 2007 5:13 pm Objet: Re: Re : Re: Re : Re: Re : Re: Question concerning Analyzers > See below > > On 2/8/07, Xavie

Re : Re: Re : Re: Re : Re: Re : Re: Question concerning Analyzers

2007-02-09 Thread Xavier To
TECTED]> Date: Jeudi, Février 8, 2007 5:13 pm Objet: Re: Re : Re: Re : Re: Re : Re: Question concerning Analyzers > See below > > On 2/8/07, Xavier To <[EMAIL PROTECTED]> wrote: > > > > Thanks for helping me. > > > > I don't really understand wha

Re: Re : Re: Re : Re: Re : Re: Question concerning Analyzers

2007-02-08 Thread Erick Erickson
ge d'origine - De: Erick Erickson <[EMAIL PROTECTED]> Date: Jeudi, Février 8, 2007 12:51 pm Objet: Re: Re : Re: Re : Re: Question concerning Analyzers > Well, you've proved that your problem is that the analyzer you're > using when > querying isn't matching wha

Re : Re: Re : Re: Re : Re: Question concerning Analyzers

2007-02-08 Thread Xavier To
, Février 8, 2007 12:51 pm Objet: Re: Re : Re: Re : Re: Question concerning Analyzers > Well, you've proved that your problem is that the analyzer you're > using when > querying isn't matching what you use during indexing. I think that > whatyou've done will l

Re: Re : Re: Re : Re: Question concerning Analyzers

2007-02-08 Thread Erick Erickson
y adding a space after each token except for the last one, but is there a clean way to do it ? I'm using WhitespaceTokenizer. Thanks a bunch ! Xavier Tô Bacc. en Informatique et Génie Logiciel [EMAIL PROTECTED] (450)434-8905 - Message d'origine ----- De: Erick Erickson <[EMAIL PROT

Re : Re: Re : Re: Question concerning Analyzers

2007-02-08 Thread Xavier To
e: Mercredi, Février 7, 2007 4:28 pm Objet: Re: Re : Re: Question concerning Analyzers > Then the analyzer you're using when parsing the query is stripping > them. It > must be different than the one you use when indexing somehow. At least > that's the only explanation I can

Re: Re : Re: Question concerning Analyzers

2007-02-07 Thread Erick Erickson
t;[EMAIL PROTECTED]> Date: Mercredi, Février 7, 2007 3:15 pm Objet: Re: Question concerning Analyzers > There is no requirement that you use the same analyzer to search as > > you used to index. So, yes, you could certainly index things and > ignore them during a search. >

Re : Re: Question concerning Analyzers

2007-02-07 Thread Xavier To
oblem ? Xavier Tô Bacc. en Informatique et Génie Logiciel [EMAIL PROTECTED] (450)434-8905 - Message d'origine - De: Erik Hatcher <[EMAIL PROTECTED]> Date: Mercredi, Février 7, 2007 3:15 pm Objet: Re: Question concerning Analyzers > There is no requirement that you use t

FW: Question concerning Analyzers

2007-02-07 Thread Damien McCarthy
d show you if the analyzer you use to parse the query is doing something you don’t expect. D. -Original Message- From: Xavier To [mailto:[EMAIL PROTECTED] Sent: 07 February 2007 19:10 To: java-user@lucene.apache.org Subject: Question concerning Analyzers Hi, me again I'm still stuck

Re: Question concerning Analyzers

2007-02-07 Thread Erik Hatcher
There is no requirement that you use the same analyzer to search as you used to index. So, yes, you could certainly index things and ignore them during a search. Erik On Feb 7, 2007, at 2:10 PM, Xavier To wrote: Hi, me again I'm still stuck with my search engine, but something p

Re: Question concerning Analyzers

2007-02-07 Thread Erick Erickson
Well, at the very worst, you can use a different analyzer at search time than you do at index time. I can imagine you create your own analyzer by subclassing, say, StandardAnalyzer and use your custom analyzer at search time Otherwise, you can't have a stock analyzer do one thing when indexin

Question concerning Analyzers

2007-02-07 Thread Xavier To
Hi, me again I'm still stuck with my search engine, but something popped in my head : Can an analyzer index something but ignore it during a search ? I'm asking this because now that I've been searching for an answer, I've come to think that I should redo the whole search engine, but I don't wa