Quick typing correction:

On Tuesday, January 14, 2014 4:00:58 PM UTC-5, InquiringMind wrote:
>
> Your client converts IP addresses to base64 strings before it indexes the 
> documents, so it must also use the same conversion to a base64 string when 
> querying the document.
>
> Ranges are a little more complicated. For example. if you simply encode 
> "9" and "111" as strings, then you cannot perform range queries, since *"111" 
> is less than "9"*, string-wise. In this case you must do something that 
> ensures that "9" is less than "111", typically by creating fixed-length 
> input strings before encoding; for example "009" and "111". Now the string 
> comparisons will match the intended numeric comparisons.
>
> IP addresses will be more complex. But still, you will need to apply the 
> same external conversions in front of your queries that you do in front of 
> your indexing.
>
> Brian
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/f6055fc2-d753-4f31-a277-aaedf07f61ec%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to