Hi all,

I have question about Riak Search schema again. Schema -
http://pastebin.com/0Khh29ku

I make query to find object via solr I get following -
http://pastebin.com/bY0Dg1Wn

Please look at fields:


   1. "known_entities_count": "1 3 1 1",
   2. "known_entities_relevance": "0.858842 0.758043 0.452989 0.427038",
   3. "known_entities_text": "mobile phone Twitter Britain API",
   4. "known_entities_type": "FieldTerminology Company Country Technology",


But when I try to get this object via
http://localhost:8098/riak/feeds6/017925890e696568f4447b1ad720fa0c, I get
normal object in format which was stored in Riak -
http://pastebin.com/Yjh2ZPPK.



-
known_entities: [

   - -
   {
      - relevance: "0.858842"
      - count: "1"
      - type: "FieldTerminology"
      - text: "mobile phone"
   }
   - -
   {
      - relevance: "0.758043"
      - count: "3"
      - type: "Company"
      - text: "Twitter"
   }
   - -
   {
      - relevance: "0.452989"
      - count: "1"
      - type: "Country"
      - text: "Britain"
   }
   - -
   {
      - relevance: "0.427038"
      - count: "1"
      - type: "Technology"
      - text: "API"
   }

]


All section in "known_entities" are separated.

How can I get object in this format via solr in Riak Search? Or is it
feature of Riak Search?

Thanks in advance!
--
Best regards,
Artem Golovinsky
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to