On Thu, Jul 31, 2008 at 07:38:03PM -0300, Demetrius Nunes wrote:
> The view I am trying to create is really simple:
> 
> function(doc) {
>   if
> (doc.classe_id.match(/8a8090a20075ffba010075ffbed600028a8090a20075ffba010075ffbf7200c48a8090a20075ffba010075ffbf7200d9/))
>     emit(doc.id, doc);
> }

You might try changing your emit() to

    emit(doc.id, null);

I seem to recall some discussion on the mailing list that including the
document in the emitted value (especially for large documents) can
significantly affect view performance.

-- 
Michael

Reply via email to