Riak Advanced Search - skip schema property not working

Mark Richard Thomas mark.thomas at equifax.com
Fri Jul 4 06:55:42 EDT 2014


I'm using Riak 1.4.9 Advanced Search. I have a simple schema for indexing some companies:

        schema, [
                {version, 1.1},
                {n_val, 3},
                %% Defaults to noop_analyzer_factory, string
                {analyzer_factory, {erlang, text_analyzers, noop_analyzer_factory}} ],
                {field, [ {name, id} ]},
                {field, [ {name, company} ]},
                {field, [ {name, name}, {analyzer_factory, {erlang, text_analyzers, standard_analyzer_factory}} ]},
                {field, [ {name, kpostcode} ]},
                {dynamic_field, [ {name, "*"}, {skip, true} ]}

An example of an update:

    <field name='id'>515363fa-cc06-46c7-a43a-a725f7988e2b</field>
    <field name='company'>99999999</field>
    <field name='name'>MY TEST COMPANY </field>
    <field name='line_one'>MY TEST L1</field>
    <field name='line_two'> MY TEST L2</field>
    <field name='town'>SOMETOWN</field>
    <field name='postcode'>WC1D 6DD</field>


    <str name="id">515363fa-cc06-46c7-a43a-a725f7988e2b</str>
    <str name="company">99999999</str>
    <str name="name">MY TEST COMPANY</str>

The address fields are missing in the response? I thought that these fields were stored but not indexed?

{dynamic_field, [ {name, "*"}, {skip, true} ]}


Mark Thomas | Software Engineer | Equifax UK

p:   +44 (0)208 941 0573
m:  +44 (0)7908 798 270
e:   mark.thomas at equifax.com<mailto:mark.thomas at equifax.com>

Equifax Ltd, Capital House, 25 Chapel Street, London, NW1 5DS

Equifax Limited is registered in England with Registered No. 2425920. Registered Office: Capital House, 25 Chapel Street, London NW1 5DS. Equifax Limited is authorised and regulated by the Financial Conduct Authority.
Equifax Touchstone Limited is registered in Scotland with Registered No. SC113401. Registered Office: 54 Deerdykes View, Westfield Park, Cumbernauld G68 9HN.
Equifax Commercial Services Limited is registered in the Republic of Ireland with Registered No. 215393. Registered Office: IDA Business & Technology Park, Rosslare Road, Drinagh, Wexford.

This message contains information from Equifax which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by e-mail postmaster at equifax.com<mailto:postmaster at equifax.com>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140704/280a530b/attachment.html>

More information about the riak-users mailing list