Pre Index View?

9 views
Skip to first unread message

James Norman

unread,
Sep 12, 2014, 7:08:06 PM9/12/14
to mobile-c...@googlegroups.com
Hey All, 
I'm not sure if this is possible, or even a very good idea, but is there a way to pre-index the view on document create/update time?  Right now it looks like all the new documents are ran through the emitter the first time the query is run.  Is there any way to front-load this to document insert time?  

I tried using "database.registerView(myview)" but all the new/updated documents still ran through the emitter at query.run() time.  We have a case where this would be useful as there is quite a lot of lag running the emitter.

Thanks -james
Reply all
Reply to author
Forward
0 new messages