Github user amiara514 commented on the pull request:

    https://github.com/apache/jena/pull/52#issuecomment-99979270
  
    Hi,
    with the last proposal :
    1) It's now possible to set multilingual indexing via assembler 
configuration file by defining the multilingual class and using it in the index 
definition :
    ```
    [] ja:loadClass "org.apache.jena.query.text.TextQuery" .
    text:TextDataset      rdfs:subClassOf   ja:RDFDataset .
    #text:TextIndexLucene  rdfs:subClassOf   text:TextIndex .
    text:TextIndexLuceneMultilingual rdfs:subClassOf   text:TextIndex .
    
    <#indexLucene> a text:TextIndexLuceneMultilingual ;
        text:directory <file:Lucene> ;
        ##text:directory "mem" ;
        text:entityMap <#entMap> ;
        .
    ```
    This multilingual index manages all localized literals automatically with 
all Lucene localized analyzers.
    
    2) Moreover, with a default Lucene index setup, a localized analyzer can be 
specified (as for SimpleAnalyzer, KeywordAnalyzer, etc...) by this config :
    
    ```
    <#indexLucene> a text:TextIndexLucene ;
        text:directory <file:Lucene> ;
        text:entityMap <#entMap> ;
        text:queryAnalyzer [
            a text:LocalizedAnalyzer ;
            text:language "en"
        ]
        .
    ```
    
    reference for JENA-928



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to