Inline fields in riak search

Jebu Ittiachen jebu at
Fri Oct 22 23:20:31 EDT 2010

Hi Rusty,
  Looking forward to it coming out, exactly the use case I was hoping to
have it for.
Jebu Ittiachen
jebu at

On Fri, Oct 22, 2010 at 6:13 PM, Rusty Klophaus <rusty at> 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.
> Best,
> Rusty
> On Thu, Oct 21, 2010 at 1:43 AM, Jebu Ittiachen <jebu at> wrote:
>> Hi,
>>   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
>> _______________________________________________
>> riak-users mailing list
>> riak-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list