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
Post a Comment