lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <>
Subject Re: Question concerning Analyzers
Date Wed, 07 Feb 2007 20:14:05 GMT
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

Otherwise, you can't have a stock analyzer do one thing when indexing and
another when searching because they don't have any state information that I
know about.


On 2/7/07, Xavier To <> wrote:
> 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 want to reproduce
> the same error as we have now. It would be stupid to accidentaly redo the
> same mistake. I still haven't received news from my seniors about me posting
> code and all...
> Xavier Tô
> Bacc. en Informatique et Génie Logiciel
> (450)434-8905
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message