incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Bonser" <mister...@gmail.com>
Subject Re: Is it possible to evaluate a view on a 20.000 documents database?
Date Fri, 01 Aug 2008 03:42:30 GMT
On 7/31/08, Demetrius Nunes <demetriusnunes@gmail.com> wrote:
> The view I am trying to create is really simple:
>
>  function(doc) {
>   if
>  (doc.classe_id.match(/8a8090a20075ffba010075ffbed600028a8090a20075ffba010075ffbf7200c48a8090a20075ffba010075ffbf7200d9/))
>     emit(doc.id, doc);
>  }

Any reason you're using a regex rather than just using string comparison?

-- 
Paul Bonser
http://blog.paulbonser.com

Mime
View raw message