lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raymond Balm├Ęs" <raymond.bal...@gmail.com>
Subject Re: Injecting additional tokens
Date Mon, 01 Sep 2008 20:56:48 GMT
Is my subscription working... I got no reply on my previous question.
Sorry the disturbance.

On Mon, Sep 1, 2008 at 10:29 PM, Markus Lux <markus.lux@gmail.com> wrote:

> Hi,
>
> Assume I have a String "z-4". That would be properly indexed by my
> Analyzer,
> so I'd find the belonging document if I search for "z-4". Now I also want
> to
> find that document if I search for "z4".
> Now my approach would be to inject an additional token "z4" at indexing
> time. There may also be several other characters that could be deleted in a
> new token.
> How could I manage that? Is there any predefined Tokenizer/Filter for this?
> Or am I wrong and there is a better way to get this done?
>
> Thanks.
>
> --
> Markus
>

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