Small addition:
To support query, I probably have to implement an analyzer (query time)...
An analyzer can be configured on numeric (i.e non TEXT) field?


On Thu, Feb 7, 2013 at 6:48 PM, Isaac Hebsh <isaac.he...@gmail.com> wrote:

> Hi.
>
> I have to index field which contains an IP address.
> Users want to query this field using RANGE queries. to support this, the
> IP is stored as its DWORD value (assume it is IPv4...). On the other side,
> users supply the IP addresses textually (xxx.xxx.xxx.xxx).
>
> I can write a new field type, extends TrieLongField, which will change the
> textual representation to numeric one.
> But what about the stored field retrieval? I want to return the textual
> form..  may be a search component, which changes the stored fields?
>
> Has anyone encountered this need before?
>

Reply via email to