Thanks Andy for the clarification. C
On Sun, Mar 1, 2015 at 12:17 PM, Andy Seaborne <[email protected]> wrote: > On 28/02/15 16:28, Charles Abela wrote: > >> Re-hi, >> I just tried it out using ./fuseki-server --config=config-tdb-text.ttl >> with the query >> >> SELECT ?s >> { ?s dc:title ?x . >> ?s text:query (dc:title 'Stone') ; >> } >> >> and it worked fine. >> I understood that I was starting the server wrongly. But what's the >> difference? >> > > "./fuseki-server --update --mem /ds" > says > "start server, one in-memory dataset at /ds; allow update" > > It does not tell Fuseki to look for a configuration file let alone a text > index. > > Your configuration file has: > > ----------------------- > ... > fuseki:dataset <#books> ; > . > > <#books> rdf:type text:TextDataset ; > text:dataset <#dataset> ; > ##text:index <#indexSolr> ; > text:index <#indexLucene> ; > . > > <#dataset> rdf:type tdb:DatasetTDB ; > tdb:location "DB" ; > ##tdb:unionDefaultGraph true ; > ----------------------- > > which tells Fuseki to use a text index and TDb database in combination. > It also tells the server where the data is on disk. > > If after starting the server with an in memory dataset, I upload the file. >> Shouldn't it have worked just the same? >> > > There is no text index. It needs to know what to index and wheer to store > it. > > >> cheers >> >> C >> > > Andy > >
