Riak Search having issues with custom schema

Luke Bakken lbakken at basho.com
Fri Jan 9 11:12:37 EST 2015


How are you storing these objects? What "Content-Type" is being used?
--
Luke Bakken
Engineer
lbakken at basho.com


On Fri, Jan 9, 2015 at 7:04 AM, Santi Kumar <santi at veradocs.com> wrote:
> Hi,
> We are having issues with Riak Search custom schema. Application has
> multiple POJO's and we are using Java client to write into RIakKV.
> Configured custom solr schema with indexed fields from all POJOs. After
> adding the "Catch-All" field, solr is not indexing any fields from any of
> the Pojo.
>
> No errors in solr log also. Not having any clues why nothing is indexed
> except the Riak fields. Here is how the fields are specified in solr schema,
> not attaching everything. We have multiple indexes and buckets for different
> pojos, but difined only one schema for all the indexes. Same schema is being
> configured for each index. Would that be an issue? For example for Access
> has seperate index and condition has seperate index. But both fields for
> both of them are defined in one schema and passed to both the indexes.
>
>   <!--  Acess fields -->
>
>     <field name="docId"  type="string"  indexed="true" stored="false" />
>
>     <field name="resourceName"   type="string"  indexed="true"
> stored="false" />
>
>     <field name="resourceId"   type="string"  indexed="true" stored="false"
> />
>
>     <field name="grantor"   type="string"  indexed="true" stored="false" />
>
>     <field name="policies"   type="string"  indexed="true" stored="false" />
>
>     <field name="grantTime"   type="access_dt"  indexed="true"
> stored="false" />
>
>     <field name="state"   type="string"  indexed="true" stored="false" />
>
>     <!--  Acess fields -->
>
>   <!-- AvailablePoclies -->
>
>   <field name="policiesId"   type="string"  indexed="true" stored="false" />
>
>   <field name="type"   type="string"  indexed="true" stored="false" />
>
>   <!-- AvailablePoclies -->
>
>   <!-- Condition -->
>
>   <field name="ruleId"   type="string"  indexed="true" stored="false" />
>
>   <field name="object"   type="string"  indexed="true" stored="false" />
>
>   <field name="verb"   type="string"  indexed="true" stored="false" />
>
>   <!-- Condition -->
>
> Thanks
> Santi
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list