[Mulgara-general] isn't there a way to create a non-persitedmodel

David Smith DMS at viewpointusa.com
Wed May 21 04:42:03 PDT 2008


Thanks guys,  -c works fine
 

-----Original Message-----
From: mulgara-general-bounces at mulgara.org
[mailto:mulgara-general-bounces at mulgara.org] On Behalf Of Andrae Muys
Sent: Tuesday, May 20, 2008 8:01 PM
To: Mulgara General
Subject: Re: [Mulgara-general] isn't there a way to create a
non-persitedmodel


On 21/05/2008, at 12:31 AM, Paul Gearon wrote:
> On Tue, May 20, 2008 at 5:10 AM, David Smith <DMS at viewpointusa.com>
> wrote:
>> Ok, I remember seeing this but can't find it.
>> Isn't there a way to create a model that exists "in-memory" only, and

>> is not written to disk?
>>
>> Looked all over but can't find it.
>
> There's a MemoryModel type. You create it with:
>
> create <your:graph/name> <mulgara:MemoryModel>;
>
>
> I just tested this out, and discovered that the MemoryModel is not 
> loaded as an accessible type by default. It is being loaded, but is 
> only accessible by the internal system. Sorry, I'm not sure why this 
> is the case.
>
> You can enable it by adding the following line to the list of 
> resolvers in config/mulgara-config.xml
>   <ResolverFactory
> type="org.mulgara.resolver.memory.MemoryResolverFactory"/>
>
> And then re-building the system (since the config file is built into 
> the final JAR file).  I'll try to make sure this is enabled by default

> soon.

Or alternatively you can either repack the jar with the new config file,
or simply start the server with the -c option.  The config file in the
jar is the default config file, we have always expected that this would
probably need to be overridden in deployment by use of the command-line
flag.

Andrae

--
Andrae Muys
andrae at netymon.com
Senior RDF/Semantic-Web Consultant
Netymon Pty Ltd



_______________________________________________
Mulgara-general mailing list
Mulgara-general at mulgara.org
http://mulgara.org/mailman/listinfo/mulgara-general


More information about the Mulgara-general mailing list