eroux commented on issue #1524:
URL: https://github.com/apache/jena/issues/1524#issuecomment-1241701141

   Is this minimal enough?
   
   ```ttl
   @prefix fuseki:  <http://jena.apache.org/fuseki#> .
   @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 tdb2:    <http://jena.apache.org/2016/tdb#> .
   @prefix ja:      <http://jena.hpl.hp.com/2005/11/Assembler#> .
   @prefix :        <http://base/#> .
   @prefix text:    <http://jena.apache.org/text#> .
   @prefix skos:    <http://www.w3.org/2004/02/skos/core#> .
   @prefix adm:     <http://purl.bdrc.io/ontology/admin/> .
   @prefix bdo:     <http://purl.bdrc.io/ontology/core/> .
   @prefix bdr:     <http://purl.bdrc.io/resource/> .
   
   
   [] rdf:type fuseki:Server ;
      fuseki:services (
        :corerw
      ) .
   
   :corerw rdf:type fuseki:Service ;
       fuseki:name                       "corerw" ;     # name of the dataset 
in the url
       fuseki:serviceQuery               "query" ;    # SPARQL query service
       fuseki:dataset                    :core_text_dataset ;
       .
   
   :core_text_dataset rdf:type     text:TextDataset ;
       text:dataset   :dataset_core ;
       text:index     :core_lucene_index ;
       .
   
   # using TDB
   :dataset_core rdf:type      tdb:DatasetTDB ;
        tdb:location "/usr/local/fuseki/base/databases/core" ;
        tdb:unionDefaultGraph true ;
        .
   
   # Text index description
   :core_lucene_index a text:TextIndexLucene ;
       text:directory <file:/usr/local/fuseki/base/lucene-core> ;
       text:storeValues true ;
       text:multilingualSupport true ;
       text:ignoreIndexErrors true ;
       text:defineAnalyzers (
           [ text:defineAnalyzer :kmUniAnalyzer ; 
             text:analyzer [ 
               a text:GenericAnalyzer ;
               text:class "io.bdrc.lucene.km.KhmerAnalyzer" ;
               text:params (
                   [ text:paramName "normalizationlevel" ;
                     text:paramValue 3 ]
                   )
               ] ; 
             ]
           [ text:addLang "km" ;
             text:searchFor ( "km" "pi-khmr" ) ;
             text:analyzer [ 
               a text:DefinedAnalyzer ; 
               text:useAnalyzer :kmUniAnalyzer ;
               ] ;
             ]
         ) ;
       .
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to