[
https://issues.apache.org/jira/browse/JENA-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928194#comment-15928194
]
ASF GitHub Bot commented on JENA-1305:
--------------------------------------
Github user ajs6f commented on the issue:
https://github.com/apache/jena/pull/227
@anujgandharv, the first place to look is at the actual
`jena-integration-tests` module. You will see there that the tests follow the
same form as in other Jena modules (explicitly linked together in suites and
run by `maven-surefire`). I would myself have preferred to use more usual
practices such as those to which I suppose you to be referring (tests selected
by name, `maven-failsafe` for integration tests) but at least this way is
consistent across the Jena code base.
So in order to put your tests into that module as it stands you would have
to use the Maven plugin to start an ES node before the `test` phase and stop it
afterwards. There aren't any such phases that seem particularly suitable to me,
but you could use `process-test-classes` and `prepare-package`, I suppose.
On the other hand, it might be better (I think it would be better) to put
your tests into that module and execute them with `maven-failsafe`. Then you
can use the `pre-` and `post-integration-test` phases to start and stop the ES
node, which is (to my understanding) the right and normal timing for that kind
of operation.
A last alternative would be to break that integration test module down into
submodules, one for each module being tested. That's a little more hierarchy
and structure than Jena usually uses with maven, but this might be a good place
for it.
@afs, what do you think?
> Elastic Search Support for Apache Jena Text
> --------------------------------------------
>
> Key: JENA-1305
> URL: https://issues.apache.org/jira/browse/JENA-1305
> Project: Apache Jena
> Issue Type: New Feature
> Components: Text
> Affects Versions: Jena 3.2.0
> Reporter: Anuj Kumar
> Assignee: Osma Suominen
> Labels: elasticsearch
> Original Estimate: 240h
> Remaining Estimate: 240h
>
> This Jira tracks the development of Jena Text ElasticSearch Implementation.
> The goal is to extend Jena Text capability to index, at scale, in
> ElasticSearch. This implementation would be similar to the Lucene and Solr
> implementations.
> We will use ES version 5.2.1 for the implementation.
> The following functionalities would be supported:
> * Indexing Literal values
> * Updating indexed values
> * Deleting Indexed values
> * Custom Analyzer Support
> * Configuration using Assembler as well as Java techniques.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)