Hi, On Tue, Oct 2, 2012 at 11:21 AM, Pedro Debevere <[email protected]> wrote: > However, in this constructor the value of > SpotlightConfiguration.DEFAULT_NAMESPACE (which has the value > “http://dbpedia.org/resource/”) is used instead of the value that is > configured in indexing.properties (e.g., http://nl.dbpedia.org/resource/). > Consequently, the resources in the typesMap remain their full length. This > causes the type info to not be included in the index because the index has, > until this point, properly removed the common URL part.
The problem, I think, is that the i18n stuff is still in the phase of transition. Devs, here is what I'd like to do: In the config, rename org.dbpedia.spotlight.default_namespace to org.dbpedia.spotlight.resource_namespace and rename org.dbpedia.spotlight.default_ontology to org.dbpedia.spotlight.ontology_namespace. Rename getDbpediaResource and getDbpediaOntology to getDbpediaResourceNamespace and getDbpediaOntologyNamespace. They are not used yet. Search for SpotlightConfiguration.DEFAULT_NAMESPACE and SpotlightConfiguration.DEFAULT_ONTOLOGY_PREFIX and replace with getDbpediaResourceNamespace and getDbpediaOntologyNamespace. Objections? Cheers, Max ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Dbp-spotlight-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
