I could not manage to get multiple properties indexed in one index. If, in
config-tdb-text.ttl (#31), I change
text:map (
# rdfs:label
[ text:field "text" ; text:predicate rdfs:label ]
+ # dc:title
+ [ text:field "text" ; text:predicate dc:title ]
) .
the titles in books.ttl get indexed. However, if I change it to
text:map (
+ # dc:title
+ [ text:field "text" ; text:predicate dc:title ]
# rdfs:label
[ text:field "text" ; text:predicate rdfs:label ]
) .
I get
textindexer :: 0 (0 per second)properties indexed
so obviously only the last statement take effect. Changing the whole thing to
text:map (
[ text:field "text" ; text:predicate dc:title, rdfs:label ]
) .
did not help either.
I suppose that the prior syntax worked once because of an example in
https://code.google.com/p/onki-light/wiki/InstallFusekiJenaText
Is there another way to index multiple properties into one index?
Cheers, Joachim