lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject Re: Lucene making reference to a .jar -- How do I this code?
Date Thu, 16 Aug 2012 18:55:45 GMT
On Thu, Aug 16, 2012 at 10:56 AM, jellyman <> wrote:
> Hi Ted,
>    Thanks for the URL. To answer your question: I'm adding another phoenetic
> algorithm to the org.apache.commons.codec.language package (as the rest of
> them live there) and then hardwire it into the
> lucene/analysis/phoenetic/src/java path like the existing phoenetic filters
> that exist there already. Following existing pattern essentially.
>    I'm assuming that you have to edit this pre-built package or am I missing
> something? I think that I am...

You don't need to actually modify commons-codec to do that, you can
just write your own phonetic encoder, extending
org.apache.commons.codec.Encoder, and pass that to PhoneticFilter.


View raw message