riak search - json properties are all strings? -


i'm storing json docs in riak search, example:

{   boolean: true,   number: 1.234,   string: "gretchen" }  

however, when querying them (riak search), notice fields returned query strings:

{   boolean: "true",   number: "1.234",   string: "gretchen" } 

this makes query results useless binding objects, unless sequentially retrieve each doc again via key. possible correctly typed fields returned? e.g. couch+lucene correctly , makes useful querying + binding.

sounds it's not possible, need use map reduce this. sean @ basho:

"what search query returns "index document", or result of transforming input before adding search indexes; means nested fields flattened. if want original, can use mapreduce retrieve documents resulting search query."


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -