You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Code Ferret (JIRA)" <ji...@apache.org> on 2018/12/04 21:18:00 UTC

[jira] [Created] (JENA-1646) allow optional non-indexing of text:field

Code Ferret created JENA-1646:
---------------------------------

             Summary: allow optional non-indexing of text:field
                 Key: JENA-1646
                 URL: https://issues.apache.org/jira/browse/JENA-1646
             Project: Apache Jena
          Issue Type: Improvement
          Components: Jena
    Affects Versions: Jena 3.9.0
            Reporter: Code Ferret
            Assignee: Code Ferret
             Fix For: Jena 3.10.0


When using the Multilingual support, the field to search is generally the {{text:field}} with an appended {{text:lang}} field value:
{code:java}
    altLabel_fr
{code}
In this usage, if queries are never performed against the {{text:field}} without a _language tag_ then some space and time can be saved by not indexing the {{text:field}} and this improvement adds a boolean option, {{text:noIndex}}, that is used in the {{text:map}} entries for those entries that should not have their {{text:field}} indexed. This only makes sense in the context of {{text:multilingualSupport true}} in the {{TextIndex}}.

A pull request is available.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)