You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2017/06/21 10:14:12 UTC
[3/4] jena git commit: Duplicate and unused copy of text-config-es
Duplicate and unused copy of text-config-es
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/56b238d8
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/56b238d8
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/56b238d8
Branch: refs/heads/master
Commit: 56b238d873939539ebae0d76f6d506ae56f6c34e
Parents: 7e763ec
Author: Andy Seaborne <an...@apache.org>
Authored: Tue Jun 20 13:36:13 2017 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Tue Jun 20 20:55:39 2017 +0100
----------------------------------------------------------------------
jena-text/src/main/resources/text-config-es.ttl | 64 --------------------
1 file changed, 64 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/56b238d8/jena-text/src/main/resources/text-config-es.ttl
----------------------------------------------------------------------
diff --git a/jena-text/src/main/resources/text-config-es.ttl b/jena-text/src/main/resources/text-config-es.ttl
deleted file mode 100644
index 7a03384..0000000
--- a/jena-text/src/main/resources/text-config-es.ttl
+++ /dev/null
@@ -1,64 +0,0 @@
- # Licensed to the Apache Software Foundation (ASF) under one
- # or more contributor license agreements. See the NOTICE file
- # distributed with this work for additional information
- # regarding copyright ownership. The ASF licenses this file
- # to you under the Apache License, Version 2.0 (the
- # "License"); you may not use this file except in compliance
- # with the License. You may obtain a copy of the License at
- #
- # http://www.apache.org/licenses/LICENSE-2.0
- #
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an "AS IS" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
-
- ## Example of a TDB dataset and text index for ElasticSearch
-
-@prefix : <http://localhost/jena_example/#> .
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> .
-@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
-@prefix text: <http://jena.apache.org/text#> .
-
-# TDB
-[] ja:loadClass "org.apache.jena.tdb.TDB" .
-tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset .
-tdb:GraphTDB rdfs:subClassOf ja:Model .
-
-# Text
-[] ja:loadClass "org.apache.jena.query.text.TextQuery" .
-text:TextDataset rdfs:subClassOf ja:RDFDataset .
-text:TextIndexES rdfs:subClassOf text:TextIndex .
-
-## ---------------------------------------------------------------
-## This URI must be fixed - it's used to assemble the text dataset.
-
-:text_dataset rdf:type text:TextDataset ;
- text:dataset <#dataset> ;
- text:index <#indexES> ;
- .
-
-<#dataset> rdf:type tdb:DatasetTDB ;
- tdb:location "--mem--" ;
- .
-
-<#indexES> a text:TextIndexES ;
- text:serverList "127.0.0.1:9300" ; # A comma-separated list of Host:Port values of the ElasticSearch Cluster nodes.
- text:clusterName "elasticsearch" ; # Name of the ElasticSearch Cluster. If not specified defaults to 'elasticsearch'
- text:shards "1" ; # The number of shards for the index. Defaults to 1
- text:replicas "1" ; # The number of replicas for the index. Defaults to 1
- text:indexName "jena-text" ; # Name of the Index. defaults to jena-text
- text:entityMap <#entMap> ;
- .
-
-<#entMap> a text:EntityMap ;
- text:entityField "uri" ; # Defines the Document Type in the ES Index
- text:defaultField "text" ; ## Must be defined in the text:maps
- text:map (
- # rdfs:label
- [ text:field "text" ; text:predicate rdfs:label ]
- [ text:field "comment" ; text:predicate rdfs:comment ]
- ) .