I've inherited some 0.20 code which essentially adds a new field data type
(analysed strings stored only as hash-values for the low memory signature;
that's enough to do some statistical analysis on things like term
frequencies). (The code is the experimental part of Boaz Leskes's
elasticfacets library, http://github.com/bleskes/elasticfacets -- we're
probably the only folk using it in production, and we'd rather move to 0.90
now instead of waiting for the 1.0 release, which I presume he will support
when it arrives.)
I'm concerned that this may not be possible at all in 0.90. I'm looking at
index.fielddata.IndexFieldDataService and I don't see a way to get an entry
into the cache there unless it's one of the builtin types. (Once the value
is in, one can get it back out using getForField() with a custom subclass
of FieldDataType for the type argument, but as far as I can see
getForField() is also the only way to put values into the cache, and it
works with a fixed list of builders.)
Can anyone confirm that there is no way to get custom field data types into
the cache (in 0.90), or point me in the right direction if there is?
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 firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.