nikolamilosevic86/luke

Support for Trie and Sortable data types

GoogleCodeExporter opened this issue · 2 comments


Request 1: 
Is there a plan to support meaningful display of Trie (binary-based) data 
types?  

In the index, they look like this (--S----O-B). At index time, the fields are 
Indexed and not Analyzed, but Lucene does not set those flags on the fields.  
I'm just getting into binary data fields, so not sure if this is common 
knowledge or not.

I am currently building these using Solr classes, and they do display the hex 
values, but would like to be able to see the decimal values.  If I attempt to 
Show Content As Number, I get the error (Some values could not be properly 
represented in this format. They are marked in grey and presented as a hex 
dump).  [e.g. 00 00 01 14 a3 e8 d9 c0]

Request 2: 
Also, for fields of type TrieDateField, it would be great to have the datetime 
rendered as yyyy-mm-ddThh:ii:ssZ  [e.g. 2007-08-26T20:42:00Z]


Request 3: 
And for Sortable (also from Solr ... null-padded strings) fields, is there a 
way to render (String -> Hex -> Dec)?
[e.g. ���縀  ->  08 00 00 00 e7 b8 80  ->  15186048]

Thanks!

Original issue reported on code.google.com by Craig.St...@gmail.com on 28 Apr 2011 at 11:20

This is supported in the trunk versions of Luke.

Original comment by sig...@gmail.com on 6 Jul 2011 at 1:13

Unless someone provides a backport to 3x I'm closing this issue - it's already 
supported in trunk.

Original comment by sig...@gmail.com on 28 Dec 2011 at 4:07

  • Changed state: WontFix