Re: Doubts with multiple keys!

2011-01-21 Thread Fabio Batalha Cunha dos Santos
Hi Dave, That's a great news... I will re-factor some view to improve the index files. Many Thanks, *Fabio Batalha C. Santos* Colegiado SciELO www.scielo.org FAPESP - CNPq - BIREME - FapUNIFESP On Fri, Jan 21, 2011 at 3:59 PM, David Hardtke wrote: > Hi Fabio, > > I'm assuming the your "valu

Re: Doubts with multiple keys!

2011-01-21 Thread David Hardtke
Hi Fabio, I'm assuming the your "value" is the document that you want to retrieve. There is no need to include the document in the view result directly. Your value can be null. When you retrieve the view you can add include_docs=true to the query and it will append the document to your res

Re: Doubts with multiple keys!

2011-01-21 Thread Fabio Batalha Cunha dos Santos
Now that I know that this is the only way to access same content using different fields "keys", I have one more question. For example: I have other view (VIEW A) that bring a lot of info, this view have 3 keys, "Subject", "collection", "title" this view could return something around 300.000 regis

Re: Doubts with multiple keys!

2011-01-21 Thread Paul Davis
On Fri, Jan 21, 2011 at 12:12 PM, Fabio Batalha Cunha dos Santos wrote: > Hello All, > > I'm doing a lot of tests with views with multiple keys. I'd like to know if > is it possible to ignore the content of the first key when fetching a view. > For example: > > I have this view: > > {"rows":[ > {"

Doubts with multiple keys!

2011-01-21 Thread Fabio Batalha Cunha dos Santos
Hello All, I'm doing a lot of tests with views with multiple keys. I'd like to know if is it possible to ignore the content of the first key when fetching a view. For example: I have this view: {"rows":[ {"key":["arg","h"],"value":10721}, {"key":["arg","i"],"value":855}, {"key":["arg","t"],"valu