GitHub user amiara514 opened a pull request:

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

    jena-text multilingual indexing (take 2)

    Hi,
    This version allows usage of localized Lucene indexes (in jena-text).
    All existing Lucene languages analyzers are taken into account.
    
    2 new cases in TextDatasetFactory :
    - createLuceneFromLanguage : creation of lucene index with the associated 
Lucene analyzer.
    - createLuceneMultilingual : creation of a dynamic multilingual index 
(collection of localized lucene index) depending on triple's literals languages.
    
    
    On SPARQL side, the pattern is :
    
    ?uri text:query (property 'query' ['lang:language']) ; query is dispatched 
to the right Lucene index. 
    
    Note 1: If the 'lang' arg is not present, it's the same default existing 
case.
    Note 2 : for the moment, the 'lang' argument is not managed with ?limit and 
?score variables but works if they are not present.


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

    $ git pull https://github.com/LICEF/jena upstream/jena-text-multilingual

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

    https://github.com/apache/jena/pull/52.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 #52
    
----
commit 5e4e1c1432f44151356fe25cc44c87e0085c1873
Author: Alexis Miara <[email protected]>
Date:   2015-04-21T18:19:32Z

    change on pom.xml to have local groupId

commit d3f21853c0d0556ad95ae06c393fb8a8619feb35
Author: Alexis Miara <[email protected]>
Date:   2015-04-22T18:55:58Z

    Introducing Lucene multilingual index

commit abdc602fe505167562b7ce9218433bf7c99f2f9e
Author: Alexis Miara <[email protected]>
Date:   2015-04-21T18:19:32Z

    change on pom.xml to have local groupId

commit a88b6e47a8ab0d595a1a7077f46fd8396ae3e89d
Author: Alexis Miara <[email protected]>
Date:   2015-04-22T18:55:58Z

    Introducing Lucene multilingual index

commit ad87c035d841243dfc972d2b77770e220f207ed5
Author: Alexis Miara <[email protected]>
Date:   2015-04-22T19:07:09Z

    Merge branch 'upstream/jena-text-multilingual' of github.com:LICEF/jena 
into upstream/jena-text-multilingual

commit a125642e1f6bd8e9ec732784d897df6c4e7cd28c
Author: Alexis Miara <[email protected]>
Date:   2015-04-22T19:44:31Z

    original pom.xml

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to