[
https://issues.apache.org/jira/browse/JENA-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14259651#comment-14259651
]
ASF GitHub Bot commented on JENA-551:
-------------------------------------
GitHub user kinow opened a pull request:
https://github.com/apache/jena/pull/14
JENA-551 Inconsistency between assembler usage for tdb:location and
text:directory
This pull request changes the logic in the TextIndexLuceneAssembler#open
method, allowing literals for text:directory, mimicking the behaviour of
tdb:location.
The issue hasn't been discussed in the mailing list or in JIRA, so it is
all right if this PR is not merged.
While the fix allows directories to be created using literals, it also adds
the "special case" when a literal is equals to "mem" (so it uses a
RAMDirectory). What is not very elegant.
If this pull request looks good and gets merged, I can update the site to
reflect the changes as well.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kinow/jena JENA-551
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/14.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 #14
----
commit 37b1100c5e4368d9da50e02b6387bd55a8936f93
Author: Bruno P. Kinoshita <[email protected]>
Date: 2014-12-28T14:19:55Z
JENA-551 Allow literals for the directory statement
----
> Inconsistency between assembler usage for tdb:location and text:directory
> -------------------------------------------------------------------------
>
> Key: JENA-551
> URL: https://issues.apache.org/jira/browse/JENA-551
> Project: Apache Jena
> Issue Type: Improvement
> Components: TDB, Text
> Reporter: Andy Seaborne
> Priority: Minor
>
> http://markmail.org/message/d2nf773dg3padq25
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)