Showing
1 changed file
with
5 additions
and
1 deletions
... | @@ -11,7 +11,11 @@ import javax.enterprise.inject.Produces; | ... | @@ -11,7 +11,11 @@ import javax.enterprise.inject.Produces; |
11 | public class SolrJConfiguration { | 11 | public class SolrJConfiguration { |
12 | 12 | ||
13 | @Produces | 13 | @Produces |
14 | - /* SolrClient injectable pour les classes en ayant besoin */ | 14 | + /* |
15 | + SolrClient injectable pour les classes en ayant besoin | ||
16 | + | ||
17 | + @return SolrClient | ||
18 | + */ | ||
15 | public SolrClient createSolrClient() { | 19 | public SolrClient createSolrClient() { |
16 | return new HttpSolrClient.Builder("http://localhost:8983/solr/publishers").build(); | 20 | return new HttpSolrClient.Builder("http://localhost:8983/solr/publishers").build(); |
17 | } | 21 | } | ... | ... |
-
Please register or login to post a comment