You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/29 15:21:00 UTC

[jira] [Commented] (JENA-1438) rdf:langString argument to text:query silently ignored

    [ https://issues.apache.org/jira/browse/JENA-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270927#comment-16270927 ] 

ASF GitHub Bot commented on JENA-1438:
--------------------------------------

GitHub user xristy opened a pull request:

    https://github.com/apache/jena/pull/319

    Jena 1441 tracing

    Opening new to not include JENA-1438 related commit.
    
    This adds tracing in TextQueryPF and TextIndexLucene to track calls to exec and subsequent processing as well as the add, update and delete of Lucene documents.
    
    Also adds configuration item text:cacheQueries on text:TextIndexLucene which allows to bypass use of the queryCache in TextQueryPF.query(...) during development. This configuration item is not for general use and need not be documented further. text:cacheQueries defaults to true so there is no net change in the behavior of jena-text.
    
    There is also tidying of code to use doc.get() rather than doc.getValues() followed by vals[0] in TextLuceneIndex.query$.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/BuddhistDigitalResourceCenter/jena JENA-1441-tracing

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/319.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #319
    
----
commit 7b016291a17cdcabb1cf7222094e1f00344ddf15
Author: Chris Tomlinson <ct...@moonvine.org>
Date:   2017-11-19T17:48:42Z

    added config for using text cache; added debug log for Lucene docs

commit e2d6b89e369530a1c53d4579d500daa135439ab8
Author: Chris Tomlinson <ct...@moonvine.org>
Date:   2017-11-24T22:09:41Z

    Merge remote-tracking branch 'upstream/master' into highlighting

commit e14457115e638b33dcd8923f22c2ff3655309ab0
Author: Chris Tomlinson <ct...@moonvine.org>
Date:   2017-11-25T00:22:58Z

    use get vs getValues in query$; log trace for Lucene dev

commit 5e95a09eccaf7f8fa5ec659bebde83cdf8398163
Author: Chris Tomlinson <ct...@moonvine.org>
Date:   2017-11-26T16:19:11Z

    Merge remote-tracking branch 'upstream/master' into highlighting

commit d98b096620ef09d115f745c9ecd1359d0a62c83e
Author: Chris Tomlinson <ct...@moonvine.org>
Date:   2017-11-28T17:52:50Z

    Merge branch 'master' of https://github.com/apache/jena into highlighting

commit 452b3838aee02da4983e8df8c6b33c504e7c3f5a
Author: Chris Tomlinson <ct...@moonvine.org>
Date:   2017-11-28T17:57:16Z

    added tracing exec, etc for development

commit dbbca204e5a4f7510bb6f667eac7105c28c2ff3e
Author: Chris Tomlinson <ct...@moonvine.org>
Date:   2017-11-28T22:38:05Z

    Merge branch 'master' of https://github.com/apache/jena into highlighting

----


> rdf:langString argument to text:query silently ignored
> ------------------------------------------------------
>
>                 Key: JENA-1438
>                 URL: https://issues.apache.org/jira/browse/JENA-1438
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>    Affects Versions: Jena 3.5.0
>         Environment: N/A
>            Reporter: Code Ferret
>            Priority: Minor
>
> Queries of the form:
>     {{?s text:query "some string"@lang-code}}
> return no results even when there are matches found by the _equivalent_:
>     {{?s text:query ("some string" "lang:lang-code")}}
> {quote}
> Note the above _equivalent_ form is currently valid only if 
>     {{text:multilingualSupport false}}.
> {quote} See [JENA-1437|https://issues.apache.org/jira/browse/JENA-1437]
> A reasonable fix is to recognize the {{rdf:langString}} case and treat it as the _equivalent_ form referring to the {{text:defautlField}}; otherwise, at least an error should be indicated.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)