- From: David Lee <david.lee@kanji.com.au>
- To: chef@lists.opscode.com
- Subject: storing easily queried metadata - was Re: some questions
- Date: Fri, 24 Apr 2009 14:34:15 +1000
well, my immediate thought is to use eg sqlite3 + activerecord to store
metadata for a node like this, keyed on the node/recipe name or other
unique ID.
This would be pretty easy, and make implementing these features a snap-
not sure if the additional dependencies would be welcomed though. It'd
also mean 2 separate data stores, which I don't think I like the sound of.
Otherwise, it seems there are a few couch-backed ORMs turning up. Any of
those decent?
Writing complex queries directly is so 2001 ...
Adam Jacob wrote:
On Thu, Apr 23, 2009 at 12:45 AM, David Lee <david.lee@kanji.com.au> wrote:
I'm not sure I understand how the search indexes help solve Miguel's
problem?
I was just curious about how difficult the implementation is likely to be.
An ActiveRecord, with polymorphic joins etc, would likely require less work
than one using native database interaction.
But I gather it would have to be built directly on top of couch; I have
little sense of the difficulty involved at this point, and I'm curious.
CouchDB is particularly ill-suited to ad-hoc queries of that sort -
while you would be easily able to pull out single objects, you really
don't have the ability to string together arbitrary queries in the way
you are thinking. This is a side-effect of being schema-free and
document oriented, and it's why something like a full text index for
the CouchDB documents is necessary.
We're chatting about ways to make this better in the long term - we
would love to hear your thoughts on the matter.
Adam
--
David Lee
Application Development Coordinator
Kanji Group Pty Ltd
02 8272 9483
david.lee@kanji.com.au
---
This message and any attachment are confidential and may be privileged
or otherwise protected from disclosure. If you are not the intended
recipient, please telephone or email the sender and delete this message
and any attachment from your system. If you are not the intended
recipient you must not copy this message or attachment or disclose the
contents to any other person.
This email message does not constitute legal, financial or any other
kind of advice and reliance must not be placed on its contents. Any
advice will be prefixed with a notice to that effect - and unless such a
notice is affixed all liability for the contents of this email is
disclaimed. The integrity of this email, its contents or any attachments
is not certified in any way by the sender.
Liability limited by a scheme approved under Professional Standards
Legislation
- Re: some questions, (continued)
- Re: some questions, Adam Jacob, 04/24/2009
- RE: some questions, Steven Parkes, 04/24/2009
- Re: some questions, David Balatero, 04/24/2009
- Re: some questions, Adam Jacob, 04/24/2009
- Re: some questions, Arjuna Christensen, 04/24/2009
- Re: some questions, Bryan McLellan, 04/24/2009
- Re: some questions, snacktime, 04/24/2009
- Re: some questions, Arjuna Christensen, 04/24/2009
- Re: some questions, Adam Jacob, 04/24/2009
- Re: some questions, snacktime, 04/24/2009
- storing easily queried metadata - was Re: some questions, David Lee, 04/24/2009
- Re: storing easily queried metadata - was Re: some questions, David Lee, 04/24/2009
- Re: storing easily queried metadata - was Re: some questions, snacktime, 04/24/2009
- Re: storing easily queried metadata - was Re: some questions, Ian Kallen, 04/24/2009
- Re: some questions, Adam Jacob, 04/23/2009
- Re: some questions, David Lee, 04/23/2009
Archive powered by MHonArc 2.6.16.