Inline fields in riak search
jebu at jebu.net
Fri Oct 22 23:20:31 EDT 2010
Looking forward to it coming out, exactly the use case I was hoping to
have it for.
jebu at jebu.net
On Fri, Oct 22, 2010 at 6:13 PM, Rusty Klophaus <rusty at basho.com> wrote:
> Hi Jebu,
> Inline fields are a partially implemented feature that we hope to expose
> soon, but are currently not supported. The basic idea, once released, is
> that marking a field in your schema as inline changes the way that field is
> stored in the index, allowing you to use the inline field to quickly filter
> results at the expense of a larger index.
> A good use case for this is a low cardinality field like "gender". Indexing
> on gender is useless, since roughly 50% will be male and 50% will be female.
> If you define gender as an inline field, Search will store the gender as a
> property in the index for other fields, and then rewrite the query
> appropriately. This is an advanced feature, but one that could lead to
> significant query performance boosts depending on the data model.
> Again, inline fields are not yet supported, but this is the general idea.
> On Thu, Oct 21, 2010 at 1:43 AM, Jebu Ittiachen <jebu at jebu.net> wrote:
>> I see references to inline fields in the riak search schema and search
>> code but dont see it documented anywhere. Nor does the parser seem to
>> support it. Could someone shed more light on this, from the implementation
>> in search_op_term looks like it could be very useful.
>> Jebu Ittiachen
>> jebu at jebu.net
>> riak-users mailing list
>> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users