On 16/01/2019 12:50, Mikael Pesonen wrote:
Hi,
I'm trying to get text search work. Sparql REGEX takes few seconds to
finish so hoping this would be faster. Application is term search using
SKOS ontology.
First tested if it's enabled by default
?concept text:query (skos:prefLabel "medi") .
?concept skos:prefLabel ?prefLabel
That returns all concepts so I guess it's not enabled.
If it returns all concepts, the first line matched (otherwise you get
none). If so, there is a text index and "medi" (case insensitive)
matches Lucene rules, everything.
Then copied Text Dataset Assembler from
https://jena.apache.org/documentation/query/text-query.html#configuration into
apache-jena-fuseki-3.9.0/run/configuration
With that fuseki start fails:
Jan 16 14:40:03 semantic-dev java[17961]: [2019-01-16 14:40:03]
WebAppContext WARN Failed startup of context
o.e.j.w.WebAppContext@4159e81b{Apache Jena Fuseki
Server,/,file:///home/text/tools/apache-jena-fuseki-3.9.0/webapp/,UNAVAILABLE}
Looks like it can't find the UI code.
Is file:///home/text/tools/apache-jena-fuseki-3.9.0 correct?
Jan 16 14:40:03 semantic-dev java[17961]: at
org.apache.jena.fuseki.build.FusekiConfig.readAssemblerFile(FusekiConfig.java:148)
Jan 16 14:40:03 semantic-dev java[17961]: at
org.apache.jena.fuseki.build.FusekiConfig.readConfigurationDirectory(FusekiConfig.java:178)
Jan 16 14:40:03 semantic-dev java[17961]: at
org.apache.jena.fuseki.webapp.FusekiSystem.initializeDataAccessPoints(FusekiSystem.java:226)
Jan 16 14:40:03 semantic-dev java[17961]: at
org.apache.jena.fuseki.webapp.FusekiServerListener.serverInitialization(FusekiServerListener.java:98)
Jan 16 14:40:03 semantic-dev java[17961]: at
org.apache.jena.fuseki.webapp.FusekiServerListener.contextInitialized(FusekiServerListener.java:56)
Jan 16 14:40:03 semantic-dev java[17961]: at
org.apache.jena.fuseki.cmd.JettyFuseki.start(JettyFuseki.java:138)
Jan 16 14:40:03 semantic-dev java[17961]: at
org.apache.jena.fuseki.cmd.FusekiCmd.runFuseki(FusekiCmd.java:372)
Jan 16 14:40:03 semantic-dev java[17961]: at
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.exec(FusekiCmd.java:356)
Jan 16 14:40:03 semantic-dev java[17961]: at
org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiCmd.java:104)
Jan 16 14:40:03 semantic-dev java[17961]: at
org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)
Otherwise all settings are default. Any tips what to try next?