Refactor LARQ so that it becomes easy to plug in different indexes such as Solr 
or ElasticSearch instead of Lucene
------------------------------------------------------------------------------------------------------------------

                 Key: JENA-17
                 URL: https://issues.apache.org/jira/browse/JENA-17
             Project: Jena
          Issue Type: New Feature
          Components: LARQ
            Reporter: Paolo Castagna
            Priority: Minor


LARQ currently uses Lucene, we could do the same with/for Solr 
(http://lucene.apache.org/solr/) or ElasticSearch 
(http://www.elasticsearch.com/).

Examples, as proof of concept, are here:

 - https://github.com/castagna/SARQ
 - https://github.com/castagna/EARQ

In particular, have a look at IndexBuilder and IndexSearcher interfaces:

 - 
https://github.com/castagna/EARQ/blob/master/src/main/java/org/openjena/earq/IndexBuilder.java
 - 
https://github.com/castagna/EARQ/blob/master/src/main/java/org/openjena/earq/IndexSearcher.java

And implementations for Lucene, Solr and ElasticSearch in the corresponding 
packages:

 - 
https://github.com/castagna/EARQ/tree/master/src/main/java/org/openjena/earq/builders
 - 
https://github.com/castagna/EARQ/tree/master/src/main/java/org/openjena/earq/searchers

If we do this, plugging in a different index becomes very easy.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to