[06:36:24] <solrize> when i try building mongo on fedora 19 i get a ton of g++ error messages that are mostly from boost unused local typedefs being treated as errors... any advice?
[09:27:39] <theRoUS> i'm trying to use mongoid -- but without necessarily using a mongoid.yaml file. that is, i want to be able to set everything up programmatically as though it had been read with #load!, but without actually calling #load! (e.g., using database information i get from my app's command line, not hardcoded in a file).
[09:28:05] <theRoUS> where can i find a tutorial that would cover that? the docco seems a little short on examples..
[09:28:47] <theRoUS> merde. i need to go offline now. but i'll see it if anyone is kind enough to answer.. thanks!
[21:04:58] <cheeser> what do your indexes look like?
[21:06:49] <DocMerlin> vout.scriptPubKey.addresses_1, a_in, and time are indexed.
[21:07:49] <DocMerlin> Also, the query terms have compound indexes with time
[21:08:27] <cheeser> all in the same index? because mongo will only use one.
[21:09:28] <DocMerlin> no, can't because vout.scriptPubKey.addresses and a_in are both arrays
[21:10:21] <solrize> i tried to compile 2.4.8 last night and got a ton of compiler error messages, any advice? they were mostly about boost typedefs being declared and never used
[21:10:33] <cheeser> ah, there's your problem probably
[21:11:18] <cheeser> solrize: can't use a binary download?
[21:11:26] <DocMerlin> so how would I do this search then. I want to see if a key is in either array
[21:11:44] <DocMerlin> in sql this would be really easy
[21:11:55] <solrize> cheeser i prefer to compile stuff myself, and also might want to add some extensions so i'll need to do my own builds
[21:12:48] <solrize> i wonder if it could be a boost compatibility issue? i'm using fedora 19 on the box where i had this problem, but i was able to compile 2.4.6 on ubuntu 12.04 a while ago
[21:13:22] <DocMerlin> I guess I could create an array that is the set of both, but it would take about 4 days to add that to the database
[21:14:00] <cheeser> yeah. looks like only 1 array can be part of index
[21:15:37] <DocMerlin> mongo is SOOOOO slow sometimes
[21:16:03] <cheeser> sure if you're off indexes. all databases would be
[21:16:23] <DocMerlin> but it doesn't handle certain situations smartly.
[21:16:38] <DocMerlin> can't use hints when you have an $or apparently
[21:17:38] <cheeser> it can afaik. but you have two different arrays