Hmmm, that may be a wrinkle. I'm actually not sure
what'll happen if the _raw_ thing you copy to the
int field is not an int (or whatever). You spoke of
character code translation, so it may blow up. In which
case I'd consider a custom update processor that read
the source field, performed whatever mods you want
to it and added the dest field.

You _might_ get away with the dest field doing the
translation with a PatternReplaceCharFilterFactory,
which processes the input stream before it gets
analyzed as well....

FWIW,
Erick

On Mon, Jun 10, 2013 at 8:43 AM, geeky2 <gee...@hotmail.com> wrote:
> i will try it.
>
> i guess i made a "poor" assumption that you would not get predictable
> results when copying a code like "mycode" to an int field where where the
> desired end result in the int field is say, "1".
>
> i was worried that some sort of ascii conversion or "wrap around" would
> happen in the int field.
>
> thx for the insight.
>
> mark
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/translating-a-character-code-to-an-ordinal-tp4068966p4069335.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to