Le lun. 24 déc. 2018 à 08:29, Jean-Marc Vanel a
écrit :
> ...
> but, as I wrote previously, it probably only works statically, that is,
> TDB updates are probably not reflected in both indices.
> I put the new config on a site in production, and I will confirm that.
>
Indeed, I checked that, alt
ly, these entities are for Lucene, to create documents
> with fields, that will be used later by the query. At least that's my
> understanding (:
>
> Hope that helps
>
> Bruno
>
>
>
>
>
> From: Bruno P. Kinoshita
> To
___
> From: Jean-Marc Vanel
> To: Jena users
> Sent: Monday, 24 December 2018 9:36 AM
> Subject: Re: Build by program a Dataset that is both textual and spatial
>
>
>
> I finally got it to work by coding:
>
>
> https://github.com/jmvanel/semantic_fo
that will be used later by the query. At least that's my understanding (:
Hope that helps
Bruno
From: Bruno P. Kinoshita
To: "users@jena.apache.org"
Sent: Monday, 24 December 2018 12:27 PM
Subject: Re: Build by program a Dataset that is both t
es, right? Only
programmatically?
Cheers!
Bruno
From: Jean-Marc Vanel
To: Jena users
Sent: Monday, 24 December 2018 9:36 AM
Subject: Re: Build by program a Dataset that is both textual and spatial
I finally got it to work by coding:
https://github.com/jmvanel/sema
king, but even though I had a text:index
> >>> pointing to an index, when the query was executed, it would be
> delegated to
> >>> the DatasetGraphSpatial. This dataset knows nothing of text, and when
> the
> >>> TextQueryPF is executed, the textIndex is
ndex :
>>> tried context and as a text-enabled dataset
>>> [2018-12-23 21:03:57] TextQueryPF WARN No text index - no text search
>>> performed
>>>
>>> So alas I couldn't post a working example.
>>>
>>> Hope that helps anywa
> [2018-12-23 21:03:57] TextQueryPF WARN No text index - no text search
>> performed
>>
>> So alas I couldn't post a working example.
>>
>> Hope that helps anyway
>>
>> Bruno
>>
>> ps: Lucene locks its indexes, so I **guess** if you
helps anyway
>
> Bruno
>
> ps: Lucene locks its indexes, so I **guess** if you tried a different
> approach of having another Fuseki pointing to the same directory, it would
> probably raise an exception at some point
>
>
> ____________
>
> Fro
___
From: Jean-Marc Vanel
To: Jena users
Sent: Saturday, 22 December 2018 10:03 PM
Subject: Re: Build by program a Dataset that is both textual and spatial
I reverted to trying configuration by code, with 2 more tries:
https://github.com/jmvanel/semantic_forms/blob/master/scala/forms/src/main/
I reverted to trying configuration by code, with 2 more tries:
https://github.com/jmvanel/semantic_forms/blob/master/scala/forms/src/main/scala/deductions/runtime/jena/lucene/LuceneIndex.scala#L109
:
add to textual Dataset's Context a spatialIndex key to the spatialIndex.
and line 135 :
Use same L
I'm still clueless about how to configure Jena for textual AND spatial
indexes.
I tried yet another assembler file:
https://github.com/jmvanel/semantic_forms/blob/master/scala/jena.spatial%2Btext3.assembler.ttl
but even less good as
https://github.com/jmvanel/semantic_forms/blob/master/scala/jena.s
Le lun. 17 déc. 2018 à 13:24, Andy Seaborne a écrit :
> ...
> :spatial_dataset rdf:type spatial:SpatialDataset ;
> rdf:type text:TextDataset ;
> ...
>
> Not sure but I think the system will create this twice.
>
> It would be better to have two declarations, one for spatial, one for
>
[] ja:loadClass...
Not needed these days. Harmless.
:spatial_dataset rdf:type spatial:SpatialDataset ;
rdf:type text:TextDataset ;
...
Not sure but I think the system will create this twice.
It would be better to have two declarations, one for spatial, one for
text. I'm not su
Sorry , I sent a bad link on the list, my assembler file is really this:
https://github.com/jmvanel/semantic_forms/blob/master/scala/jena.spatial%2Btext.assembler.ttl
Le dim. 16 déc. 2018 à 13:40, Marco Neumann a
écrit :
> you are missing the text index in the assembler.
>
> On Sun, Dec 16, 2
you are missing the text index in the assembler.
On Sun, Dec 16, 2018 at 12:08 PM Jean-Marc Vanel
wrote:
> Yes indeed,
> exactly with this assembler file:
>
> https://github.com/jmvanel/semantic_forms/blob/master/scala/jena.spatial.assembler.ttl
>
> And, when the Jena based application is starte
Yes indeed,
exactly with this assembler file:
https://github.com/jmvanel/semantic_forms/blob/master/scala/jena.spatial.assembler.ttl
And, when the Jena based application is started with this same assembler
file, the spatial queries work , as said above in this thread.
Le dim. 16 déc. 2018 à 12:1
did you create the text index with jena.textindexer
--desc=//config.ttl?
On Sun, Dec 16, 2018 at 8:48 AM Jean-Marc Vanel
wrote:
> I fixed a stupid error in text index URI, resulting from pasting, in new
> file jena.spatial+text.assembler.ttl:
>
> https://github.com/jmvanel/semantic_forms/blob/m
I fixed a stupid error in text index URI, resulting from pasting, in new
file jena.spatial+text.assembler.ttl:
https://github.com/jmvanel/semantic_forms/blob/master/scala/jena.spatial%2Btext.assembler.ttl
Now, it reads:
:spatial_dataset rdf:type spatial:SpatialDataset ;
rdf:type text:T
So I tried a new file jena.spatial+text.assembler.ttl with separate Lucene
indices for spatial and text:
https://github.com/jmvanel/semantic_forms/blob/master/scala/jena.spatial%2Btext.assembler.ttl
It defines a Dataset with both Dataset types and both Lucene indices:
:spatial_dataset rdf:type
> On Dec 15, 2018, at 9:59 AM, Marco Neumann wrote:
>
>> *Question*: does that make sense to have a unique Lucene index for text and
>> space ?
>> It is possible at all? If yes, is it good in terms of disk space and
>> performance?
>> Like this:
>> <#indexLucene> a text:TextIndexLucene ;
>>
a spatial:SpatialIndexLucene ;
># etc ...
>
>
> Le jeu. 13 déc. 2018 à 11:08, Jean-Marc Vanel a
> écrit :
>
> > Hi all
> >
> > After looking the documentation,
> >
> >
> https://jena.apache.org/documentation/query/spa
mentation,
>
> https://jena.apache.org/documentation/query/spatial-query.html#building-a-spatial-index
> it is not clear which is the best way to build by program a Dataset that
> is both textual and spatial.
>
> Both functions take an argument of type Dataset and return an "augmen
Hi all
After looking the documentation,
https://jena.apache.org/documentation/query/spatial-query.html#building-a-spatial-index
it is not clear which is the best way to build by program a Dataset that is
both textual and spatial.
Both functions take an argument of type Dataset and return an
24 matches
Mail list logo